結果
| 問題 | No.24 数当てゲーム | 
| コンテスト | |
| ユーザー |  zakuro9715 | 
| 提出日時 | 2015-10-08 01:03:48 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 39 ms / 5,000 ms | 
| コード長 | 249 bytes | 
| コンパイル時間 | 656 ms | 
| コンパイル使用メモリ | 82,124 KB | 
| 実行使用メモリ | 53,280 KB | 
| 最終ジャッジ日時 | 2024-07-20 02:00:41 | 
| 合計ジャッジ時間 | 1,135 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 10 | 
ソースコード
N = int(input())
s = [True] * 10
for i in range(N):
    x = input().split()
    xx = list(map(int, x[0:4]))
    for j in range(10):
        if (j in xx) ^ (x[-1] == 'YES'):
            s[j] = False
for i in range(10):
    if s[i]:
        print(i)
            
            
            
        