結果
| 問題 |
No.3010 水色コーダーさん
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-01-28 23:24:38 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 132 ms / 2,000 ms |
| コード長 | 523 bytes |
| コンパイル時間 | 2,471 ms |
| コンパイル使用メモリ | 163,296 KB |
| 実行使用メモリ | 10,140 KB |
| 最終ジャッジ日時 | 2025-01-28 23:24:46 |
| 合計ジャッジ時間 | 6,258 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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;
using ull = unsigned long long;
int main() {
int n, m;
cin >> n >> m;
vector<string> s(n);
vector<int> r(n);
rep(i, n) cin >> s[i] >> r[i];
int ans = 0;
rep(i, n) {
if(r[i] < 1200) continue;
bool flg = false;
rep(j, 4) {
if(s[i][j] == 'x') flg = true;
}
if(flg) ans++;
}
cout << ans << endl;
return 0;
}