1 条题解

  • 6
    @ 2024-12-25 15:32:35
    #include<bits/stdc++.h>
    using namespace std;
    
    int main(){
    	int a,b,c,d,e,f,x,y,t;
    	char zz;
    	cin>>a>>zz>>b>>zz>>c>>d>>zz>>e>>zz>>f;
    	x=a*3600+b*60+c;
    	y=d*3600+e*60+f;
    	t=y-x;
    	cout<<t;
    	return 0;
    }
    
    
    • 1

    信息

    ID
    447
    时间
    1000ms
    内存
    64MiB
    难度
    5
    标签
    递交数
    17
    已通过
    14
    上传者