結果
| 問題 | No.934 Explosive energy drink |
| コンテスト | |
| ユーザー |
ttr
|
| 提出日時 | 2020-02-02 17:00:31 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 520 ms / 2,000 ms |
| コード長 | 259 bytes |
| 記録 | |
| コンパイル時間 | 109 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 27,984 KB |
| 平均クエリ数 | 709.58 |
| 最終ジャッジ日時 | 2024-07-16 19:23:56 |
| 合計ジャッジ時間 | 6,099 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 24 |
ソースコード
N = int(input())
A = []
for i in range(1, N+1):
Q = [str(j) for j in range(1, N+1) if j != i]
print("? " + str(N-1))
print(" ".join(Q))
ans = int(input())
if ans == 0:
A.append(str(i))
print("! " + str(len(A)))
print(" ".join(A))
ttr