結果
| 問題 | No.24 数当てゲーム |
| コンテスト | |
| ユーザー |
convexineq
|
| 提出日時 | 2020-11-22 22:42:51 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 24 ms / 5,000 ms |
| + 407µs | |
| コード長 | 341 bytes |
| 記録 | |
| コンパイル時間 | 63 ms |
| コンパイル使用メモリ | 80,824 KB |
| 実行使用メモリ | 56,032 KB |
| 最終ジャッジ日時 | 2026-10-11 02:05:53 |
| 合計ジャッジ時間 | 1,358 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
# coding: utf-8
# Your code here!
import sys
readline = sys.stdin.readline
read = sys.stdin.read
n = int(readline())
nset = set()
yset = set(range(10))
for _ in range(n):
*r, = readline().split()
s = set(map(int,r[:4]))
if r[-1]=="NO":
nset |= s
else:
yset &= s
for i in yset:
if i not in nset: print(i)
convexineq