結果

問題 No.3010 水色コーダーさん
コンテスト
ユーザー iastm
提出日時 2025-06-29 12:54:07
言語 C++23
(gcc 15.2.0 + boost 1.90.0)
コンパイル:
g++-15 -O2 -lm -std=c++23 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_
実行:
./a.out
結果
AC  
実行時間 71 ms / 2,000 ms
+ 631µs
コード長 313 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 899 ms
コンパイル使用メモリ 150,624 KB
実行使用メモリ 5,888 KB
最終ジャッジ日時 2026-07-12 23:08:39
合計ジャッジ時間 4,468 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#include <iostream>
#include <string>

int main() {
    int N, M;
    std::cin >> N >> M;
    int count = 0;
    while (N--) {
        std::string S;
        int R;
        std::cin >> S >> R;
        S = S.substr(0, 4);
        count += R >= 1200 && S.find('x') < 4;
    }
    std::cout << count << std::endl;
}
0