結果
| 問題 | No.2560 A_1 < A_2 < ... < A_N |
| コンテスト | |
| ユーザー |
MasKoaTS
|
| 提出日時 | 2024-01-03 13:31:18 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 199 ms / 2,000 ms |
| コード長 | 173 bytes |
| 記録 | |
| コンパイル時間 | 441 ms |
| コンパイル使用メモリ | 85,248 KB |
| 実行使用メモリ | 86,256 KB |
| 最終ジャッジ日時 | 2026-04-14 12:25:13 |
| 合計ジャッジ時間 | 4,031 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)
MasKoaTS