結果
問題 | No.3010 水色コーダーさん |
ユーザー |
![]() |
提出日時 | 2025-01-25 12:32:08 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 28 ms / 2,000 ms |
コード長 | 594 bytes |
コンパイル時間 | 2,803 ms |
コンパイル使用メモリ | 132,564 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2025-01-25 22:02:49 |
合計ジャッジ時間 | 4,751 ms |
ジャッジサーバーID (参考情報) |
judge6 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
#include <iostream> #include <vector> #include <algorithm> #include <atcoder/all> using namespace std; using namespace atcoder; using ll = long long; using mint = modint998244353; #define rep(i, n) for (int i = 0; i< (int)(n); i++) int main(){ ios::sync_with_stdio(false); std::cin.tie(nullptr); int n, m; cin >> n >> m; int ans = 0; rep(i, n){ string s; int r; cin >> s >> r; if(r < 1200)continue; bool f = false; rep(j, 4){ if(s[j] == 'x')f = true; } if(f)ans++; } cout << ans << endl; return 0; }