提交记录 21262
提交时间 |
评测时间 |
2024-02-20 14:11:46 |
2024-02-20 14:11:48 |
#include<bits/stdc++.h>
using namespace std;
const int mod=1e9+7;
void add1(int &a,int b) { (a+b>=mod) && (a-=mod); }
void add2(int &a,int b) { a=(a+b<mod?a+b:a+b-mod); }
int main()
{
int sum=0;
for(int i=1e8; i<=1e9; ++i) add2(sum,1ll*i*i%mod);
cout<<sum;
return 0;
}
Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
Testcase #1 | 1 s | 32 KB | Time Limit Exceeded | Score: 0 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2025-07-20 10:58:38 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠