結果
問題 |
No.3010 水色コーダーさん
|
ユーザー |
|
提出日時 | 2025-01-25 14:24:12 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 253 bytes |
コンパイル時間 | 1,124 ms |
コンパイル使用メモリ | 59,392 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2025-01-25 23:17:55 |
合計ジャッジ時間 | 2,000 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge8 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | WA * 20 |
ソースコード
#include<iostream> using namespace std; #define rep(i,n) for(int i=0;i<(i);++i) int main(){ int N,M; cin>>N>>M; int ans=0; rep(i,N){ string s; int r; cin>>s>>r; rep(j,4) if(s[j]=='x'&&r>=1200){ ans++; break; } } cout<<ans<<endl; }