shadow_Mas @ 2024-07-18 14:09:14
#include<bits/stdc++.h>
using namespace std;
int main()
{
double t = 470.0;
double s,v;
cin>>s>>v;
t -= ceil(s / v);
if(t < 0)t += 24 * 60;
if(int(t / 60) < 10)cout<<0;
cout<<int(t / 60);
cout<<":";
if(int(t) % 60 < 0)cout<<0;
cout<<int(t) % 60;
}
by diosadjk @ 2024-07-18 14:29:52
by shadow_Mas @ 2024-07-19 12:32:37
感谢,A掉了