大佬求助
查看原帖
大佬求助
1404193
mikeLD楼主2024/11/23 16:03
#include<bits/stdc++.h>
using namespace std;
int s,v,t,h,m;
int main()
{
	cin>>s>>v;
    t=ceil(s/v)+10;
    if(t>480){
        h=t/60;
        m=t%60;
    }
    cout<<h<<":"<<m;


	return 0;
}
2024/11/23 16:03
加载中...