17 条题解

  • -3
    @ 2025-3-2 11:18:36

    #include<bits/stdc++.h> using namespace std;

    int main(){

    int a , b , c , d; cin >> a >> b >> c >> d; int e , f , g , h; e = a * 3600 + b * 60 + c + d; f = e / 3600; g = e % 3600 / 60; h = e % 60; cout << f << " " << g << " " << h;

    return 0;

    }

    信息

    ID
    2316
    时间
    1000ms
    内存
    256MiB
    难度
    1
    标签
    递交数
    412
    已通过
    236
    上传者