文件名称:friday
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
USACO(friday)周期(模运算)
week[i+1]=(cur+month[i]) 7
下一个月13号的星期数=(这个月13号的星期数+偏移量) 周期-USACO (friday) cycle (modular arithmetic) week [i+1] = (cur+ month [i]) 7 13, the next number of weeks a month = (13, week of this month, the number+ offset) cycle
week[i+1]=(cur+month[i]) 7
下一个月13号的星期数=(这个月13号的星期数+偏移量) 周期-USACO (friday) cycle (modular arithmetic) week [i+1] = (cur+ month [i]) 7 13, the next number of weeks a month = (13, week of this month, the number+ offset) cycle
(系统自动生成,下载前可以参看下载内容)
下载文件列表
friday.cpp