Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Windows Develop CSharp
  • Category : CSharp
  • Tags :
  • Update : 2012-11-26
  • Size : 10kb
  • Downloaded :0次
  • Author :哈****
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Download1 Download2
Don't use download software fo downloading.
If download fail,Try it again for free.
Introduction - If you have any usage issues, please Google them yourself
黑色星期五 源程序名    friday.??? (pas,c,cpp) 可执行文件名 friday.exe 输入文件名   friday.in 输出文件名 friday.out 13号又恰好是星期五真的很特殊吗?也就是说,13号出现在星期五的几率比出现在其它周日的几率小吗?要回答这个问题,写一个程序计算13日出现在星期日,星期一,……星期六的次数(在给定的N年时间中)。这个时间段为1900年1月1日到1900+N-1年12月31日。N为非负整数,不超过400。 常识: * 1900年1月1日为星期一。 * September, April, June, and November为小月(30天),其余31天,除了在平年2月28天,闰年2月29天。 * 能被4整除的年份为闰年,但如果年份可被100整除,则它必须是400的倍数才是闰年。 输入 一个整数N。 输出 一行内,输出7个由空格分割的整数。依次表示13日出现在星期六,星期日,星期一,星期二……的次数。 样例 friday.in 20 friday.out 36 33 34 33 35 35 34
Packet file list
(Preview for download)
黑色星期五
..........\FRIDAY.DOC
..........\solution
..........\........\FRIDAY.PAS
..........\testdata
..........\........\enter
..........\........\FRIDAY.BAT
..........\........\friday1.in
..........\........\friday1.out
..........\........\friday2.in
..........\........\friday2.out
..........\........\friday3.in
..........\........\friday3.out
..........\........\friday4.in
..........\........\friday4.out
..........\........\friday5.in
..........\........\friday5.out
..........\........\friday6.in
..........\........\friday6.out
..........\........\friday7.in
..........\........\friday7.out
..........\........\friday8.in
..........\........\friday8.out
..........\........\friday9.in
..........\........\friday9.out
..........\黑色星期五的算法和程序.doc
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.