結果

問題 No.2567 A_1 > A_2 > ... > A_N
ユーザー 👑 p-adicp-adic
提出日時 2023-12-05 17:36:43
言語 cLay
(20240104-1)
結果
AC  
実行時間 12 ms / 2,000 ms
コード長 98 bytes
コンパイル時間 3,037 ms
コンパイル使用メモリ 173,640 KB
実行使用メモリ 6,676 KB
最終ジャッジ日時 2023-12-05 17:36:49
合計ジャッジ時間 5,255 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
6,676 KB
testcase_01 AC 10 ms
6,676 KB
testcase_02 AC 11 ms
6,676 KB
testcase_03 AC 10 ms
6,676 KB
testcase_04 AC 12 ms
6,676 KB
testcase_05 AC 11 ms
6,676 KB
testcase_06 AC 10 ms
6,676 KB
testcase_07 AC 10 ms
6,676 KB
testcase_08 AC 10 ms
6,676 KB
testcase_09 AC 10 ms
6,676 KB
testcase_10 AC 11 ms
6,676 KB
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
testcase_16 AC 2 ms
6,676 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@T;rep(T){ll@N,@X,b=X-N*(N+1)/2;if(b>=0)rep(i,N)wtN((i<b%N)+b/N+N-i," \n"[i==N-1]);else wt(-1);}
0