結果

問題 No.24 数当てゲーム
ユーザー polygon283polygon283
提出日時 2023-09-05 21:11:23
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 345 bytes
コンパイル時間 226 ms
コンパイル使用メモリ 10,720 KB
実行使用メモリ 7,988 KB
最終ジャッジ日時 2023-09-05 21:11:25
合計ジャッジ時間 952 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,832 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 16 ms
7,856 KB
testcase_05 AC 16 ms
7,808 KB
testcase_06 WA -
testcase_07 AC 16 ms
7,916 KB
testcase_08 WA -
testcase_09 AC 16 ms
7,788 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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])
0