wdclanking @ 2024-10-09 19:25:01
这是我的代码:
#include<stdio.h>
#include<math.h>
int main()
{int s,v,sum;
scanf("%d %d",&s,&v);
int t;
t=ceil(s/v+11);
sum = 8*60 -t;
int m,n;
m =sum/60;
n =sum%60;
printf("%02d:%02d\n",m,n);
return 0;
}
by gaoxijun20140828 @ 2024-10-10 13:16:26
emm...我好像把scanf换成cin就好了。。。 反正我AC