結果
| 問題 | No.2560 A_1 < A_2 < ... < A_N | 
| コンテスト | |
| ユーザー |  MasKoaTS | 
| 提出日時 | 2024-01-03 13:31:18 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 303 ms / 2,000 ms | 
| コード長 | 173 bytes | 
| コンパイル時間 | 157 ms | 
| コンパイル使用メモリ | 82,596 KB | 
| 実行使用メモリ | 83,876 KB | 
| 最終ジャッジ日時 | 2024-09-27 18:24:21 | 
| 合計ジャッジ時間 | 3,529 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 | 
| other | AC * 15 | 
ソースコード
for _ in [0] * int(input()): n, x = map(int, input().split()) ans = [*range(1, n + 1)] s = sum(ans) if(s > x): print(-1) continue ans[n - 1] += x - s print(*ans)
