結果
| 問題 | No.2560 A_1 < A_2 < ... < A_N |
| コンテスト | |
| ユーザー |
rotti_coder
|
| 提出日時 | 2023-11-21 01:12:36 |
| 言語 | PyPy3 (7.3.23 + ac-library) |
| 結果 |
AC
不安定
|
| 実行時間 | 232 ms / 2,000 ms |
| + 484µs | |
| コード長 | 229 bytes |
| 記録 | |
| コンパイル時間 | 1,174 ms |
| コンパイル使用メモリ | 96,072 KB |
| 実行使用メモリ | 97,536 KB |
| 最終ジャッジ日時 | 2026-09-04 16:19:35 |
| 合計ジャッジ時間 | 4,836 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 15 |
ソースコード
for i in range(int(input())):
a,b=map(int,input().split())
ans=[]
count=0
for i in range(a-1):
ans.append(i+1)
count+=i+1
count=b-count
if count<a:
print(-1)
continue
ans.append(count)
print(*ans)
rotti_coder