100972024-03-26 18:55:11VargusVilágnaptár (45 pont)cpp17Wrong answer 15/453ms4412 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 > 6)
    {
        cout << ev << " 6 SZN";
    }
    else if (ho == 12 && nap == 31)
    {
        cout << ev << " 12 VN";
    }
    else
        cout << ev << " " << ho << " " << nap;
}
SubtaskSumTestVerdictTimeMemory
base15/45
1Accepted0/03ms1876 KiB
2Accepted0/03ms2120 KiB
3Accepted0/03ms2328 KiB
4Accepted2/23ms2364 KiB
5Accepted2/23ms2508 KiB
6Accepted3/33ms2696 KiB
7Wrong answer0/33ms2884 KiB
8Accepted3/33ms3088 KiB
9Wrong answer0/33ms3304 KiB
10Wrong answer0/33ms3352 KiB
11Wrong answer0/33ms3516 KiB
12Wrong answer0/33ms3868 KiB
13Wrong answer0/33ms4048 KiB
14Wrong answer0/32ms3960 KiB
15Wrong answer0/32ms4068 KiB
16Wrong answer0/33ms4084 KiB
17Wrong answer0/32ms4168 KiB
18Accepted2/22ms4168 KiB
19Accepted3/33ms4412 KiB