結果
| 問題 | No.934 Explosive energy drink |
| コンテスト | |
| ユーザー |
ttr
|
| 提出日時 | 2020-02-02 17:00:31 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 437 ms / 2,000 ms |
| コード長 | 259 bytes |
| 記録 | |
| コンパイル時間 | 557 ms |
| コンパイル使用メモリ | 20,828 KB |
| 実行使用メモリ | 34,308 KB |
| 平均クエリ数 | 709.58 |
| 最終ジャッジ日時 | 2026-03-31 08:38:11 |
| 合計ジャッジ時間 | 7,629 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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