結果
問題 |
No.934 Explosive energy drink
|
ユーザー |
![]() |
提出日時 | 2023-01-16 00:27:43 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 558 ms / 2,000 ms |
コード長 | 262 bytes |
コンパイル時間 | 419 ms |
コンパイル使用メモリ | 81,664 KB |
実行使用メモリ | 93,656 KB |
平均クエリ数 | 709.58 |
最終ジャッジ日時 | 2024-12-29 17:50:55 |
合計ジャッジ時間 | 8,141 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 24 |
ソースコード
import sys N = int(input()) ans = [] L = list(range(1, N + 1)) for i in range(N): print("?", N - 1) print(*(L[:i] + L[i + 1:])) sys.stdout.flush() if not int(input()): ans.append(i + 1) print("!", len(ans)) print(*ans) sys.stdout.flush()