Số bài đã giải: 211
Hạng điểm: #730
Tổng điểm:
58,98
Đóng góp:
-9
Đã tham gia 6 kỳ thi
Hạng rating: #1332
Rating: 1625
Min. rating: 1199
Max rating: 1625
Từ Trường THPT chuyên Hạ Long, Quảng Ninh, Trường THCS-THPT Newton
Thông tin
include<bits/stdc++.h>
using namespace std;
define FOR(i, a, b) for(int i = a; i <= b; ++i)
define F first
define S second
define pb push_back
define szz(a) int(a.size())
define pi pair<int, int>
define pii pair<int, pair<int, int>
//const N = 5e5 + 5, oo = 1e9 + 5, MOD = 1e5 + 7
int rd(int l, int r){ return l + rand() % (r - l + 1); }
void random(){ ofstream out("sown.inp"); int n = rd(1, 5000); out << n << " " << n + 1 << "\n"; FOR(i, 1, n){ int l = rd(1, 1000), r = rd(l, 1000); out << l << " " << r << "\n"; } }
void solve(){ srand(time(NULL)); random(); FOR(i, 1, 1000){ random();
system("test.exe");
system("bai4trau.exe");
if(system("fc sown.out sown.ans")){
cout << "WA"; return;
}else cout << "AC\n";
}
}
signed main(){ // iosbase::syncwith_stdio(false); // cin.tie(false); cout.tie(false);
// freopen("sown.inp", "r", stdin); // freopen("sown.out", "w", stdout);
solve();
} //http://112.137.129.130/ //H1-024 //SS846770
Huy hiệu
Người dùng này không có huy hiệu nào.Lịch sử rating
, #