It is a very sad day today. Google has announced that there won't be Kickstart, code Jam and Hash Code round anymore.
But I have a doubt that there will be no contests happen in future, or for this year only?
It is a very sad day today. Google has announced that there won't be Kickstart, code Jam and Hash Code round anymore.
But I have a doubt that there will be no contests happen in future, or for this year only?
I think Due to recession and mass layoffs all the google coding competitions delayed.. Then what about Hacker Cup and ICPC they too.
[contest:https://mirror.codeforces.com/contest/1749] [Educational codeforces round :138] Problem A: cowardly rook
using namespace std ; int main(){ int t; cin>>t; while(t--){ int n,m; cin>>n>>m; for(int i=0;i<m;i++){ int a,b; cin>>a>>b; } if(m<n){ cout<<"YES"<<endl; } else{ cout<<"NO"<<endl; } }
return 0;
}
23A - You're Given a String... 176341384
using namespace std; int main(){
int t;
cin>>t;
while(t--){
int n,k;
cin>>n>>k;
int cnt0=0;
int arr[n];
for(int i=0;i<n;i++){
cin>>arr[i];
if(arr[i]==0){
cnt0++;
}
}
if(cnt0==n){
cout<<"NO"<<endl;
}
else{
cout<<"YES"<<endl;
}
}return 0; }