HNS_17502's blog

By HNS_17502, history, 2 years ago, In English

Hello everyone,

For question 1512C I am getting a wrong answer for test case 2 for the following code My_Solution. Can anyone guide me for which test case my code is not working? Thanks in advance :) .

  • Vote: I like it
  • -23
  • Vote: I do not like it

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

I don't know what the actual test case is, but a case I found where your code is wrong is

1
4 2
?00???
»
2 years ago, # |
  Vote: I like it 0 Vote: I do not like it

The following hacking program should output a randomly generated test case whose output is different from the expected output.

A-B Palindrome - Hacking
»
2 years ago, # |
  Vote: I like it 0 Vote: I do not like it

I think this might be a good time for learning stress testing. Here are couple of resources that helped me : blog tutorial and video tutorial