如题,我看讨论区那个分数补0,我觉得我也补了,但是就是不过(
#include<cstdio>
#include<cmath>
using namespace std;
int main(){
int s,v,t,a=0,b,c;
cin>>s>>v;
if(s%v==0) a=1;
if(a==1) t=s/v+10;
else if(a==0) t=s/v+11;
b=t/60;
c=t%60;
if(c!=0&&7-b>=0) cout<<"0"<<7-b<<":"<<60-c;
if(c==0&&8-b>=0) cout<<"0"<<8-b<<":00";
if(c!=0&&7-b<0) cout<<24+7-b<<":"<<60-c;
if(c==0&&8-b<0) cout<<24+8-b<<":00";
return 0;
}```