結果

問題 No.3010 水色コーダーさん
ユーザー しょうゆ団子
提出日時 2025-01-25 16:46:40
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 122 ms / 2,000 ms
コード長 298 bytes
コンパイル時間 2,894 ms
コンパイル使用メモリ 273,880 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2025-01-25 23:54:52
合計ジャッジ時間 6,166 ms
ジャッジサーバーID
(参考情報)
judge6 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

int main() {
    int N, M;
    cin >> N >> M;
    int ans = 0;
    while (N--) {
        string S;
        cin >> S;
        int R;
        cin >> R;
        ans += S.substr(0, 4) != "oooo" && R >= 1200;
    }
    cout << ans << endl;
    return 0;
}
0