結果
問題 | No.24 数当てゲーム |
ユーザー | kohei2019 |
提出日時 | 2021-02-10 12:03:41 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 77 ms / 5,000 ms |
コード長 | 359 bytes |
コンパイル時間 | 938 ms |
コンパイル使用メモリ | 86,716 KB |
実行使用メモリ | 71,272 KB |
最終ジャッジ日時 | 2023-09-22 05:44:29 |
合計ジャッジ時間 | 2,620 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 77 ms
71,268 KB |
testcase_01 | AC | 75 ms
71,104 KB |
testcase_02 | AC | 76 ms
71,112 KB |
testcase_03 | AC | 75 ms
71,272 KB |
testcase_04 | AC | 75 ms
71,108 KB |
testcase_05 | AC | 73 ms
71,032 KB |
testcase_06 | AC | 73 ms
71,252 KB |
testcase_07 | AC | 73 ms
71,268 KB |
testcase_08 | AC | 73 ms
71,248 KB |
testcase_09 | AC | 76 ms
71,040 KB |
ソースコード
N = int(input()) ans = [True]*(10) for i in range(N): ls = list(map(str,input().split())) if ls[-1] == 'NO': for j in range(4): ans[int(ls[j])] = False else: lsall = list(range(10)) for j in range(4): lsall.remove(int(ls[j])) for k in lsall: ans[k] = False print(ans.index(True))