結果
問題 |
No.3010 水色コーダーさん
|
ユーザー |
![]() |
提出日時 | 2025-04-01 23:13:32 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 113 ms / 2,000 ms |
コード長 | 415 bytes |
コンパイル時間 | 3,258 ms |
コンパイル使用メモリ | 273,640 KB |
実行使用メモリ | 7,720 KB |
最終ジャッジ日時 | 2025-04-01 23:13:51 |
合計ジャッジ時間 | 7,692 ms |
ジャッジサーバーID (参考情報) |
judge6 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { int n, m; cin >> n >> m; int ans = 0; for (int i = 0; i < n; i++) { string s; int r; cin >> s >> r; if (r < 1200) continue; bool ok = false; for (int j = 0; j < 4; j++) { if (s[j] == 'x') ok = true; } if (ok) ans++; } cout << ans << endl; return 0; }