結果
| 問題 | No.2124 Guess the Permutation |
| コンテスト | |
| ユーザー |
Michirakara
|
| 提出日時 | 2022-11-19 11:27:21 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 155 bytes |
| 記録 | |
| コンパイル時間 | 209 ms |
| コンパイル使用メモリ | 84,736 KB |
| 実行使用メモリ | 96,952 KB |
| 平均クエリ数 | 373.60 |
| 最終ジャッジ日時 | 2026-04-08 23:48:12 |
| 合計ジャッジ時間 | 2,198 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 1 |
| other | RE * 9 |
ソースコード
n=int(input())
l=[0]*n
pr=sum(range(1,n+1))
for i in range(1,n):
print("?",i+1,n)
tm=int(input())
l[i-1]=pr-tm
pr=tm
l[-1]=pr
print("!",*l)
Michirakara