得,TLE了 (是的你没看错真的是TLE) 提交前:没有MLE,没有MLE, 没有MLE! 提交后:哈?!是没有MLE,可是老朋友TLE您真是不请自来啊! 代码:
#include<bits/stdc++.h> using namespace std; int s,n,t; int main(){ cin>>n; for(int i=1;i<=n;i++){ cin>>s; t^=s; } cout<<t; return 0; }
求求求求求求求求求求调(卡bug了)