Misakaw13917 @ 2023-12-12 20:27:10
rt
#include <stdio.h>
int main(){
int yyy_s , yyy_v , mint , hour , mins ;
scanf("%d %d",&yyy_s,&yyy_v);
if((yyy_s % yyy_v) == 0){
mint = yyy_s / yyy_v + 10;
}
else{
mint = yyy_s / yyy_v + 11;
}
if( (mint / 60) - 8 > 0){
hour = 24 - (mint / 60 - 7) ;
}
else{
hour = 7 - (mint / 60);
}
mins = 60 - (mint % 60);
if(hour < 10){
printf("0%d:%d",hour,mins);
}
else{
printf("%d:%d",hour,mins);
}
return 0;
}
by cff_0102 @ 2023-12-12 20:33:30
发两遍干吗