https://ide.codingblocks.com/s/44622
https://hack.codingblocks.com/contests/c/512/1289
All my custom test cases are working. However the solution shows wrong answer when submitting to hackerblocks.
Can anyone point out the mistake?
https://ide.codingblocks.com/s/44622
https://hack.codingblocks.com/contests/c/512/1289
All my custom test cases are working. However the solution shows wrong answer when submitting to hackerblocks.
Can anyone point out the mistake?
Hey Sunny, your code is not working as o1[i]+o2[i] is not fetching you the correct answer. check for this test case
input:
1
13
77 88 99 100 30 74 270 222 199 139 80 90
correct output: 7