why this code worked?

Why CodeChef: Practical coding for everyone solution passed for this question CodeChef: Practical coding for everyone? How can test cases be so weak?
@humble_rookie

1 Like

Because they may not check brute one or time multiplier for java may be another point.

CodeChef: Practical coding for everyone check this out!! this is brute force too and worked and it is C++, so there test case were weak.

1 Like

Nice, he even did not take random r :slight_smile:
So weak tests)
I’ve wondered why there were so many AC during contest.
I suspected that it is for weak tests.

I get it.But How can they be so careless if that’s the case :frowning:

I agree with you

1 Like

The problem was a standard FFT, that might have had been the reason for so many AC’s … though I could not solve it :wink: