結果
問題 | No.934 Explosive energy drink |
ユーザー |
![]() |
提出日時 | 2020-04-03 17:21:26 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 536 ms / 2,000 ms |
コード長 | 363 bytes |
コンパイル時間 | 97 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 27,736 KB |
平均クエリ数 | 709.58 |
最終ジャッジ日時 | 2024-07-17 03:23:20 |
合計ジャッジ時間 | 6,641 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 24 |
ソースコード
n = int(input()) ans = [] for i in range(n): print('?', n - 1) if i == 0: print(' '.join(map(str, range(2, n + 1)))) else: print(' '.join(map(str, range(1, i + 1))), ' '.join(map(str, range(i + 2, n + 1)))) a = int(input()) if a == 0: ans.append(i + 1) print('!', len(ans)) print(' '.join(map(str, ans)))