結果
問題 | No.3010 水色コーダーさん |
ユーザー |
|
提出日時 | 2025-01-25 12:37:52 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 139 ms / 2,000 ms |
コード長 | 301 bytes |
コンパイル時間 | 1,446 ms |
コンパイル使用メモリ | 162,360 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2025-01-25 22:06:03 |
合計ジャッジ時間 | 4,581 ms |
ジャッジサーバーID (参考情報) |
judge9 / judge8 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
#include<bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) int main(){ int n,m; cin>>n>>m; int num=0; rep(i,n){ string s; int r; cin>>s>>r; if (r>=1200 && (s[0]=='x' || s[1]=='x' || s[2]=='x' || s[3]=='x')) num++; } cout<<num<<endl; }