結果

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

テストケース

テストケース 結果 得点 実行時間 メモリ使用量
1 AC 100% 24ms 7424KB
2 AC 100% 21ms 7952KB
3 AC 100% 2ms 8336KB
4 AC 100% 23ms 7984KB
5 AC 100% 23ms 7968KB

ソースコード

#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <queue>
#include <stack>
#include <map>
#include <algorithm>
#include <sstream>
#include <cmath>
#include <set>
#include <iomanip>
#include <deque>
#include <stdio.h>
#include <random>
using namespace std;
 
#define REP(i,n) for(int (i)=0;(i)<(int)(n);(i)++)
#define RREP(i,n) for(int (i)=(int)(n)-1;i>=0;i--)
#define REMOVE(Itr,n) (Itr).erase(remove((Itr).begin(),(Itr).end(),n),(Itr).end())
typedef long long ll;

int main() {
    

    ll O,K,N; cin >> O >> K >> N;
    ll ans = 0;

    REP(i,N) {
        ll t; cin >> t;
        if (t > max(O,K)) ans++;
    }

    cout << ans << endl;

    return 0;
}