不知道错在哪的代码
这代码写得真强啊
#include<bits/stdc++.h>
using namespace std;
int main()
{
int s,v,time;
cin>>s>>v;
if(s%v!=0)time=s/v+1;
else time=s/v;
time+=10;
if(time<60&&60-time>=10)cout<<"07:"<<60-time;
if(time<60&&60-time<10)cout<<"07:0"<<60-time;
if(time==60)cout<<"07:00";
if(time>60)
{
int f=time%60,h;
if(f==0)
{
int h=time/60;
}
else h=time/60+1;
if(h<=8)cout<<0<<8-h<<':'<<60-f;
else
{
if(24+8-h>=10)cout<<32-h<<':'<<60-f;
else cout<<0<<32-h<<':'<<60-f;
}
}
return 0;
}