結果

問題 No.2449 square_permutation
ユーザー tailstails
提出日時 2023-09-01 14:33:05
言語 cLay
(20240104-1)
結果
AC  
実行時間 18 ms / 2,000 ms
コード長 80 bytes
コンパイル時間 3,410 ms
コンパイル使用メモリ 160,928 KB
実行使用メモリ 6,876 KB
最終ジャッジ日時 2023-09-01 14:33:12
合計ジャッジ時間 5,668 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,380 KB
testcase_01 AC 1 ms
4,380 KB
testcase_02 AC 1 ms
4,380 KB
testcase_03 AC 1 ms
4,384 KB
testcase_04 AC 2 ms
4,380 KB
testcase_05 AC 2 ms
4,384 KB
testcase_06 AC 7 ms
4,636 KB
testcase_07 AC 8 ms
4,808 KB
testcase_08 AC 8 ms
5,052 KB
testcase_09 AC 10 ms
5,256 KB
testcase_10 AC 13 ms
5,944 KB
testcase_11 AC 14 ms
5,980 KB
testcase_12 AC 14 ms
6,068 KB
testcase_13 AC 18 ms
6,776 KB
testcase_14 AC 18 ms
6,644 KB
testcase_15 AC 17 ms
6,648 KB
testcase_16 AC 17 ms
6,876 KB
testcase_17 AC 18 ms
6,684 KB
testcase_18 AC 16 ms
6,484 KB
testcase_19 AC 18 ms
6,824 KB
testcase_20 AC 17 ms
6,848 KB
testcase_21 AC 18 ms
6,780 KB
testcase_22 AC 1 ms
4,384 KB
testcase_23 AC 17 ms
6,616 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@n,a[n]{};rep(i,n)a[(-!a[i]*Isqrt(n/-~i)..-1)**2*-~i-1]=(1..)**2*-~i;wt(a(n));
0