結果
| 問題 | No.934 Explosive energy drink | 
| コンテスト | |
| ユーザー |  titia | 
| 提出日時 | 2024-11-06 04:17:23 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                RE
                                 
                             | 
| 実行時間 | - | 
| コード長 | 519 bytes | 
| コンパイル時間 | 253 ms | 
| コンパイル使用メモリ | 12,672 KB | 
| 実行使用メモリ | 27,992 KB | 
| 平均クエリ数 | 1315.42 | 
| 最終ジャッジ日時 | 2024-11-06 04:17:33 | 
| 合計ジャッジ時間 | 10,342 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 15 RE * 9 | 
ソースコード
N=int(input())
LIST=list(range(1,N+1))
while True:
    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:
            LIST=LIST2
            break
        else:
            continue
    else:
        print("!",len(LIST),flush=True)
        print(*LIST,flush=True)
        break
    if len(LIST)==2:
        print("!",len(LIST),flush=True)
        print(*LIST,flush=True)
        break
            
            
            
        