90分求助
查看原帖
90分求助
971231
silver_wing6楼主2023/5/17 17:02
#include<bits/stdc++.h>
using namespace std;
int main(){
	int s,v,t,h,m,e,f;
	cin>>s>>v;
	t=s/v+11;
	h=t/60;
	m=t%60;
	e=7-h;
	f=60-m;
	if (e<0){
		e=24+e;
	}
	printf("%02d",e);
	cout<<":";
	printf("%02d",f);
	return 0;
}
2023/5/17 17:02
加载中...