满江红求助
查看原帖
满江红求助
1016101
xiaobeichen楼主2024/3/6 13:55
#include<bits/stdc++.h>
using namespace std;
int main(){
	long long hh,mm,ss,t1,t2,n;
	char oo;
	cin>>hh>>oo>>mm>>oo>>ss;
	t1=hh*3600+mm*60+ss;
	cin>>hh>>oo>>mm>>oo>>ss;
	t2=hh*3600+mm*60+ss;
	cin>>n;
	cout<<(t2-t1)*10;
    return 0;
}
2024/3/6 13:55
加载中...