2 条题解

  • 0
    @ 2024-1-4 1:35:29
    #include<stdio.h>
    int main() {
    	int a,b,c,d;
    	scanf("%d %d %d %d",&a,&b,&c,&d);
    	int s=c*60+d-(a*60+b);
    	int m=s/60,n=s-m*60;
    	printf("%d %d\n",m,n);
    	return 0;
    }
    
    • 0
      @ 2023-10-22 15:27:26

      #include<stdio.h> int main() { int a,b,c,d; scanf("%d%d%d%d",&a,&b,&c,&d); int q=a60+b,p=c60+d; int e=(p-q)/60,f=(p-q)%60; printf("%d %d",e,f); return 0; }

      • 1

      信息

      ID
      10
      时间
      1000ms
      内存
      16MiB
      难度
      3
      标签
      递交数
      115
      已通过
      61
      上传者