結果

問題 No.3010 水色コーダーさん
ユーザー gk9801
提出日時 2025-01-25 12:34:10
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 103 ms / 2,000 ms
コード長 428 bytes
コンパイル時間 1,420 ms
コンパイル使用メモリ 161,260 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2025-01-25 22:04:21
合計ジャッジ時間 4,015 ms
ジャッジサーバーID
(参考情報)
judge6 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;
#define rep(i, n) for(int i = 0; i < (n); ++i)
using ll = long long;

int main(){
    ll n, m;
    cin >> n >> m;
    int ans = 0;
    rep(i, n){
        string s; ll rate;
        cin >> s >> rate;
        if(rate < 1200) continue;
        rep(j, 4){
            if(s[j] == 'x'){
                ans++;
                break;
            }
        }
    }
    cout << ans << endl;
}
0