文件名称:fishing or relaxing
- 所属分类:
- 其他小程序
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2017-07-07
- 文件大小:
- 140kb
- 下载次数:
- 0次
- 提 供 者:
- wwwhn*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
某人从2010年1月1日起开始“三天打鱼两天晒网”,问这个人在以后的某一天中是“打鱼”还是“晒网”。 根据题意可以将解题过程分为三步:
1)计算从2010年1月1日开始至指定日期共有多少天;
2)由于“打鱼”和“晒网”的周期为5天,所以将计算出的天数用5去除;
3)根据余数判断他是在“打鱼”还是在“晒网”;
若 余数为1,2,3,则他是在“打鱼”
否则 是在“晒网”(Someone since January 1, 2010 began "three days fishing, two days to bask in the net", ask this person in the next day is "fishing" or "drying nets"". According to the problem solving process can be divided into three steps:
1) how many days will be counted from January 1, 2010 until the appointed date?;
2) because the period of fishing and drying the net is 5 days, the number of days calculated is removed by 5;
3) according to the remainder, is he fishing or in the sun?";
If the remainder is 1, 2, 3, he is fishing"
Otherwise it's in the sun")
1)计算从2010年1月1日开始至指定日期共有多少天;
2)由于“打鱼”和“晒网”的周期为5天,所以将计算出的天数用5去除;
3)根据余数判断他是在“打鱼”还是在“晒网”;
若 余数为1,2,3,则他是在“打鱼”
否则 是在“晒网”(Someone since January 1, 2010 began "three days fishing, two days to bask in the net", ask this person in the next day is "fishing" or "drying nets"". According to the problem solving process can be divided into three steps:
1) how many days will be counted from January 1, 2010 until the appointed date?;
2) because the period of fishing and drying the net is 5 days, the number of days calculated is removed by 5;
3) according to the remainder, is he fishing or in the sun?";
If the remainder is 1, 2, 3, he is fishing"
Otherwise it's in the sun")
相关搜索: 三天打鱼两天晒网
(系统自动生成,下载前可以参看下载内容)
下载文件列表
fishing or relaxing\fishing or relaxing.cpp
fishing or relaxing\流程图.pdf
fishing or relaxing
fishing or relaxing\流程图.pdf
fishing or relaxing