Indiot's blog

By Indiot, history, 10 months ago, In English

So I decided to build an online judge for my graduation project but got rejected immediately by my supervised professor!

His feedback

Is there any project I can do that is related to CP? :((

Full text and comments »

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

By Indiot, history, 10 months ago, In English

Hi~

To be able to get the hell out of this grey color, i'm learning new data structures. One of those is Fenwick Tree. By copying code of others on the internet, i'm now able to perform some basic operations such as min / max/ sum on a specific interval. Now here come a new problem, how to find the maximum X * f(X) on range [0, r], f(X) here denotes the occurrences of X within that interval. Thank you all, I much appreciate it!

Full text and comments »

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

By Indiot, history, 10 months ago, In English

Hi!

Could someone plz explain to me why 1 / 2 modulo 1e9 + 7 = 5e8 + 5? ![ ](tmp)

my modulo function

output 5e8 + 4.

Thanks!

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By Indiot, history, 11 months ago, In English

The title says it all

Full text and comments »

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