传统题 1000ms 256MiB

打游戏

该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。

Description

Xiaoming is playing a game, and it is known that he can earn nn experience points by completing it every minute. If he completes it, he will need mm experience points. So please help him calculate how long it will take for Xiaoming to clear the level at least?

Format

Input

There is a line of input with 2 positive integers nn and mm.

Output

The output only has one integer, indicating how many minutes it takes for Xiaoming to clear the level.

500 1005
3
3 10
4
1020 1321145
1296

Hint

Data Range

For 50% of the data

1nm1091<n<m≤10^9

For 100% of the data

0nm21474836470≤n<m≤2147483647

Source:

luogu U454293

周赛 - I 最初的开始 (Div.4)

未参加
状态
已结束
规则
ACM/ICPC
题目
6
开始于
2024-9-7 9:15
结束于
2024-9-8 20:15
持续时间
35 小时
主持人
参赛人数
6