結果

問題 No.934 Explosive energy drink
ユーザー kohei2019kohei2019
提出日時 2022-05-14 15:00:19
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 508 ms / 2,000 ms
コード長 271 bytes
コンパイル時間 273 ms
コンパイル使用メモリ 86,952 KB
実行使用メモリ 93,604 KB
平均クエリ数 709.58
最終ジャッジ日時 2023-09-30 06:34:09
合計ジャッジ時間 8,986 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 102 ms
86,724 KB
testcase_01 AC 508 ms
93,604 KB
testcase_02 AC 106 ms
87,080 KB
testcase_03 AC 304 ms
92,796 KB
testcase_04 AC 507 ms
93,604 KB
testcase_05 AC 107 ms
87,008 KB
testcase_06 AC 98 ms
87,076 KB
testcase_07 AC 101 ms
86,732 KB
testcase_08 AC 100 ms
87,328 KB
testcase_09 AC 102 ms
86,872 KB
testcase_10 AC 109 ms
87,164 KB
testcase_11 AC 106 ms
86,880 KB
testcase_12 AC 116 ms
92,004 KB
testcase_13 AC 120 ms
92,664 KB
testcase_14 AC 122 ms
92,160 KB
testcase_15 AC 228 ms
93,064 KB
testcase_16 AC 139 ms
91,836 KB
testcase_17 AC 167 ms
92,772 KB
testcase_18 AC 171 ms
92,872 KB
testcase_19 AC 257 ms
93,088 KB
testcase_20 AC 362 ms
93,552 KB
testcase_21 AC 380 ms
93,544 KB
testcase_22 AC 488 ms
93,560 KB
testcase_23 AC 493 ms
93,344 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
ls = [i+1 for i in range(N)]
ll = []
for i in range(N):
    ls2 = ls[:]
    ls2.remove(i+1)
    print('? {}'.format(N-1))
    print(*ls2,sep=' ')
    f = int(input())
    if f == 0:
        ll.append(i+1)

print('! {}'.format(len(ll)))
print(*ll,sep=' ')
0