Skip to content / Đến nội dung
ThichHocToan.com

SASMO 2019 Grade 4 Question 22

SASMO · SASMO 2019 Grade 4

Question 22

January 23, 2019 can be written in the 8-digit date format 23/01/2019. September 2, 2019 can be written as 02/09/2019. How many digit “3”s are there in all 8-digit dates of the year 2019?

(For example, the date 30/03/2019 contains two “3” digits.)

Count every occurrence of 3 across all valid calendar dates from 01/01/2019 through 31/12/2019, including two occurrences in one date.

Input: enter a whole number using digits only, without units. Leading zeroes from the paper answer grid may be omitted.