結果
| 問題 | No.3010 水色コーダーさん |
| コンテスト | |
| ユーザー |
glarand
|
| 提出日時 | 2025-01-25 12:35:07 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 531 bytes |
| 記録 | |
| コンパイル時間 | 512 ms |
| コンパイル使用メモリ | 82,920 KB |
| 実行使用メモリ | 97,676 KB |
| 最終ジャッジ日時 | 2025-01-25 22:04:43 |
| 合計ジャッジ時間 | 5,670 ms |
|
ジャッジサーバーID (参考情報) |
judge9 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | WA * 20 |
ソースコード
import os
MyPC = os.path.basename(__file__) != "Main.py"
if MyPC:
from icecream import ic
ic.disable()
else:
def ic(*args):
return None
ic.enable() if MyPC else None
def main():
n, m = map(int, input().split())
r, s = [], []
for _ in range(n):
a, b = input().split()
r.append(a)
s.append(int(b))
count = 0
for i in range(n):
if s[i] >= 1200:
if 'x' in r[i]:
count += 1
print(count-1)
if __name__ == "__main__":
main()
glarand