結果
| 問題 |
No.934 Explosive energy drink
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-01-18 23:54:50 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 315 bytes |
| コンパイル時間 | 236 ms |
| コンパイル使用メモリ | 82,312 KB |
| 実行使用メモリ | 84,864 KB |
| 平均クエリ数 | 2.00 |
| 最終ジャッジ日時 | 2024-11-23 13:37:44 |
| 合計ジャッジ時間 | 5,394 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 24 |
ソースコード
n = int(input())
ans = []
for i in range(1, n + 1):
A = []
for j in range(1, n + 1):
if i != j:
A.append(j)
print("?", n - 1, flush = True)
print(*A, flush = True)
ret = int(input)
if ret == 0:
ans.append(i)
print("!", len(ans), flush = True)
print(*ans)