結果
| 問題 | No.934 Explosive energy drink | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2022-05-14 15:00:19 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 457 ms / 2,000 ms | 
| コード長 | 271 bytes | 
| コンパイル時間 | 195 ms | 
| コンパイル使用メモリ | 82,732 KB | 
| 実行使用メモリ | 93,444 KB | 
| 平均クエリ数 | 709.58 | 
| 最終ジャッジ日時 | 2024-07-23 00:49:12 | 
| 合計ジャッジ時間 | 7,330 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 24 | 
ソースコード
N = int(input())
ls = [i+1 for i in range(N)]
ll = []
for i in range(N):
    ls2 = ls[:]
    ls2.remove(i+1)
    print('? {}'.format(N-1))
    print(*ls2,sep=' ')
    f = int(input())
    if f == 0:
        ll.append(i+1)
print('! {}'.format(len(ll)))
print(*ll,sep=' ')
            
            
            
        