結果
問題 |
No.3010 水色コーダーさん
|
ユーザー |
|
提出日時 | 2025-01-25 14:23:32 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 244 bytes |
コンパイル時間 | 871 ms |
コンパイル使用メモリ | 77,332 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2025-01-25 23:17:55 |
合計ジャッジ時間 | 2,144 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge9 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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'){ ans++; break; } } cout<<ans<<endl; }