結果
| 問題 | No.934 Explosive energy drink |
| コンテスト | |
| ユーザー |
titia
|
| 提出日時 | 2024-11-06 04:21:16 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 364 bytes |
| 記録 | |
| コンパイル時間 | 58 ms |
| コンパイル使用メモリ | 14,976 KB |
| 実行使用メモリ | 11,008 KB |
| 平均クエリ数 | 709.54 |
| 最終ジャッジ日時 | 2026-09-19 11:36:35 |
| 合計ジャッジ時間 | 7,913 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)
titia