Idiotas's blog

By Idiotas, history, 2 months ago, In English

Hello,

I’m Kai and I live in Honolulu(Hawaii). Usually each contest in Hawaii starts at 4:35 am to 6:35 am. I think we can all agree that taking part of a contest is very hard because I even have school. In the end, I decided to move to Berlin(Germany) just to participate to more contests. Do you think this is a great idea?

 
 
 
 
  • Vote: I like it
  • +33
  • Vote: I do not like it

»
2 months ago, # |
  Vote: I like it +39 Vote: I do not like it

Yes, a very good decision.

  • »
    »
    2 months ago, # ^ |
      Vote: I like it +3 Vote: I do not like it

    I lived in berlin. I recommend going to romania, CodeForces rounds are right after school ends.

    HappyNewYearGoodYear

    Here is a seg tree:


    #include <iostream> #define int long long using namespace std; int aint[800005]; void update(int node, int st, int dr, int i, int val){ if(st == dr){ aint[node] = val; return; } int mid = (st+dr)/2; if(i <= mid) update(2*node+1, st, mid, i, val); else update(2*node+2, mid+1, dr, i, val); aint[node] = aint[2*node+1] + aint[2*node+2]; } int query(int node, int st, int dr, int l, int r){ if(st == l && dr == r){ return aint[node]; } int mid = (st+dr)/2, sum=0; if(l <= mid) sum += query(2*node+1, st, mid, l, min(r, mid)); if(r > mid) sum += query(2*node+2, mid+1, dr, max(l, mid+1), r); return sum; } int32_t main(){ int n, q; cin>>n>>q; for(int i=0; i<n; i++){ int a; cin>>a; update(0, 0, n-1, i, a); } for(int i=0; i<q; i++){ int cer, a, b; cin>>cer>>a>>b; if(cer == 1) update(0, 0, n-1, a-1, b); else cout<<query(0, 0, n-1, a-1, b-1)<<endl; } }
    • »
      »
      »
      7 weeks ago, # ^ |
        Vote: I like it +10 Vote: I do not like it

      Since you thought it is a good idea to post that: this implementation is an abomination, you should be ashamed of yourself.

      • »
        »
        »
        »
        7 weeks ago, # ^ |
          Vote: I like it 0 Vote: I do not like it

        You just destroyed this guy's whole gimmick

»
2 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Move to Germany and grind Codeforces like a boss. :)

»
2 months ago, # |
  Vote: I like it +16 Vote: I do not like it

i think you shoul move to my house

»
2 months ago, # |
  Vote: I like it -8 Vote: I do not like it

i think that's cap i'm there and the contests starts at 5AM so u are not good

  • »
    »
    2 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Search the time zone and you’ll find out

»
2 months ago, # |
  Vote: I like it 0 Vote: I do not like it

amen

»
2 months ago, # |
  Vote: I like it -8 Vote: I do not like it

pay attention at school kids berlin is kinda sus amen thank you god

»
2 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Only if you are very certain you can assert the same financial stability.

  • »
    »
    2 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    I've just realised there might be a great chance I've been trolled

    • »
      »
      »
      2 months ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      No you’re not, I’m part of a very rich family and I speak very good German

»
2 months ago, # |
  Vote: I like it +3 Vote: I do not like it

potato

»
2 months ago, # |
  Vote: I like it -31 Vote: I do not like it

because of God we were born so if you don't pray to God you will be like Cosonochi so if you want to be liek our king tourist you need to pray to God and not go to berlin because is kinda sus so pray to God like God prays to us everyday, every minute and every second. Daddy is gonna buy you a mocking bird.

Amen, Your best friend Tzepu.

»
2 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Are you serious

»
2 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Despite this almost obviously being a troll post, here goes.

No. At the very least if you care about competing seriously, where rating is involved, at least get to a point where you're beyond the cheater wall (Maybe 1900+ would be good enough usually?), otherwise, you'll just be cross. If you don't care about ratings, just give virtuals for now, and give the occasional contest on weekends.

Also, I read something about normal contest timings changing or whatnot pretty soon, so keep that in mind as well.

»
2 months ago, # |
  Vote: I like it +11 Vote: I do not like it

After moving to US for college, I have to admit that I miss Germany. Codeforces rounds were at 4:35 pm there, but now it's 6:35 am.

»
7 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Lucky me never had that problem, contests start at 8:20 p.m for me.

»
7 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Here's my advice. If you're moving to another continent, your decision should not be based solely off of Codeforces.