結果

問題 No.24 数当てゲーム
ユーザー nebukuro09
提出日時 2016-09-05 16:04:40
言語 Python2
(2.7.18)
結果
RE  
実行時間 -
コード長 226 bytes
コンパイル時間 47 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-15 20:28:08
合計ジャッジ時間 676 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 1 RE * 9
権限があれば一括ダウンロードができます

ソースコード

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