結果
| 問題 | No.2560 A_1 < A_2 < ... < A_N |
| コンテスト | |
| ユーザー |
MasKoaTS
|
| 提出日時 | 2024-01-03 13:31:18 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 223 ms / 2,000 ms |
| + 998µs | |
| コード長 | 173 bytes |
| 記録 | |
| コンパイル時間 | 237 ms |
| コンパイル使用メモリ | 95,820 KB |
| 実行使用メモリ | 89,448 KB |
| 最終ジャッジ日時 | 2026-09-05 07:57:25 |
| 合計ジャッジ時間 | 4,374 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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