提交时间:2024-10-05 14:37:39

运行 ID: 52417

#include <bits/stdc++.h> using namespace std; const int N = 1e5 + 10; #define ll long long int main() { ll l, r; cin >> l >> r; ll sum = 0; for(ll i = l; i <= r; i++) { sum = sum + sqrt(i); } cout << sum; return 0; }