結果
問題 |
No.934 Explosive energy drink
|
ユーザー |
![]() |
提出日時 | 2024-11-06 04:21:16 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 364 bytes |
コンパイル時間 | 537 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 27,864 KB |
平均クエリ数 | 709.54 |
最終ジャッジ日時 | 2024-11-06 04:21:28 |
合計ジャッジ時間 | 12,526 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 24 |
ソースコード
N=int(input()) LIST=list(range(1,N+1)) NONEED=[] for i in range(len(LIST)): LIST2=LIST[:i]+LIST[i+1:] print("?",len(LIST2),flush=True) print(*LIST2,flush=True) ans=int(input()) if ans==1: pass else: NONEED.append(LIST[i]) ANS=sorted(set(LIST)-set(NONEED)) print("!",len(ANS),flush=True) print(*ANS,flush=True)