結果
問題 |
No.24 数当てゲーム
|
ユーザー |
|
提出日時 | 2024-04-08 16:55:56 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 375 bytes |
コンパイル時間 | 178 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-10-01 09:02:57 |
合計ジャッジ時間 | 906 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 5 WA * 5 |
ソースコード
def main(): turn=int(input()) ans=([i for i in range(10)]) for i in range(turn): taro=list(map(str,input().split())) if taro[4] == "NO": ans=[i for i in ans if i != int(taro[0]) and i != int(taro[1]) and i != int(taro[2]) and i != int(taro[3])] else: ans=ans print(ans[0]) if __name__ == "__main__": main()