結果

問題 No.3010 水色コーダーさん
コンテスト
ユーザー ゆにたりー卿
提出日時 2025-01-19 18:22:34
言語 PyPy3
(7.3.17)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
AC  
実行時間 204 ms / 2,000 ms
コード長 384 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 155 ms
コンパイル使用メモリ 85,088 KB
実行使用メモリ 81,280 KB
最終ジャッジ日時 2026-06-23 19:42:13
合計ジャッジ時間 4,933 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge3_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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)
0