結果
問題 |
No.24 数当てゲーム
|
ユーザー |
|
提出日時 | 2023-09-05 21:11:23 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 345 bytes |
コンパイル時間 | 351 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-06-23 16:33:47 |
合計ジャッジ時間 | 1,173 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 5 WA * 5 |
ソースコード
N = int(input()) number_list = list(range(10)) if 2 <= N <= 6: for i in range(N): *numbers, answer = input().split() numbers = [int(num) for num in numbers] if answer == "NO": for num in numbers: if num in number_list: number_list.remove(num) print(number_list[0])