結果

問題 No.2560 A_1 < A_2 < ... < A_N
ユーザー 👑 p-adicp-adic
提出日時 2023-12-02 14:50:31
言語 cLay
(20240104-1)
結果
WA  
実行時間 -
コード長 119 bytes
コンパイル時間 2,411 ms
コンパイル使用メモリ 177,740 KB
実行使用メモリ 6,676 KB
最終ジャッジ日時 2023-12-02 14:50:35
合計ジャッジ時間 3,309 ms
ジャッジサーバーID
(参考情報)
judge9 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
6,676 KB
testcase_01 AC 6 ms
6,676 KB
testcase_02 AC 6 ms
6,676 KB
testcase_03 AC 6 ms
6,676 KB
testcase_04 AC 7 ms
6,676 KB
testcase_05 AC 7 ms
6,676 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 AC 1 ms
6,676 KB
testcase_12 AC 2 ms
6,676 KB
testcase_13 AC 2 ms
6,676 KB
testcase_14 AC 2 ms
6,676 KB
testcase_15 AC 1 ms
6,676 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@T;rep(T){ll@N,@X;vector<ll>A(N);rep(i,N)A[i]=i+1;A[N-1]=X-N*(N-1)/2;if(N>1&&max(0,A[N-2])<A[N-1])wt(A);else wt(-1);}
0