結果
| 問題 | No.24 数当てゲーム | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2016-09-05 16:08:33 | 
| 言語 | Python2 (2.7.18) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 13 ms / 5,000 ms | 
| コード長 | 221 bytes | 
| コンパイル時間 | 82 ms | 
| コンパイル使用メモリ | 7,040 KB | 
| 実行使用メモリ | 6,820 KB | 
| 最終ジャッジ日時 | 2024-11-15 20:28:12 | 
| 合計ジャッジ時間 | 714 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 10 | 
ソースコード
s = [str(i) for i in range(10)]
for i in range(input()):
    a = raw_input().split()
    b = a[:4]
    c = [str(j) for j in range(10) if not str(j) in b] if a[4]=='NO' else b
    s = filter(lambda x:x in c, s)
print s[0]
            
            
            
        