結果

提出番号 773
提出者 Siri
言語 C++
提出日時 2017-08-01 14:34:07
問題名 (26)たくさんの大きな栗の木の下で
結果 AC
点数 100%

テストケース

テストケース 結果 得点 実行時間 メモリ使用量
1 AC 100% 22ms 7696KB
2 AC 100% 12ms 7968KB
3 AC 100% 2ms 8336KB
4 AC 100% 21ms 7680KB
5 AC 100% 24ms 8304KB

ソースコード

#include<iostream>
#include<list>
#include<climits>
#include<string>
#include<algorithm>
#include<functional>

using namespace std;

long long int o, k, n, h[100001], x = 0;

int main() {
	cin >> o >> k >> n;
	for (int i = 1; i <= n; i++) {
		cin >> h[i];
		if (h[i] > o && h[i] > k) {
			x++;
		}
	}
	cout << x << endl;
	return 0;
}