結果

問題 No.3010 水色コーダーさん
ユーザー sai
提出日時 2025-01-25 13:00:53
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 27 ms / 2,000 ms
コード長 295 bytes
コンパイル時間 3,053 ms
コンパイル使用メモリ 273,600 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2025-01-25 22:29:44
合計ジャッジ時間 4,862 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

int main() {
  std::ios::sync_with_stdio(false);
  std::cin.tie(nullptr);
  int N, M; std::cin >> N >> M;
  int ans = 0;
  for (;N--;) {
    std::string S; int R; std::cin >> S >> R;
    ans += (R >= 1200 && S.substr(0, 4) != "oooo");
  }
  std::cout << ans << '\n';
}
0