結果
問題 |
No.3010 水色コーダーさん
|
ユーザー |
![]() |
提出日時 | 2025-01-19 18:22:34 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 275 ms / 2,000 ms |
コード長 | 384 bytes |
コンパイル時間 | 282 ms |
コンパイル使用メモリ | 82,356 KB |
実行使用メモリ | 76,764 KB |
最終ジャッジ日時 | 2025-01-25 21:59:13 |
合計ジャッジ時間 | 6,606 ms |
ジャッジサーバーID (参考情報) |
judge6 / judge9 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
N, M = map(int, input().split()) assert(1 <= N <= 2 * (10 ** 5)) assert(4 <= M <= 10) ans = 0 for _ in range(N): result, rating = input().split() assert(len(result) == M) assert(set(result) == {'o','x'} or set(result) == {'o'} or set(result) == {'x'}) assert(0 <= int(rating) <= 5000) if result[:4] != "oooo" and int(rating) >= 1200: ans += 1 print(ans)