八达网

标题: 给大家推荐一个编程网站:ProjectEuler.net [打印本页]

作者: hkkhhk    时间: 2008-11-26 12:03
标题: 给大家推荐一个编程网站:ProjectEuler.net
上面有218道经典的试题

EX:

Problem 19
14 June 2002


You are given the following information, but you may prefer to do some research for yourself.

1 Jan 1900 was a Monday.
Thirty days has September,
April, June and November.
All the rest have thirty-one,
Saving February alone,
Which has twenty-eight, rain or shine.
And on leap years, twenty-nine.
A leap year occurs on any year evenly divisible by 4, but not on a century unless it is divisible by 400.
How many Sundays fell on the first of the month during the twentieth century (1 Jan 1901 to 31 Dec 2000)?



Answer:   
   


可以用任意语言编程,填入正确答案就可以完成了

[ 本帖最后由 hkkhhk 于 2008-11-26 12:31 编辑 ]
作者: YF~dragoon    时间: 2008-11-26 12:04

作者: 毛片小王子    时间: 2008-11-26 12:07
提示: 作者被禁止或删除 内容自动屏蔽
作者: ILOVECR    时间: 2008-11-26 12:45
好的,友情帮顶




欢迎光临 八达网 (https://www.8-da.com/) Powered by Discuz! X2.5