191982025-11-28 16:27:32Teret222Világnaptár (45 pont)cpp17Wrong answer 18/451ms528 KiB
#include <iostream>
using namespace std;

int main()
{
	int year, month, day;
	cin >> year >> month >> day;

	if (year % 2 == 0 and month == 7 and day == 1)
		cout << year << " " << month - 1 << " " << "SZN\n";
	else if (month == 12 and day == 31)
		cout << year << " " << month << " " << "VN\n";
	else
		cout << year << " " << month << " " << day;
}
SubtaskSumTestVerdictTimeMemory
base18/45
1Accepted0/01ms500 KiB
2Accepted0/01ms512 KiB
3Accepted0/01ms316 KiB
4Accepted2/21ms316 KiB
5Accepted2/21ms316 KiB
6Accepted3/31ms316 KiB
7Wrong answer0/31ms316 KiB
8Accepted3/31ms316 KiB
9Wrong answer0/31ms316 KiB
10Accepted3/31ms508 KiB
11Wrong answer0/31ms528 KiB
12Wrong answer0/31ms508 KiB
13Wrong answer0/31ms316 KiB
14Wrong answer0/31ms384 KiB
15Wrong answer0/31ms316 KiB
16Wrong answer0/31ms316 KiB
17Wrong answer0/31ms316 KiB
18Accepted2/21ms316 KiB
19Accepted3/31ms508 KiB