結果
問題 | No.3010 水色コーダーさん |
ユーザー |
![]() |
提出日時 | 2025-02-03 15:18:38 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 132 ms / 2,000 ms |
コード長 | 346 bytes |
コンパイル時間 | 3,377 ms |
コンパイル使用メモリ | 160,520 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2025-02-03 15:18:46 |
合計ジャッジ時間 | 6,104 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for( int i = 0; i < n; i++ ) using ll = long long; int main() { int N, M; cin >> N >> M; int ans = 0; rep(i, N) { string s; int r; cin >> s >> r; if(r < 1200) continue; int f = 0; rep(j, 4) { if(s[j] == 'x') f = 1; } if(f) ans++; } cout << ans << endl; }