求助,怎么只有80分

P5707 【深基2.例12】上学迟到

@农民傻了,分钟没补 $0$。 ```cpp #include <bits/stdc++.h> using namespace std; int main() { int s, v; cin >> s >> v; int tt = ceil((double)s / v) + 10; //耗时 int t = (480 - tt + 1440) % 1440; printf("%d%d:%d%d", t / 600, t / 60 % 10, t % 60 / 10, t % 60 % 10); return 0; } ```
by yezicong1104 @ 2024-09-23 20:15:30


|