1
0
mirror of https://github.com/renbaoshuo/202401-programming-assignments.git synced 2024-10-18 00:14:08 +00:00

【实践课内】1.顺序结构

This commit is contained in:
Baoshuo Ren 2024-10-16 11:29:14 +08:00 committed by GitHub
parent 62aa46db3b
commit fa4d1064cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,7 +5,7 @@ int a, t, b;
int main() {
scanf("%d%d%d", &a, &t, &b);
printf("%d", 1ll * t * (b - 1) / (a - 1));
printf("%d", (long long)t * (b - 1) / (a - 1));
return 0;
}