結果
| 問題 | No.934 Explosive energy drink | 
| コンテスト | |
| ユーザー |  H20 | 
| 提出日時 | 2022-10-14 13:10:56 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 262 bytes | 
| コンパイル時間 | 188 ms | 
| コンパイル使用メモリ | 82,692 KB | 
| 実行使用メモリ | 94,124 KB | 
| 平均クエリ数 | 709.38 | 
| 最終ジャッジ日時 | 2024-06-26 12:36:16 | 
| 合計ジャッジ時間 | 9,571 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | WA * 24 | 
ソースコード
N = int(input())
ALL = set(range(1,N+1))
ANS = []
for i in range(1,N+1):
    ALL.remove(i)
    print('? ' + str(N-1),flush=True)
    print(*list(ALL),flush=True)
    if input() == '1':
        ANS.append(i)
    ALL.add(i)
print('! ' + str(len(ANS)))
print(*ANS)
            
            
            
        