結果
| 問題 | No.24 数当てゲーム | 
| コンテスト | |
| ユーザー |  yoza | 
| 提出日時 | 2014-11-28 19:28:20 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 37 ms / 5,000 ms | 
| コード長 | 322 bytes | 
| コンパイル時間 | 432 ms | 
| コンパイル使用メモリ | 12,288 KB | 
| 実行使用メモリ | 10,240 KB | 
| 最終ジャッジ日時 | 2025-01-03 10:21:12 | 
| 合計ジャッジ時間 | 1,443 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 10 | 
ソースコード
n = int(input())
num = [True] * 10
for _ in range(n):
    ques = input().split()
    abcd = list(map(int, ques[:4]))
    for i in range(10):
        if ques[4] == 'YES':
            num[i] &= True if i in abcd else False
        else:
            num[i] &= False if i in abcd else True
print(num.index(True))
            
            
            
        