結果
問題 | No.2560 A_1 < A_2 < ... < A_N |
ユーザー |
![]() |
提出日時 | 2023-12-02 16:54:37 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 239 bytes |
コンパイル時間 | 464 ms |
コンパイル使用メモリ | 81,920 KB |
実行使用メモリ | 88,576 KB |
最終ジャッジ日時 | 2024-09-26 20:51:58 |
合計ジャッジ時間 | 2,666 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 10 RE * 5 |
ソースコード
t = int(input()) for i in range(t): n,x = map(int,input().split()) tp = [] for i in range(1,n): tp.append(i) x -= i if x > tp[-1]: tp.append(x) print(*tp,sep=" ") else: print(-1)