Tag: problem: (A) Fair Game Solution In C/C++

Codeforces Round #436 (Div. 2), problem: (A) Fair Game Solution In C/C++

#include<cstdio> #include<iostream> using namespace std; int n,cnt,ans,A,B; int buck; int main(){ scanf(“%d”,&n); for(int i = 1;i <= n;i++){ cin >> cnt; if(!buck){ ans++; if(A) B = cnt; else A...

Want to stay up to date with the latest news?

We would love to hear from you! Please fill in your details and we will stay in touch. It's that simple!