dear_earth's blog

By dear_earth, history, 13 months ago, In English

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?

Full text and comments »

  • Vote: I like it
  • -18
  • Vote: I do not like it

By dear_earth, history, 13 months ago, In English

I think Due to recession and mass layoffs all the google coding competitions delayed.. Then what about Hacker Cup and ICPC they too.

Full text and comments »

  • Vote: I like it
  • -8
  • Vote: I do not like it

By dear_earth, history, 17 months ago, In English

[contest:https://codeforces.com/contest/1749] [Educational codeforces round :138] Problem A: cowardly rook

include<bits/stdc++.h>

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;

}

Full text and comments »

  • Vote: I like it
  • -18
  • Vote: I do not like it

By dear_earth, history, 17 months ago, In English

23A - Дана строка... 176341384

include<bits/stdc++.h>

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; }

Full text and comments »

  • Vote: I like it
  • -37
  • Vote: I do not like it