結果
問題 |
No.3010 水色コーダーさん
|
ユーザー |
![]() |
提出日時 | 2025-01-26 22:40:30 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 115 ms / 2,000 ms |
コード長 | 439 bytes |
コンパイル時間 | 579 ms |
コンパイル使用メモリ | 62,184 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2025-01-26 22:40:34 |
合計ジャッジ時間 | 3,855 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
#include<iostream> using namespace std; int main(){ int n,m; cin >> n >> m; string s; int r; int ans = 0; for(int i = 0; i < n; i++){ cin >> s >> r; int flag = 0; for(int i = 0; i < 4; i++){ if(s[i] == 'x')flag = 1; } if(flag && r >= 1200)ans++; } cout << ans << endl; }