結果
問題 | No.24 数当てゲーム |
ユーザー | gorugo30 |
提出日時 | 2021-02-22 19:44:49 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 40 ms / 5,000 ms |
コード長 | 296 bytes |
コンパイル時間 | 251 ms |
コンパイル使用メモリ | 82,276 KB |
実行使用メモリ | 52,096 KB |
最終ジャッジ日時 | 2024-09-21 15:30:18 |
合計ジャッジ時間 | 1,296 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 |
ソースコード
N = int(input()) can = [0] * 10 for i in range(N): a, b, c, d, r = input().split() g = list(map(int, [a, b, c, d])) if r == "NO": for x in g: can[x] = 1 else: for j in range(10): if j not in g: can[j] = 1 print(can.index(0))