DOUBT BASED ON QUESTION "NUKES"

Hey, I submitted my code for the NUKES problem, but 4 of the 8 cases got rejected. Could someone please help me out? Thanks.

My code:

https://www.codechef.com/viewsolution/18896716

The size of your array equals N, But shouldn’t it be equal to K.

1 Like

:confused: Do you know how many times I had to submit the code to find out the bug?? Just when I was about to write, I came to know that the question is answered…

Man, why don’t you all just sleep? XD

1 Like

I feel sad for you…xD

1 Like

It’s karma @sarthakmanna… U did the same thing to me sometimes… xD

1 Like

Haha… Did I?

1 Like

Lololololololol xDDDDD

No one can answer before you if you never answer :stuck_out_tongue: :stuck_out_tongue:

No one can answer before you if you're the only guy in the forum
1 Like

lololol
Yeah sure

Hahahha xD