文件名称: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")
相关搜索: 三天打鱼两天晒网

(系统自动生成,下载前可以参看下载内容)

下载文件列表

fishing or relaxing\fishing or relaxing.cpp

fishing or relaxing\流程图.pdf

fishing or relaxing

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org