結果
問題 | No.24 数当てゲーム |
ユーザー |
![]() |
提出日時 | 2016-06-23 10:19:25 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 31 ms / 5,000 ms |
コード長 | 275 bytes |
コンパイル時間 | 302 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-10-11 19:54:36 |
合計ジャッジ時間 | 1,041 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 |
ソースコード
n, y = [], [] c = 0 for i in range(int(input())): l = input().split() if l[4] == "NO": n += l[:-1] else: y += l[:-1] c += 1 s = "".join([x for x in set(y) if y.count(x) == c]) if c else "0123456789" for i in s: if not i in n : print(i)