1 test case failed@pythagorous challenge

https://ide.codingblocks.com/s/51309
https://hack.codingblocks.com/contests/c/512/61

1 test case failed.

Hey Ayush, your code will not work if you get 0 on input. for eg.
input:
1
0

your code doesn’t print anything for this but the correct output should be (0, 0).

1 Like