結果

問題 No.934 Explosive energy drink
ユーザー MitarushiMitarushi
提出日時 2020-08-22 00:45:06
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 648 ms / 2,000 ms
コード長 214 bytes
コンパイル時間 647 ms
コンパイル使用メモリ 10,640 KB
実行使用メモリ 24,624 KB
平均クエリ数 709.58
最終ジャッジ日時 2023-09-24 05:48:35
合計ジャッジ時間 7,532 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 45 ms
23,680 KB
testcase_01 AC 647 ms
24,032 KB
testcase_02 AC 39 ms
24,024 KB
testcase_03 AC 316 ms
23,752 KB
testcase_04 AC 642 ms
24,364 KB
testcase_05 AC 40 ms
23,536 KB
testcase_06 AC 40 ms
23,988 KB
testcase_07 AC 40 ms
23,608 KB
testcase_08 AC 40 ms
24,036 KB
testcase_09 AC 40 ms
23,820 KB
testcase_10 AC 40 ms
23,524 KB
testcase_11 AC 40 ms
23,532 KB
testcase_12 AC 43 ms
23,988 KB
testcase_13 AC 48 ms
23,508 KB
testcase_14 AC 49 ms
23,520 KB
testcase_15 AC 202 ms
24,256 KB
testcase_16 AC 71 ms
23,460 KB
testcase_17 AC 115 ms
24,000 KB
testcase_18 AC 117 ms
24,036 KB
testcase_19 AC 238 ms
23,852 KB
testcase_20 AC 414 ms
24,624 KB
testcase_21 AC 448 ms
24,276 KB
testcase_22 AC 639 ms
24,220 KB
testcase_23 AC 648 ms
24,464 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
mazai = list(range(1, n+1))
ans = []
for i in range(n):
    print("?", n-1)
    print(*(mazai[:i]+mazai[i+1:]))
    if input() == "0":
        ans.append(mazai[i])
print("!", len(ans))
print(*ans)
0