洗衣服
Time Limit: 1000MS Memory Limit: 65536KB
Problem Description
X是一个勤劳的小孩,总是会帮助大人做家务。现在他想知道对于一根长为L的绳子能晾开多少件宽为W的衣服,显然这些衣服不能相互叠压。
Input
多组输入。
每组输入两个整数L,W。
Output
输出答案。
Example Input
10 5 10 4
Example Output
2 2#include<stdio.h> int main() { int a,b,c; while(scanf("%d",&a)!=EOF){ scanf("%d",&b); c = a / b; printf("%d\n",c); } return 0; }
487

被折叠的 条评论
为什么被折叠?



