結果

問題 No.1243 約数加算
ユーザー yuruhiyayuruhiya
提出日時 2020-10-08 19:22:10
言語 Perl
(5.38.2)
結果
AC  
実行時間 9 ms / 2,000 ms
コード長 109 bytes
コンパイル時間 188 ms
コンパイル使用メモリ 5,348 KB
実行使用メモリ 5,292 KB
最終ジャッジ日時 2023-09-27 11:58:06
合計ジャッジ時間 986 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
5,292 KB
testcase_01 AC 6 ms
5,180 KB
testcase_02 AC 6 ms
5,136 KB
testcase_03 AC 6 ms
5,044 KB
testcase_04 AC 8 ms
5,136 KB
testcase_05 AC 9 ms
5,248 KB
testcase_06 AC 9 ms
5,132 KB
testcase_07 AC 7 ms
5,044 KB
testcase_08 AC 9 ms
5,136 KB
testcase_09 AC 6 ms
5,280 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::k" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

<>;for(<>){($a,$b,$k,@a)=glob,0;while($a<$b){$c=$a&-$a;$c/=2while$c>$b-$a;push@a,$c;$a+=$c;}print@a+0," @a
"}
0