题解 | #分钟计算#
分钟计算
https://ac.nowcoder.com/acm/problem/21994
#include<cstdio>
int main() {
int a,b,c,d;
scanf("%d%d%d%d",&a,&b,&c,&d);
b+=a*60;
d+=c*60;
printf("%d",d-b);
}
题解 文章被收录于专栏
https://ayx.moefox.tech/
分钟计算
https://ac.nowcoder.com/acm/problem/21994
#include<cstdio>
int main() {
int a,b,c,d;
scanf("%d%d%d%d",&a,&b,&c,&d);
b+=a*60;
d+=c*60;
printf("%d",d-b);
}
https://ayx.moefox.tech/
相关推荐