結果

問題 No.3010 水色コーダーさん
ユーザー じきお。
提出日時 2025-01-25 12:59:06
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 30 ms / 2,000 ms
コード長 540 bytes
コンパイル時間 3,187 ms
コンパイル使用メモリ 277,224 KB
実行使用メモリ 10,240 KB
最終ジャッジ日時 2025-01-25 22:28:48
合計ジャッジ時間 4,488 ms
ジャッジサーバーID
(参考情報)
judge10 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
using ll = long long;

#ifdef LOCAL
#include <debug.hpp>
#else
#define debug(...)
#endif

int main() {
    cin.tie(nullptr);
    ios::sync_with_stdio(false);
    cout << fixed << setprecision(20);
    int N, M;
    cin >> N >> M;
    vector<string> S(N);
    vector<int> R(N);
    for (int i = 0; i < N; i++) cin >> S[i] >> R[i];

    int ans = 0;
    for (int i = 0; i < N; i++) {
        if (count(S[i].begin(), S[i].begin() + 4, 'x') && R[i] >= 1200) ans++;
    }

    cout << ans << "\n";
}
0