All submissions for this problem are available.
The function takes the score of a batsman and counts the number of times the digit ’1′
appears in the page number.
Sample input 10 Sample output 2 Sample input 20 Sample output 12
|Time Limit:||1 sec|
|Source Limit:||50000 Bytes|
|Languages:||C, CPP14, JAVA|
Fetching successful submissions
If you are still having problems, see a sample solution here.