|
|
back to boardHope these test cases will help u... :) Try these test cases. Test 1: 0 Ans:2 Test 2: 1 Ans:2 Test 3: 2 Ans:3 Test 4: Z0Z Ans:36 Test 5: 21 Ans:4 Test 6: ZIZ Ans:No solution. (Don't forget to put the full-stop at the end!!!) Test 7: AERGUFG12312OP Ans:32 Test 8: 234DFG67 Ans:23 And this problem can be solved within int range. Edited by author 09.12.2015 20:14 Re: Hope these test cases will help u... :) only test 7 I can't get right ans. I have 33 And WA4 Re: Hope these test cases will help u... :) Removed my post, because apparently I can't alphabet :) Edited by author 12.07.2016 14:45 Re: Hope these test cases will help u... :) IN TEST CASE 2, FOR INPUT 0 , WHY ANS IS ONLY 2 IT CAN BE 1,2,3,4,5.......35. BECAUSE ZERO IS DIVISIBLE BY ALL. Re: Hope these test cases will help u... :) You can't divide by 0! So 1 isn't a solution and therefore it's 2: |
|
|