0_IQ_DOG's blog

By 0_IQ_DOG, history, 4 years ago, In English

Hello,

I'd like to start this post off by saying that I made a mistake. I am a frequent user of Ideone and I accidentally created a public paste during a contest, allowing dobby28 to copy my code. This was my mistake and I won't let it happen again.

Furthermore, I respect anyone who puts an honest foot forward to improve, whether they're gray or red. However, dobby28 has been consistently (if you look at his submissions) copying code from others and submitting it. Why is he (and others like him) unbanned? It's clear he's not trying in competitions, but rather just cheating to achieve a higher rating.

Full text and comments »

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

By 0_IQ_DOG, history, 5 years ago, In English

Hi guys,

I really like the Codeforces custom test theme as well as the Ideone theme, and so find myself using these instead of a local editor quite often. I'm trying to transition into VSCode, so I was wondering if anyone can suggest themes on VSCode that are similar to either of the above? I've gone through the standard ones as well as a bunch of extensions, but haven't been able to find one I like.

Full text and comments »

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

By 0_IQ_DOG, history, 10 years ago, In English

You are given two arrays, A and B, with N (1<=N<=10^5) elements each. You need to support Q (1<=Q<=10^5) queries:

TYPE 1: QUERY i j — query the maximum element with index from i to j

TYPE 2: UPDATE i j — for every k between i and j (inclusive) set a[k]=b[k]+a[k]

EXAMPLE:

A: 1 2 3

B: 6 9 1

QUERIES:

QUERY 1 3 -> 3

UPDATE 1 3

QUERY 1 3 -> 11

EXPLANATION:

After the update operation, A becomes 1+6 2+9 3+1 = 7 11 4. Maximum of this array is clearly 11.

Full text and comments »

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