結果
問題 |
No.934 Explosive energy drink
|
ユーザー |
|
提出日時 | 2020-05-20 21:36:47 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 461 bytes |
コンパイル時間 | 220 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 27,944 KB |
平均クエリ数 | 709.58 |
最終ジャッジ日時 | 2024-07-17 03:44:20 |
合計ジャッジ時間 | 5,895 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 24 |
ソースコード
N=int(input()) L=[ str(x) for x in range(1,N+1)] expl=[] print("? "+str(N),flush=True) print(" ".join(L),flush=True) ans=True if input()=="1" else False if ans!=True: print("! 0") print() exit() for i in range(N): print("? "+str(N-1),flush=True) print(" ".join(L[0:i]+L[i+1:]),flush=True) ans=True if input()=="1" else False if ans!=True: expl.append(i+1) print("! "+str(len()),flush=True) print(" ".join(expl),flush=True)