110002024-06-04 09:39:21madvirÖntözés (50 pont)cpp17Wrong answer 3/50166ms1124 KiB
#include <iostream>

using namespace std;

int main()
{
    int q, m;
    cin >> q >> m;

    for(int i=0; i<q; i++) {
        long long dif;
        int nap1, nap2, d1, d2;
        cin >> nap1 >> d1 >> nap2 >> d2;
        dif=(nap2-nap1)*24-d1+d2;
        int db=dif/m;
        cout << db << endl;
    }

    return 0;
}
SubtaskSumTestVerdictTimeMemory
base3/50
1Wrong answer0/03ms356 KiB
2Wrong answer0/027ms524 KiB
3Wrong answer0/53ms624 KiB
4Wrong answer0/5116ms1100 KiB
5Wrong answer0/33ms356 KiB
6Wrong answer0/33ms356 KiB
7Wrong answer0/33ms356 KiB
8Wrong answer0/33ms356 KiB
9Wrong answer0/33ms488 KiB
10Wrong answer0/33ms376 KiB
11Wrong answer0/33ms356 KiB
12Wrong answer0/13ms616 KiB
13Accepted1/13ms372 KiB
14Accepted1/13ms484 KiB
15Accepted1/13ms356 KiB
16Wrong answer0/2152ms952 KiB
17Wrong answer0/3158ms1076 KiB
18Wrong answer0/2166ms936 KiB
19Wrong answer0/3145ms944 KiB
20Wrong answer0/1141ms1076 KiB
21Wrong answer0/1134ms996 KiB
22Wrong answer0/3155ms1124 KiB