結果

問題 No.3010 水色コーダーさん
ユーザー YU Hirose
提出日時 2025-02-01 16:37:10
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 265 ms / 2,000 ms
コード長 297 bytes
コンパイル時間 409 ms
コンパイル使用メモリ 82,792 KB
実行使用メモリ 77,272 KB
最終ジャッジ日時 2025-02-01 16:37:19
合計ジャッジ時間 8,783 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

n, m = map(int, input().split())
cnt = 0
for _ in range(n):
    s, r = input().split()
    r = int(r)
    flag = []
    for i in range(4):
        if s[i] == "x":
            flag.append(True)
        else:
            flag.append(False)
    if r >= 1200 and any(flag):
        cnt += 1
print(cnt)
0