127502024-12-29 18:37:52nkbalintVilágnaptár (45 pont)cpp17Wrong answer 18/451ms556 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 (b == 12 && c == 31) cout << a << " " << b << " " << "VN";
    else cout << a << " " << b << " " << c;
}

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