結果

問題 No.934 Explosive energy drink
ユーザー rkyiolklorkyiolklo
提出日時 2020-05-03 19:47:02
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 714 ms / 2,000 ms
コード長 192 bytes
コンパイル時間 351 ms
コンパイル使用メモリ 10,540 KB
実行使用メモリ 24,404 KB
平均クエリ数 709.58
最終ジャッジ日時 2023-09-24 03:25:17
合計ジャッジ時間 7,359 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
23,720 KB
testcase_01 AC 714 ms
24,172 KB
testcase_02 AC 32 ms
23,752 KB
testcase_03 AC 342 ms
23,448 KB
testcase_04 AC 706 ms
24,404 KB
testcase_05 AC 32 ms
23,772 KB
testcase_06 AC 31 ms
23,652 KB
testcase_07 AC 32 ms
23,532 KB
testcase_08 AC 31 ms
24,384 KB
testcase_09 AC 30 ms
24,012 KB
testcase_10 AC 31 ms
24,372 KB
testcase_11 AC 32 ms
23,588 KB
testcase_12 AC 37 ms
23,340 KB
testcase_13 AC 42 ms
23,820 KB
testcase_14 AC 42 ms
23,544 KB
testcase_15 AC 206 ms
23,676 KB
testcase_16 AC 65 ms
23,388 KB
testcase_17 AC 111 ms
23,556 KB
testcase_18 AC 112 ms
23,736 KB
testcase_19 AC 254 ms
24,372 KB
testcase_20 AC 436 ms
23,412 KB
testcase_21 AC 473 ms
23,976 KB
testcase_22 AC 688 ms
24,036 KB
testcase_23 AC 700 ms
24,004 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
a=[]
for i in range(n):
  b=[]
  for j in range(n):
    if i!=j:b.append(j+1)
  print("?",n-1)
  print(*b,flush=True)
  if input()=="0":a.append(i+1)
print("!",len(a))
print(*a)
0