結果
| 問題 | No.3010 水色コーダーさん |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-01-25 12:31:48 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 442 bytes |
| 記録 | |
| コンパイル時間 | 4,149 ms |
| コンパイル使用メモリ | 193,092 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2025-01-25 22:02:43 |
| 合計ジャッジ時間 | 6,488 ms |
|
ジャッジサーバーID (参考情報) |
judge10 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 2 |
| other | WA * 20 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(){
ios::sync_with_stdio(false);
cin.tie(0);
int n, m;
cin >> n >> m;
int ans = 0;
for(int i = 0; i < n; i++){
int r;
string s;
cin >> r >> s;
if(r < 1200) continue;
int cnt = 0;
for(int j = 0; j < 4 && j < m; j++){
cnt += s[j] == 'x';
}
ans += cnt >= 1;
}
cout << ans << '\n';
}