結果
問題 | No.3010 水色コーダーさん |
ユーザー |
|
提出日時 | 2025-01-25 18:41:29 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 108 ms / 2,000 ms |
コード長 | 341 bytes |
コンパイル時間 | 3,137 ms |
コンパイル使用メモリ | 272,796 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2025-01-26 00:00:57 |
合計ジャッジ時間 | 6,036 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge6 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
#include <bits/stdc++.h> using namespace std; using ll = long long; int N, M; int main() { cin>>N>>M; int ans=0; while(N--) { string S; int r; cin>>S>>r; if(r < 1200) continue; bool ok=true; for(int i=0; i<4; i++)if(S[i]=='x')ok=false; if(!ok) ans++; } cout<<ans<<endl; }