結果
| 問題 |
No.2124 Guess the Permutation
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-11-29 13:13:19 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 223 bytes |
| コンパイル時間 | 313 ms |
| コンパイル使用メモリ | 82,048 KB |
| 実行使用メモリ | 94,424 KB |
| 平均クエリ数 | 373.60 |
| 最終ジャッジ日時 | 2024-10-07 00:03:56 |
| 合計ジャッジ時間 | 2,593 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 1 |
| other | RE * 9 |
ソースコード
N = int(input())
now = N * (N + 1) / 2
ans = []
for i in range(N - 1,0,-1):
l = 1
r = i
print("?",l,r)
S = int(input())
t = now - S
ans.append(t)
now -= t
ans.append(now)
print(*reversed(ans))