mirror of
https://github.com/renbaoshuo/202401-programming-assignments.git
synced 2024-11-23 15:48:42 +00:00
【实践课内】1.顺序结构
This commit is contained in:
parent
62aa46db3b
commit
fa4d1064cd
@ -5,7 +5,7 @@ int a, t, b;
|
|||||||
int main() {
|
int main() {
|
||||||
scanf("%d%d%d", &a, &t, &b);
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user