#include<bits/stdc++.h> using namespace std; int main() { int s,v,t,h,m,h1,m1; scanf("%d %d",&s,&v); t=ceil(s/v)+10; h=t/60; m=t%60; if(m>0) h1=7-h; else h1=8-h; m1=60-m; if(h1<0) h1=h1+24; printf("%02d:%02d",h1,m1); return 0; }
只通过了#7,不知道是哪出了问题