結果
問題 | No.3010 水色コーダーさん |
ユーザー |
|
提出日時 | 2025-01-25 12:58:14 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 28 ms / 2,000 ms |
コード長 | 317 bytes |
コンパイル時間 | 1,606 ms |
コンパイル使用メモリ | 60,672 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2025-01-25 22:27:42 |
合計ジャッジ時間 | 2,448 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge11 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
#include<iostream> #include<cassert> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int N,M; cin>>N>>M; int cnt=0; for(;N--;) { string s;int r;cin>>s>>r; if(r>=1200) { bool fn=false; for(int j=0;j<4;j++)if(s[j]=='x')fn=true; cnt+=fn; } } cout<<cnt<<endl; }