提交记录 21261


用户 题目 状态 得分 用时 内存 语言 代码长度
lotus_f test. 自定义测试 Accepted 100 35.64 us 36 KB C++14 273 B
提交时间 评测时间
2024-02-20 14:11:10 2024-02-20 14:11:12
#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) add1(sum,1ll*i*i%mod);
	cout<<sum;
	return 0; 
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #135.64 us36 KBAcceptedScore: 100


Judge Duck Online | 评测鸭在线
Server Time: 2025-07-20 10:31:52 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠