求教大佬哪里扣了三十分
查看原帖
求教大佬哪里扣了三十分
1469528
wdclanking楼主2024/10/9 19:25

这是我的代码:

#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;
}
2024/10/9 19:25
加载中...