結果
問題 | No.3010 水色コーダーさん |
ユーザー |
|
提出日時 | 2025-01-25 14:27:07 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 116 ms / 2,000 ms |
コード長 | 253 bytes |
コンパイル時間 | 651 ms |
コンパイル使用メモリ | 62,400 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2025-01-25 23:21:08 |
合計ジャッジ時間 | 3,713 ms |
ジャッジサーバーID (参考情報) |
judge7 / judge10 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
#include<iostream> using namespace std; #define rep(i,n) for(int i=0;i<(n);++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; }