結果

問題 No.934 Explosive energy drink
ユーザー SalmonizeSalmonize
提出日時 2020-03-10 14:00:14
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 587 ms / 2,000 ms
コード長 202 bytes
コンパイル時間 553 ms
コンパイル使用メモリ 10,636 KB
実行使用メモリ 24,408 KB
平均クエリ数 709.58
最終ジャッジ日時 2023-09-23 20:44:26
合計ジャッジ時間 6,618 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
23,952 KB
testcase_01 AC 585 ms
24,112 KB
testcase_02 AC 35 ms
23,964 KB
testcase_03 AC 281 ms
23,952 KB
testcase_04 AC 587 ms
24,408 KB
testcase_05 AC 37 ms
24,312 KB
testcase_06 AC 36 ms
23,540 KB
testcase_07 AC 33 ms
23,328 KB
testcase_08 AC 36 ms
23,568 KB
testcase_09 AC 37 ms
23,952 KB
testcase_10 AC 37 ms
23,592 KB
testcase_11 AC 34 ms
23,700 KB
testcase_12 AC 40 ms
23,588 KB
testcase_13 AC 45 ms
23,556 KB
testcase_14 AC 50 ms
23,952 KB
testcase_15 AC 182 ms
23,952 KB
testcase_16 AC 65 ms
23,544 KB
testcase_17 AC 104 ms
24,252 KB
testcase_18 AC 103 ms
23,856 KB
testcase_19 AC 222 ms
23,848 KB
testcase_20 AC 376 ms
24,360 KB
testcase_21 AC 410 ms
24,288 KB
testcase_22 AC 583 ms
23,996 KB
testcase_23 AC 587 ms
24,212 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