求助
查看原帖
求助
951770
Xugfxzmyy楼主2023/3/10 21:59
#include<bits/stdc++.h>
using namespace std;

int main()
{
    int a, b, c, d;
    cin >> a >>b >> c >> d;
    
    if (b < d)
    {
        int f = b + 60 - d;
        int e = a - c - 1;
    }
    else
    {
        int e = a - c;
        int f = b - d;
    }
    
    printf("%d%d", e, f);
    
    return 0;
}

显示无法编译

2023/3/10 21:59
加载中...