結果

問題 No.3010 水色コーダーさん
ユーザー ooaiu
提出日時 2025-02-01 20:26:34
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 32 ms / 2,000 ms
コード長 398 bytes
コンパイル時間 3,981 ms
コンパイル使用メモリ 273,456 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2025-02-01 20:26:40
合計ジャッジ時間 5,522 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
int main() {
    std::ios::sync_with_stdio(false);
    std::cin.tie(nullptr);
    int N, M;
    cin >> N >> M;
    int ans = 0;
    while(N--) {
        string S;
        int R;
        cin >> S >> R;
        bool f = false;
        for(int i = 0; i < 4; i++) if(S[i] == 'x') f = true;
        if(f && R >= 1200) ans++;
    }
    cout << ans << '\n';
}
0