c#做的网站怎么上传,国内知名公关公司,虹口集团网站建设,免费创建网站教程第一场Bestcoder居然爆零。。果然是too naive。。小聪明全部直接输出“YES”过了pretest#xff0c;结果被叉也是%$% 找到规律传递下就好。后来看官方题解感觉逼格好高。。然而就是瞎搞#xff0c;找找规律就好 #includecstdio
#includequeue
#…第一场Bestcoder居然爆零。。果然是too naive。。小聪明全部直接输出“YES”过了pretest结果被叉也是%$% 找到规律传递下就好。后来看官方题解感觉逼格好高。。然而就是瞎搞找找规律就好 #includecstdio
#includequeue
#includecmath
#includestack
#includeiostream
#includealgorithm
#includecstring
#includequeue
#includemap
#includevector
#define ll long longusing namespace std;
const int MAXN 1e650;
const int MAXE 200500;
const int INF 0x3f3f3f;
int x[MAXN];int main(){int T;scanf(%d,T);while(T--){int n;scanf(%d,n);for(int i1;in;i) scanf(%d,x[i]);int t0;for(int i1;in;i) if(!x[i]) x[i1]^1;if(x[n]) coutYES\n;else coutNO\n;}return 0;
} View Code 转载于:https://www.cnblogs.com/luxiaoming/p/5079709.html