Shahriar_CSECU's blog

By Shahriar_CSECU, history, 6 years ago, In English

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.

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

| Write comment?
»
6 years ago, # |
Rev. 2   Vote: I like it +10 Vote: I do not like it

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.