D. 小小恆的數學題

    Type: Default 1000ms 64MiB

小小恆的數學題

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

題目描述

小小恆學到了新的函數 f(x) , f(x) 是 x 的因數個數

小小恆想知道 f(L)+f(L+1)+...+f(R) 的值,你能幫幫他嗎?

輸入格式

输入共一行

第一行为两个整数,分别为 L 和 R 的值

 

輸出格式

输出应有一行

第一行应有一个整数,为 f(L)+f(L+1)+...+f(R) 的值

Samples

1 3
5

提示

1 < L < R < 5*10^7

備註

MOIJ 2026 模拟赛

Not Attended
Status
Done
Rule
IOI
Problem
4
Start at
2026-3-12 15:00
End at
2026-3-12 17:00
Duration
2 hour(s)
Host
Partic.
12