Блог пользователя rachitiitr

Автор rachitiitr, история, 8 лет назад, По-английски

Hey everyone!
I have just understood the idea of Centroid Decomposition in previous zscoder's contest.
I was doing another problem based on this concept.
Here is my detailed source code
Can someone help me figure out what am I doing wrong. I have checked the integer overflow cases and the code almost seems right. I can't view the test cases of the gym problem.
Thanks.

  • Проголосовать: нравится
  • +3
  • Проголосовать: не нравится