Please read the new rule regarding the restriction on the use of AI tools. ×

CHAT_WITH_HER's blog

By CHAT_WITH_HER, history, 22 months ago, In English

I tried to think of testcase where my testcase fails. But, unfortunately i couldn't up with any.

Here is the question

and

Here is my solution

Can anyone tell me any testcase where my code fails ?

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

| Write comment?
»
22 months ago, # |
Rev. 2   Vote: I like it +3 Vote: I do not like it
Testcase

Your output: 1

Answer: 2