#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; }
#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; }
转载于:https://www.cnblogs.com/chenlong991223/p/9720190.html