去年 NOIP 死磕 sale 最后 120pts 惨败没去上省选的经历我还没有忘,再这样下去,最后可能真的去不了 NOIP。
但是那又怎样呢?
我还是选择了决一死战,反复排查错误,最后,终于通过了全部大样例!
挂上对拍,对拍跑得很稳,我知道,自己这把,大概赌赢了。
后 30min
先去把 T2 的对拍挂上,然后我看时间不够了,T4 索性暴力都不认真打了,代码长这样:
Code
C++
#include <bits/stdc++.h>using namespace std;
using i64 = long long;
using u64 = unsigned long long;
using u32 = int;
using i128 = __int128;
using u128 = unsigned __int128;
#ifdef ZYX2012_DUIPAImt19937_64 mrand(random_device{}());
i64 rnd(i64 l,i64 r){
return mrand() % (r - l + 1) + l;
}
#endifvoid solve(){
int n,k;
cin >> n >> k;
for (int i = n;--i;){
int x,y;
cin >> x >> y;
}
cout << (n == k?0:1) << '\n';
}
int main (){
freopen("hub.in","r",stdin);
freopen("hub.out","w",stdout);
ios::sync_with_stdio(0);
cin.tie(0),cout.tie(0);
int c,T;
cin >> c >> T;
for (;T--;solve());
}