Kole's blog

By Kole, history, 10 years ago, In English

I'm getting denial of judgment for problem TROY Query. How to fix this issue?

My submission is 24249934.

Full text and comments »

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

By Kole, history, 10 years ago, In English

I saw in someone's code declaration for struct like this, but I forgot how exactly. Does somebody maybe know how it should be written correctly?

struct Interval
{
   int l, r;
   Interval() l(), r() {}
   Interval(int _l, int _r) l(_l), r(_r) {}
}

Full text and comments »

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