結果

問題 No.934 Explosive energy drink
ユーザー toyuzukotoyuzuko
提出日時 2020-03-26 22:01:05
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 580 ms / 2,000 ms
コード長 226 bytes
コンパイル時間 305 ms
コンパイル使用メモリ 10,680 KB
実行使用メモリ 24,476 KB
平均クエリ数 709.58
最終ジャッジ日時 2023-09-24 03:14:51
合計ジャッジ時間 6,362 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
23,400 KB
testcase_01 AC 580 ms
24,476 KB
testcase_02 AC 32 ms
23,408 KB
testcase_03 AC 279 ms
23,640 KB
testcase_04 AC 575 ms
24,228 KB
testcase_05 AC 33 ms
23,628 KB
testcase_06 AC 32 ms
23,400 KB
testcase_07 AC 31 ms
23,436 KB
testcase_08 AC 31 ms
23,516 KB
testcase_09 AC 32 ms
23,664 KB
testcase_10 AC 32 ms
23,976 KB
testcase_11 AC 32 ms
23,844 KB
testcase_12 AC 35 ms
23,484 KB
testcase_13 AC 40 ms
24,288 KB
testcase_14 AC 39 ms
23,952 KB
testcase_15 AC 180 ms
24,104 KB
testcase_16 AC 58 ms
23,416 KB
testcase_17 AC 98 ms
23,484 KB
testcase_18 AC 98 ms
23,964 KB
testcase_19 AC 211 ms
23,592 KB
testcase_20 AC 369 ms
23,900 KB
testcase_21 AC 391 ms
23,500 KB
testcase_22 AC 563 ms
24,164 KB
testcase_23 AC 577 ms
24,076 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

res = []
A = list(range(1, N + 1))

for i in range(N):
    print('?', N - 1 )
    print(*(A[:i] + A[i + 1:]))
    ans = int(input())
    if not ans:
        res.append(i + 1)

print('!', len(res))
print(*res)
0