liyunranElsa @ 2024-09-24 20:35:35
#include <bits/stdc++.h>
using namespace std;
int main() {
int a,b,c,d,t,t1;
double s,v;
scanf("%lf%lf",&s,&v);
t=ceil(s/v)+10;
if(t>24*60){
t=24*60;
}
t1=t/60;
b=60-t%60;
if(t1>8) a==32-t1-1;
else a=7-t1;
if(b==60){
a++;
b=0;
}
printf("%02d:%02d",a,b);
return 0;
}