Change quotation
This commit is contained in:
parent
7de498efb6
commit
122c835b8a
@ -10,7 +10,7 @@ https://projecteuler.net/problem=19 =#
|
|||||||
using Dates
|
using Dates
|
||||||
|
|
||||||
function Problem19()
|
function Problem19()
|
||||||
"""
|
#=
|
||||||
You are given the following information, but you may prefer to do some
|
You are given the following information, but you may prefer to do some
|
||||||
research for yourself.
|
research for yourself.
|
||||||
|
|
||||||
@ -24,8 +24,7 @@ function Problem19()
|
|||||||
unless it is divisible by 400.
|
unless it is divisible by 400.
|
||||||
|
|
||||||
How many Sundays fell on the first of the month during the twentieth
|
How many Sundays fell on the first of the month during the twentieth
|
||||||
century (1 Jan 1901 to 31 Dec 2000)?
|
century (1 Jan 1901 to 31 Dec 2000)? =#
|
||||||
"""
|
|
||||||
sundays = 0
|
sundays = 0
|
||||||
for y in 1901:2000
|
for y in 1901:2000
|
||||||
for m in 1:12
|
for m in 1:12
|
||||||
|
Loading…
x
Reference in New Issue
Block a user