結果
| 問題 | No.2124 Guess the Permutation |
| コンテスト | |
| ユーザー |
Michirakara
|
| 提出日時 | 2022-11-19 11:27:21 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 155 bytes |
| 記録 | |
| コンパイル時間 | 515 ms |
| コンパイル使用メモリ | 82,176 KB |
| 実行使用メモリ | 94,424 KB |
| 平均クエリ数 | 373.60 |
| 最終ジャッジ日時 | 2024-09-20 12:38:17 |
| 合計ジャッジ時間 | 2,842 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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