列表

详情


NC229583. Dripping Water Wears Through a Stone

描述

Dripping water wears away stone is an idiom, which originated from the Chinese book Meicheng biographyby Ban Gu of the Eastern Han Dynasty.

The idiom means that water drops continuously, can drop through the stone; persistence in metaphor, subtle power can also achieve the difficult work.


It is assumed that M drops of water can penetrate a 1 micron thick stone. How many drops of water does it take for a given N micron thick stone to break through?

输入描述

The input is twopositive integers M (1<=M<=1000000) and N (1<=N<=100), whichrepresent the number of water droplets required to breakdown a 1 micron thickstone and the thickness of the stone respectively.

输出描述

The output is apositive integer, that is, the number of water droplets required to break downa stone of N microns thick.

示例1

输入:

100000 2

输出:

200000

原站题解

上次编辑到这里,代码来自缓存 点击恢复默认模板

pypy3 解法, 执行用时: 86ms, 内存消耗: 25808K, 提交时间: 2021-10-23 08:45:48

m,n =map(int,(input().split()))
print(m*n)

Python3 解法, 执行用时: 38ms, 内存消耗: 4548K, 提交时间: 2022-01-16 20:12:26

a,b=map(int,input().split())
print(a*b)

上一题