結果

問題 No.24 数当てゲーム
ユーザー zakuro9715zakuro9715
提出日時 2015-10-08 01:03:48
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 65 ms / 5,000 ms
コード長 249 bytes
コンパイル時間 287 ms
コンパイル使用メモリ 87,224 KB
実行使用メモリ 71,564 KB
最終ジャッジ日時 2023-09-27 07:53:57
合計ジャッジ時間 1,806 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
71,536 KB
testcase_01 AC 64 ms
71,216 KB
testcase_02 AC 64 ms
71,076 KB
testcase_03 AC 64 ms
71,556 KB
testcase_04 AC 63 ms
71,360 KB
testcase_05 AC 62 ms
71,124 KB
testcase_06 AC 63 ms
71,424 KB
testcase_07 AC 62 ms
71,432 KB
testcase_08 AC 63 ms
71,564 KB
testcase_09 AC 62 ms
71,472 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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)
0