結果
問題 |
No.24 数当てゲーム
|
ユーザー |
|
提出日時 | 2024-04-08 16:52:51 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 346 bytes |
コンパイル時間 | 94 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-10-01 08:59:17 |
合計ジャッジ時間 | 887 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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])] print(ans[0]) if __name__ == "__main__": main()