結果

問題 No.24 数当てゲーム
コンテスト
ユーザー nebukuro09
提出日時 2016-09-05 16:08:33
言語 PyPy2
(7.3.20)
コンパイル:
pypy2 -m py_compile _filename_
実行:
/usr/bin/pypy2 Main.pyc
結果
AC  
実行時間 62 ms / 5,000 ms
+ 315µs
コード長 221 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 70 ms
コンパイル使用メモリ 62,180 KB
実行使用メモリ 62,160 KB
最終ジャッジ日時 2026-11-15 14:20:59
合計ジャッジ時間 2,592 ms
ジャッジサーバーID
(参考情報)
judge4_0 / judge1_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

s = [str(i) for i in range(10)]
for i in range(input()):
    a = raw_input().split()
    b = a[:4]
    c = [str(j) for j in range(10) if not str(j) in b] if a[4]=='NO' else b
    s = filter(lambda x:x in c, s)
print s[0]
0