luogu#P1634. 禽兽的传染病
禽兽的传染病
Background
Inspired by mxj.
Problem 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