mirror of
https://github.com/renbaoshuo/202401-programming-assignments.git
synced 2024-11-27 14:36:19 +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;
|
|
}
|