BrynzaMasterZa228's blog

By BrynzaMasterZa228, history, 8 months ago, In English

The 2nd day of IOI has finished and dissapointment arouses in China resulting in 4 participants who didn't solve full, who we can only imagine what will happen to them after losing -31415926535897932384626433832 social credits.

!!Friendly reminder it is only jokes!!

Full text and comments »

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

By BrynzaMasterZa228, history, 8 months ago, In English

China has only gotten 3 participants who have solved all of the problems in the first day of IOI. I can only imagine what will happen to the participant who didn't solve full. -9999999999999 Social credits

!Friendly reminder it is only jokes!

Full text and comments »

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

By BrynzaMasterZa228, 8 months ago, In English

https://www.spoj.com/problems/NSITACMC/ This is my solution https://ideone.com/mQgKIE using 2d fenwick tree.

I am getting runtime error when sending my solution in C++14(gcc 8.3) and C++(gcc 8.3), however when i send it in C++(g++ 4.3.2) i get accepted.

Does anyone know why i get runtime error? What should i do to get accepted

Update: I solved it without 2d fenwick tree using scanline(kinda) on 2d technique

However, i would still love some answers on why my initial solution was incorrect

Full text and comments »

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

By BrynzaMasterZa228, history, 17 months ago, In English

I just solved a problem that need 3^n recursion 0,1,2 0=not choose, 1=choose one way, 2=choose 2nd way like this, and its messy cause we need the path we took also it itself doesnt seem nice, can you guys please write your ways of writing .

sorry i will reply hours late cause i will sleep rn

Full text and comments »

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