結果

問題 No.934 Explosive energy drink
ユーザー SalmonizeSalmonize
提出日時 2020-03-10 13:59:17
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 662 ms / 2,000 ms
コード長 204 bytes
コンパイル時間 1,032 ms
コンパイル使用メモリ 10,676 KB
実行使用メモリ 24,628 KB
平均クエリ数 709.58
最終ジャッジ日時 2023-09-23 20:44:48
合計ジャッジ時間 7,542 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
24,180 KB
testcase_01 AC 579 ms
24,508 KB
testcase_02 AC 34 ms
23,892 KB
testcase_03 AC 281 ms
23,928 KB
testcase_04 AC 587 ms
24,188 KB
testcase_05 AC 36 ms
24,276 KB
testcase_06 AC 34 ms
24,264 KB
testcase_07 AC 36 ms
23,952 KB
testcase_08 AC 35 ms
23,508 KB
testcase_09 AC 33 ms
23,488 KB
testcase_10 AC 34 ms
23,604 KB
testcase_11 AC 37 ms
24,168 KB
testcase_12 AC 39 ms
23,484 KB
testcase_13 AC 45 ms
23,696 KB
testcase_14 AC 44 ms
23,480 KB
testcase_15 AC 187 ms
23,932 KB
testcase_16 AC 62 ms
23,952 KB
testcase_17 AC 101 ms
24,240 KB
testcase_18 AC 105 ms
24,096 KB
testcase_19 AC 216 ms
24,168 KB
testcase_20 AC 374 ms
24,628 KB
testcase_21 AC 408 ms
23,580 KB
testcase_22 AC 578 ms
24,408 KB
testcase_23 AC 662 ms
23,892 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
l = list()
f = [i+1 for i in range(n)]
for i in range(1,n+1):
    print('?', n-1)
    print(*(f[:i-1] + f[i:]))
    g = int(input())
    if not g: l.append(i)
print('!', len(l))
print(*l)
0