結果
| 問題 | No.24 数当てゲーム | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2016-09-05 16:07:51 | 
| 言語 | Python2 (2.7.18) | 
| 結果 | 
                                RE
                                 
                             | 
| 実行時間 | - | 
| コード長 | 226 bytes | 
| コンパイル時間 | 56 ms | 
| コンパイル使用メモリ | 6,912 KB | 
| 実行使用メモリ | 6,820 KB | 
| 最終ジャッジ日時 | 2024-11-15 20:28:11 | 
| 合計ジャッジ時間 | 726 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 8 RE * 2 | 
ソースコード
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 str(j) in b] if a[4]=='NO' else b
    s = filter(lambda x:x in c, s)
print s[0]
            
            
            
        