提交记录 27508


用户 题目 状态 得分 用时 内存 语言 代码长度
ppip test. 自定义测试 Accepted 100 15.159 ms 78164 KB C++ 614 B
提交时间 评测时间
2024-12-17 16:25:05 2024-12-17 16:25:07
#include <bits/stdc++.h>
using namespace std;
constexpr int Spp{1<<20};
char buf[Spp],*p1,*p2;
#define getchar() (p1==p2&&(p2=(p1=buf)+fread(buf,1,Spp,stdin),p1==p2)?EOF:*p1++)
template <typename T>
void read(T &x) {
	char c;int f{1};
	do x=(c=getchar())^48;
	while (!isdigit(c)&&c!='-');
	if (x==29) f=-1,x=0;
	while (isdigit(c=getchar()))
		x=(x*10)+(c^48);
	x*=f;
}
template <typename T,typename ...Args>
void read(T& x,Args&... args) {read(x);read(args...);}
constexpr int N(1e7);
int a[N];
int main() {
	iota(a,a+N,1);
	basic_string<int> v(a,a+N);
	int w{0};
	for (auto k:v) w^=k;
	cout<<w<<endl;
	return 0;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #115.159 ms76 MB + 340 KBAcceptedScore: 100


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