結果

問題 No.934 Explosive energy drink
ユーザー c-yanc-yan
提出日時 2020-12-12 17:37:45
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 718 ms / 2,000 ms
コード長 228 bytes
コンパイル時間 134 ms
コンパイル使用メモリ 10,712 KB
実行使用メモリ 24,348 KB
平均クエリ数 709.58
最終ジャッジ日時 2023-09-24 09:23:49
合計ジャッジ時間 7,984 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 46 ms
23,572 KB
testcase_01 AC 717 ms
23,976 KB
testcase_02 AC 40 ms
24,096 KB
testcase_03 AC 349 ms
23,752 KB
testcase_04 AC 718 ms
24,096 KB
testcase_05 AC 41 ms
23,512 KB
testcase_06 AC 41 ms
23,544 KB
testcase_07 AC 40 ms
23,588 KB
testcase_08 AC 41 ms
23,608 KB
testcase_09 AC 41 ms
24,348 KB
testcase_10 AC 41 ms
24,024 KB
testcase_11 AC 42 ms
24,252 KB
testcase_12 AC 44 ms
23,556 KB
testcase_13 AC 50 ms
23,628 KB
testcase_14 AC 51 ms
23,556 KB
testcase_15 AC 219 ms
24,024 KB
testcase_16 AC 73 ms
23,868 KB
testcase_17 AC 123 ms
23,672 KB
testcase_18 AC 124 ms
23,664 KB
testcase_19 AC 262 ms
24,336 KB
testcase_20 AC 455 ms
24,000 KB
testcase_21 AC 492 ms
23,484 KB
testcase_22 AC 708 ms
23,928 KB
testcase_23 AC 718 ms
23,948 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

result = []
for i in range(N):
    print('?', N - 1)
    print(*(j + 1 for j in range(N) if j != i))
    ans = int(input())
    if ans == 0:
        result.append(i + 1)

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