mirror of
https://github.com/renbaoshuo/202401-programming-assignments.git
synced 2024-12-16 15:44:39 +00:00
12 lines
150 B
C
12 lines
150 B
C
#include <stdio.h>
|
|
|
|
int a, t, b;
|
|
|
|
int main() {
|
|
scanf("%d%d%d", &a, &t, &b);
|
|
|
|
printf("%d", (long long)t * (b - 1) / (a - 1));
|
|
|
|
return 0;
|
|
}
|