ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1104. Don’t Ask Woman about Her Age

Hope 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... :)
Posted by IlushaMax 9 Jul 2016 21:47
only test 7 I can't get right ans. I have 33
And WA4
Re: Hope these test cases will help u... :)
Posted by Filip Franik 12 Jul 2016 14:22
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... :)
Posted by abid1729 16 Jun 2019 12:25
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.