結果

問題 No.3010 水色コーダーさん
ユーザー detteiuu
提出日時 2025-01-25 12:32:20
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 252 ms / 2,000 ms
コード長 273 bytes
コンパイル時間 378 ms
コンパイル使用メモリ 82,592 KB
実行使用メモリ 108,620 KB
最終ジャッジ日時 2025-01-25 22:02:59
合計ジャッジ時間 6,217 ms
ジャッジサーバーID
(参考情報)
judge7 / judge10
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

N, M = map(int, input().split())
SR = [list(input().split()) for _ in range(N)]

ans = 0
for S, R in SR:
    R = int(R)
    if R < 1200:
        continue
    cnt = 0
    for s in S[:4]:
        if s == "x":
            cnt += 1
    if 1 <= cnt:
        ans += 1

print(ans)
0