1 条题解

  • 0
    @ 2026-4-5 20:12:09

    C++ :

    #include<bits/stdc++.h>
    using namespace std;
    int main(){
    	int sh,sm,eh,em;
    	cin>>sh>>sm>>eh>>em;
    	int t = 0;
    	t = (eh-sh)*60+em-sm;
    	cout<<t;
    	return 0;
    }
    
    • 1

    信息

    ID
    612
    时间
    1000ms
    内存
    128MiB
    难度
    (无)
    标签
    递交数
    0
    已通过
    0
    上传者