2928: 计算完全装满的盒子数
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:8
Solved:6
Description
一个仓库有 T 吨货物,每个集装箱最多能装 L 吨。请问在不超载的情况下,最多能装满多少个集装箱?
提示:使用 floor 函数计算。公式:装满的集装箱数 = floor(T / L)。
提示:使用 floor 函数计算。公式:装满的集装箱数 = floor(T / L)。
Input
两个正实数 T 和 L(范围:0 < T, L ≤ 10^3)。
Output
一个整数,表示最多能装满的集装箱数。
Sample Input Copy
10.5 3.0
Sample Output Copy
3
HINT
T 和 L 均为正实数,且不超过 1000。