結果
| 問題 | No.2560 A_1 < A_2 < ... < A_N | 
| コンテスト | |
| ユーザー |  miztom | 
| 提出日時 | 2024-03-13 01:52:25 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 295 ms / 2,000 ms | 
| コード長 | 133 bytes | 
| コンパイル時間 | 284 ms | 
| コンパイル使用メモリ | 82,540 KB | 
| 実行使用メモリ | 83,704 KB | 
| 最終ジャッジ日時 | 2024-09-29 22:33:06 | 
| 合計ジャッジ時間 | 3,815 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 | 
| other | AC * 15 | 
ソースコード
for i in range(int(input())):
    n,x=map(int,input().split())
    if n*n+n>x*2:print(-1)
    else:print(*range(1,n),x-sum(range(n)))
            
            
            
        