結果
| 問題 |
No.3010 水色コーダーさん
|
| コンテスト | |
| ユーザー |
北杜
|
| 提出日時 | 2025-09-06 12:27:20 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 145 ms / 2,000 ms |
| コード長 | 577 bytes |
| コンパイル時間 | 3,641 ms |
| コンパイル使用メモリ | 314,624 KB |
| 実行使用メモリ | 7,716 KB |
| 最終ジャッジ日時 | 2025-09-06 12:27:27 |
| 合計ジャッジ時間 | 7,303 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (ll)(n); i++)
#define all(a) (a).begin(), (a).end()
using ll = long long;
const int INF32 = 2e9;
const ll INF64 = 4e18;
int main() {
int N, M, ans = 0;
cin >> N >> M;
for (int i = 0; i < N; i++) {
string Si;
int Ri;
cin >> Si >> Ri;
for (int j = 0; j < 4; j++) {
if (Si[j] != 'o' && Ri >= 1200) {
ans++;
break;
}
}
}
cout << ans << endl;
return 0;
}
北杜