文件名称:fishing or relaxing
-
所属分类:
- 标签属性:
- 上传时间:2017-07-06
-
文件大小:140kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
某人从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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.