結果

問題 No.278 連続する整数の和(2)
ユーザー CleyLCleyL
提出日時 2022-12-30 12:37:18
言語 cLay
(20220312-1)
結果
AC  
実行時間 15 ms / 2,000 ms
コード長 82 bytes
コンパイル時間 1,533 ms
使用メモリ 6,952 KB
最終ジャッジ日時 2022-12-30 12:37:23
合計ジャッジ時間 2,776 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 2 ms
4,900 KB
testcase_01 AC 2 ms
4,900 KB
testcase_02 AC 13 ms
4,900 KB
testcase_03 AC 2 ms
6,952 KB
testcase_04 AC 1 ms
6,952 KB
testcase_05 AC 1 ms
4,904 KB
testcase_06 AC 2 ms
4,904 KB
testcase_07 AC 2 ms
3,444 KB
testcase_08 AC 12 ms
6,948 KB
testcase_09 AC 12 ms
4,904 KB
testcase_10 AC 15 ms
4,904 KB
testcase_11 AC 12 ms
4,904 KB
testcase_12 AC 1 ms
4,904 KB
testcase_13 AC 10 ms
6,948 KB
testcase_14 AC 8 ms
4,904 KB
testcase_15 AC 9 ms
4,908 KB
testcase_16 AC 8 ms
4,908 KB
testcase_17 AC 13 ms
6,952 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll @n,a=0,i=1;n=(n%2?n:n/2);for(;n>=i*i;i++)if(!(n%i))a+=i,if(i*i!=n)a+=n/i;wt(a);
0