题目网址:http://acm.fzu.edu.cn/problem.php?pid=2104
#include <cstdio>
#include <cmath>
int main()
{int t;int n, l, r;scanf("%d",&t);while(t--){scanf("%d%d%d",&n,&l,&r);double sum = 0;for(int i = l; i <= r; i++){sum+=floor(n*1.0/i);}printf("%.0lf\n",sum);}return 0;
}