CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 Windows编程 其他小程序

文件名称:1181

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2014-07-14
  • 文件大小:
    624byte
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

acm1181题: 除了写题,zqs还喜欢烤面包。

烤面包需要正反两面各烤一次,每个烤箱同时只能烤一个面包的一面,烤一面需要3分钟,现在他要烤N个面包,有M个烤箱,问烤完所有的面包需要多少时间

Input 有多组输入数据,第一行为一个数字case,代表有多少组输入数据 (case<=20)

以下每组数据一行有2个整数n,m,代表需要烤n个面包,有m个烤箱 (0<=N<=1000,1<=M<=1000)Output 一共case行,每行一个整数对应该组数据拷完所有面包需要多少时间Sample Input2

2 1

3 3

Sample Output12

6-acm1181 Question: In addition to written questions, zqs also like toast. Both sides need each toast grilled once, while each oven can bake a bread side, grilled side need three minutes, and now he wants to bake bread N, there are M oven, finished all the bread baked ask how long it takes Input plurality of sets of input data, the behavior of a first digital case, the number of the representative set of input data (case < = 20) the following data in each row have two integers n, m, n representative of a need to bake bread oven with m (0 < = N < = 1000,1 < = M < = 1000) Output total case lines of a pair of integers set of data should copy the time required to complete all the bread Sample Input2 2 1 3 3 Sample Output12 6
(系统自动生成,下载前可以参看下载内容)

下载文件列表

1181.cpp

相关说明

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

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com