結果

問題 No.934 Explosive energy drink
ユーザー tyawanmusityawanmusi
提出日時 2019-11-29 22:24:06
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 837 ms / 2,000 ms
コード長 192 bytes
コンパイル時間 580 ms
コンパイル使用メモリ 10,628 KB
実行使用メモリ 24,312 KB
平均クエリ数 709.58
最終ジャッジ日時 2023-09-23 18:45:57
合計ジャッジ時間 8,239 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 45 ms
24,192 KB
testcase_01 AC 837 ms
23,888 KB
testcase_02 AC 40 ms
23,940 KB
testcase_03 AC 389 ms
23,472 KB
testcase_04 AC 797 ms
23,784 KB
testcase_05 AC 41 ms
24,072 KB
testcase_06 AC 39 ms
23,728 KB
testcase_07 AC 40 ms
23,640 KB
testcase_08 AC 40 ms
23,556 KB
testcase_09 AC 40 ms
23,484 KB
testcase_10 AC 40 ms
24,000 KB
testcase_11 AC 41 ms
23,720 KB
testcase_12 AC 43 ms
23,580 KB
testcase_13 AC 49 ms
23,484 KB
testcase_14 AC 51 ms
24,312 KB
testcase_15 AC 235 ms
23,588 KB
testcase_16 AC 76 ms
23,484 KB
testcase_17 AC 128 ms
24,072 KB
testcase_18 AC 132 ms
23,492 KB
testcase_19 AC 283 ms
24,264 KB
testcase_20 AC 497 ms
23,580 KB
testcase_21 AC 539 ms
24,204 KB
testcase_22 AC 784 ms
23,876 KB
testcase_23 AC 788 ms
24,128 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