結果
問題 | No.24 数当てゲーム |
ユーザー |
![]() |
提出日時 | 2017-11-04 16:04:02 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 29 ms / 5,000 ms |
コード長 | 581 bytes |
コンパイル時間 | 88 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-11-23 17:55:05 |
合計ジャッジ時間 | 883 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 |
ソースコード
n = int(input())org_list = list('0123456789')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('0123456789')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])