結果
問題 |
No.24 数当てゲーム
|
ユーザー |
![]() |
提出日時 | 2017-11-04 16:03:28 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 579 bytes |
コンパイル時間 | 89 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-11-23 17:55:04 |
合計ジャッジ時間 | 970 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 8 RE * 2 |
ソースコード
n = int(input()) org_list = list('123456789') for i in range(n): inputed_list = list(input().split()) if inputed_list[-1] == 'NO': for i in range(len(inputed_list) - 1): if inputed_list[i] in org_list: org_list.remove(inputed_list[i]) else: tmp_list = list('123456789') for i in range(len(inputed_list) - 1): if inputed_list[i] in tmp_list: tmp_list.remove(inputed_list[i]) for e in tmp_list: if e in org_list: org_list.remove(e) print(org_list[0])