結果

問題 No.1243 約数加算
ユーザー yuruhiyayuruhiya
提出日時 2020-10-08 19:21:48
言語 Perl
(5.38.2)
結果
AC  
実行時間 9 ms / 2,000 ms
コード長 112 bytes
コンパイル時間 559 ms
コンパイル使用メモリ 5,368 KB
実行使用メモリ 5,392 KB
最終ジャッジ日時 2023-09-27 11:57:49
合計ジャッジ時間 968 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 5 ms
5,236 KB
testcase_01 AC 6 ms
5,368 KB
testcase_02 AC 6 ms
5,264 KB
testcase_03 AC 5 ms
5,092 KB
testcase_04 AC 6 ms
5,236 KB
testcase_05 AC 8 ms
5,296 KB
testcase_06 AC 9 ms
5,176 KB
testcase_07 AC 7 ms
5,176 KB
testcase_08 AC 9 ms
5,392 KB
testcase_09 AC 5 ms
5,240 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::k" used only once: possible typo at Main.pl line 2.
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