在只有yes或no答案的题目里,可以用随机数来做(doge) 例:
#include<bits/stdc++.h> using namespace std; int main(){ srand(time(0)); if(rand()%2){ cout << "YES"; } else{ cout << "NO"; } }
看这个
虽然和阳寿有很大关系,但可以在比赛时骗分呀(O_o)