結果
問題 | No.3010 水色コーダーさん |
ユーザー |
|
提出日時 | 2025-01-25 12:33:31 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 113 ms / 2,000 ms |
コード長 | 579 bytes |
コンパイル時間 | 3,926 ms |
コンパイル使用メモリ | 251,556 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2025-01-25 22:04:04 |
合計ジャッジ時間 | 6,857 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge10 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
#include <bits/stdc++.h> #include <atcoder/all> using namespace std; using namespace atcoder; #define rep(i, n) for (int i = 0; i < (int)(n); i++) template <typename T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; } template <typename T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; } int main() { int N,M; cin >> N >> M; int res = 0; rep(i,N){ int r; string s; cin >> s >> r; if(r >= 1200 && s.substr(0,4) != "oooo")res++; } cout << res << endl; }