結果

問題 No.1243 約数加算
ユーザー yuruhiyayuruhiya
提出日時 2020-10-08 18:52:39
言語 Ruby
(3.3.0)
結果
AC  
実行時間 123 ms / 2,000 ms
コード長 96 bytes
コンパイル時間 567 ms
コンパイル使用メモリ 11,464 KB
実行使用メモリ 15,516 KB
最終ジャッジ日時 2023-09-27 11:57:18
合計ジャッジ時間 2,851 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
15,220 KB
testcase_01 AC 70 ms
14,984 KB
testcase_02 AC 67 ms
15,216 KB
testcase_03 AC 69 ms
15,152 KB
testcase_04 AC 90 ms
15,332 KB
testcase_05 AC 115 ms
15,332 KB
testcase_06 AC 123 ms
15,516 KB
testcase_07 AC 94 ms
15,408 KB
testcase_08 AC 121 ms
15,484 KB
testcase_09 AC 71 ms
15,280 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

gets;$<.map{eval"A,B="+_1.split*?,
x=[]
(c=A&-A;c/=2while c>B-A;x<<c;A+=c)while A<B
p x.size,*x}
0