100982024-03-26 19:02:30VargusVilágnaptár (45 pont)cpp17Wrong answer 18/453ms4016 KiB
#include <iostream>
#define ll long long

using namespace std;

int main()
{
    ll ev, ho, nap;
    cin >> ev >> ho >> nap;
    if (ev % 4 == 0 && ho == 7 && nap == 1)
    {
        cout << ev << " 6 SZN";
        return 0;
    }
    else if (ho == 12 && nap == 31)
    {
        cout << ev << " 12 VN";
        return 0;
    }
    else
        cout << ev << " " << ho << " " << nap;

    return 0;
}
SubtaskSumTestVerdictTimeMemory
base18/45
1Accepted0/03ms1748 KiB
2Accepted0/03ms1996 KiB
3Accepted0/03ms2156 KiB
4Accepted2/23ms2500 KiB
5Accepted2/23ms2712 KiB
6Accepted3/33ms3100 KiB
7Wrong answer0/33ms3236 KiB
8Accepted3/33ms3292 KiB
9Wrong answer0/33ms3540 KiB
10Accepted3/33ms3580 KiB
11Wrong answer0/33ms3660 KiB
12Wrong answer0/32ms3732 KiB
13Wrong answer0/33ms3736 KiB
14Wrong answer0/32ms3732 KiB
15Wrong answer0/33ms3736 KiB
16Wrong answer0/33ms3980 KiB
17Wrong answer0/32ms4012 KiB
18Accepted2/22ms4016 KiB
19Accepted3/32ms4016 KiB