結果
| 問題 | No.2560 A_1 < A_2 < ... < A_N |
| コンテスト | |
| ユーザー |
ぶりんがー@みゅーじしゃん
|
| 提出日時 | 2024-07-13 22:24:10 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 174 bytes |
| 記録 | |
| コンパイル時間 | 302 ms |
| コンパイル使用メモリ | 82,292 KB |
| 実行使用メモリ | 84,944 KB |
| 最終ジャッジ日時 | 2024-07-13 22:24:15 |
| 合計ジャッジ時間 | 3,926 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | WA * 15 |
ソースコード
t=int(input()) for i in range(t): n,x=map(int,input().split()) if n*(n+1)/2>x: print(-1) else: anslist=list(range(1,n)) anslist.append(x-n*(n-1)/2) print(*anslist)
ぶりんがー@みゅーじしゃん