1
0
mirror of https://github.com/renbaoshuo/202401-programming-assignments.git synced 2024-12-16 15:44:39 +00:00

12 lines
150 B
C
Raw Normal View History

2024-10-16 11:19:34 +08:00
#include <stdio.h>
int a, t, b;
int main() {
scanf("%d%d%d", &a, &t, &b);
2024-10-16 11:29:14 +08:00
printf("%d", (long long)t * (b - 1) / (a - 1));
2024-10-16 11:19:34 +08:00
return 0;
}