#include<bits/stdc++.h> using namespace std; int main(){ int s,v,a,b,h,m,time=10; cin>>s>>v; a=60*(24+8); time+=ceil(s/v); a-=time; if(a>=24*60){ a-=24*60; } m=a%60; h=a/60; printf("%02d:%02d",h,m-1); return 0; }
样例是对的但9是错的。。。 快fuo了。。。 大佬帮忙看看救救我