127512024-12-29 18:40:37nkbalintVilágnaptár (45 pont)cpp17Wrong answer 18/451ms572 KiB
#include <iostream>

using namespace std;

int a, b, c;

int main()
{
    cin >> a >> b >> c;
    if (a % 4 == 0 && b == 7 && c == 1) cout << a << " " << b - 1 << " " << "SZN";
    else if (a % 4 == 0 && b == 6 && c == 31) cout << a << " " << b << " " << "SZN";
    else if (b == 12 && c == 31) cout << a << " " << b << " " << "VN";
    else cout << a << " " << b << " " << c;
}

SubtaskSumTestVerdictTimeMemory
base18/45
1Accepted0/01ms508 KiB
2Accepted0/01ms320 KiB
3Accepted0/01ms320 KiB
4Accepted2/21ms320 KiB
5Accepted2/21ms320 KiB
6Accepted3/31ms320 KiB
7Wrong answer0/31ms320 KiB
8Accepted3/31ms508 KiB
9Wrong answer0/31ms320 KiB
10Accepted3/31ms320 KiB
11Wrong answer0/31ms320 KiB
12Wrong answer0/31ms508 KiB
13Wrong answer0/31ms320 KiB
14Wrong answer0/31ms572 KiB
15Wrong answer0/31ms572 KiB
16Wrong answer0/31ms320 KiB
17Wrong answer0/31ms320 KiB
18Accepted2/21ms332 KiB
19Accepted3/31ms320 KiB