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

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

I have used sqrt decomposition but got wa in test 4.But the test case is not given full but some dots in last part.And also didn't find any bug in may code.Can anyone please help me to find the bug. Thanks In Advance.

E-Holes

My Code.

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

»
6 лет назад, # |
Rev. 2   Проголосовать: нравится +10 Проголосовать: не нравится

What I do to find bugs in my code is the following: code a generator of random input data, preferably generating lots of small inputs, and comparing the output of my code with a brute force or an internet solution. This requires a little bit of work, but this almost always helps me find the bug.