結果

問題 No.24 数当てゲーム
ユーザー nebukuro09nebukuro09
提出日時 2016-09-05 16:04:40
言語 Python2
(2.7.18)
結果
RE  
実行時間 -
コード長 226 bytes
コンパイル時間 77 ms
コンパイル使用メモリ 6,944 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-04-27 16:40:16
合計ジャッジ時間 667 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

s = [str(i) for i in range(1, 10)]
for i in range(input()):
    a = raw_input().split()
    b = a[:4]
    c = [str(j) for j in range(1,10) if not j in b] if a[4]=='YES' else b
    s = filter(lambda x:x not in c, s)
print s[0]
0