結果

問題 No.934 Explosive energy drink
ユーザー vwxyzvwxyz
提出日時 2023-12-26 08:09:09
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 811 ms / 2,000 ms
コード長 187 bytes
コンパイル時間 80 ms
コンパイル使用メモリ 11,776 KB
実行使用メモリ 26,240 KB
平均クエリ数 709.58
最終ジャッジ日時 2023-12-26 08:09:18
合計ジャッジ時間 8,543 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
25,984 KB
testcase_01 AC 811 ms
26,240 KB
testcase_02 AC 56 ms
25,984 KB
testcase_03 AC 378 ms
26,112 KB
testcase_04 AC 781 ms
26,240 KB
testcase_05 AC 54 ms
25,984 KB
testcase_06 AC 53 ms
25,984 KB
testcase_07 AC 53 ms
25,984 KB
testcase_08 AC 54 ms
25,984 KB
testcase_09 AC 55 ms
25,984 KB
testcase_10 AC 55 ms
25,984 KB
testcase_11 AC 56 ms
25,984 KB
testcase_12 AC 57 ms
25,984 KB
testcase_13 AC 64 ms
25,984 KB
testcase_14 AC 65 ms
25,984 KB
testcase_15 AC 275 ms
26,112 KB
testcase_16 AC 88 ms
25,984 KB
testcase_17 AC 147 ms
25,984 KB
testcase_18 AC 142 ms
25,984 KB
testcase_19 AC 291 ms
26,112 KB
testcase_20 AC 519 ms
26,112 KB
testcase_21 AC 534 ms
26,112 KB
testcase_22 AC 790 ms
26,240 KB
testcase_23 AC 771 ms
26,240 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
B=[]
for b in range(N):
    A=[a+1 for a in range(N) if a!=b]
    print("?",len(A))
    print(*A)
    if not int(input()):
        B.append(b+1)
print("!",len(B))
print(*B)
0