結果
| 問題 | No.24 数当てゲーム |
| コンテスト | |
| ユーザー |
Schnee
|
| 提出日時 | 2019-10-26 13:23:26 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 30 ms / 5,000 ms |
| コード長 | 330 bytes |
| コンパイル時間 | 110 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-09-14 06:38:32 |
| 合計ジャッジ時間 | 957 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
n = int(input())
nums = [str(i) for i in range(10)]
for _ in range(n):
rnd = input().split()
if rnd[-1] == "NO":
for i in range(4):
if rnd[i] in nums:
nums.remove(rnd[i])
else:
for i in sorted(nums):
if i not in rnd:
nums.remove(i)
print(nums[0])
Schnee