Số bài đã giải: 115
Hạng điểm: #3345
Tổng điểm:
23,02
Đóng góp:
0
Đã tham gia 1 kỳ thi
Hạng rating: #2821
Rating: 1403
Min. rating: 1403
Max rating: 1403
Từ Trường THPT chuyên Thoại Ngọc Hầu, An Giang
Thông tin

Template
**Test generator**#include<bits/stdc++.h> #define file "test" using namespace std; #define ll long long #define ld long double #define pii pair<int,int> #define pb push_back #define mp make_pair #define X first #define Y second #define lb lower_bound #define ub upper_bound #define all(x) x.begin(), x.end() #define sz(x) x.size() const int N=1e6+5; const int NN=1e3+9; const int MOD=1e9+7; const int dx[4]={0, -1, 0, 1}; const int dy[4]={-1, 0, 1, 0}; const ll INF=1e18; const ld eps=1e-6; const ld pi=acos(-1.0); // 48 digits void process() { } signed main() { cin.tie(0)->sync_with_stdio(0); // freopen(file".inp","r",stdin); // freopen(file".out","w",stdout); int t=1; // cin>>t; while (t--) process(); return 0; }
#include<bits/stdc++.h>
#define ll long long
using namespace std;
const string file="name";
const int test=100;
ll rd(ll l, ll r) {
ll val=1;
for (int i=1;i<=4;i++)
val=(val << 8) ^ rand();
return l+val%(r-l+1);
}
void gen_test() {
ofstream inp((file+".inp").c_str());
inp.close();
}
int main() {
srand(time(0));
for (int i=1;i<=test;i++) {
gen_test();
system((file+".exe").c_str());
system((file+"_trau.exe").c_str());
if (system(("fc "+file+".out "+file+".ans").c_str())!=0) {
cout<<"Test "<< i <<": Wrong Answer" << endl;
return 0;
}
cout<<"Test "<< i <<": Accepted" << endl;
}
return 0;
}
Huy hiệu
Người dùng này không có huy hiệu nào.Lịch sử rating
, #