#include<stdio.h> int main() { int a1,b1,a2,b2,s; scanf("%d:%d",&a1,&b1); scanf("%d:%d\n",&a2,&b2); s=b2-b1-1; printf("%d",s); return 0; }
Problem R: 零起点学算法13——求2个时间之间的分钟数
猜你喜欢
转载自www.cnblogs.com/chenlong991223/p/9720190.html
今日推荐
周排行