#P1634. 禽兽的传染病
禽兽的传染病
Description
Animals have contracted an infectious disease. Each animal infects animals per round. After rounds of transmission, how many animals have been infected?
Input Format
Two non-negative integers and .
Output Format
A single integer, the number of infected animals.
10 2
121
Hint
It is guaranteed that and the answer are within the range of a -bit unsigned integer.
Translated by ChatGPT 5
京公网安备 11011102002149号