41162023-03-14 23:05:17kristofVilágnaptár (45 pont)python3Wrong answer 18/4517ms13856 KiB
year, month, day = map(int, input().split())

thirtyDays = [2, 3, 5, 6, 8, 9, 11]

"""if month in thirtyDays:
    if day == 31:
        month += 1
        day = 1"""
if month == 7 and year % 4 == 0:
    if day == 1:
        month = 6
        day = "SZN"
if month == 12:
    if day == 31:
        day = "VN"
print(year, month, day)
SubtaskSumTestVerdictTimeMemory
base18/45
1Accepted0/017ms11012 KiB
2Accepted0/017ms11328 KiB
3Accepted0/017ms11280 KiB
4Accepted2/217ms11364 KiB
5Accepted2/217ms11604 KiB
6Accepted3/317ms12100 KiB
7Wrong answer0/317ms12004 KiB
8Accepted3/317ms12440 KiB
9Wrong answer0/317ms12804 KiB
10Accepted3/317ms12760 KiB
11Wrong answer0/317ms12740 KiB
12Wrong answer0/317ms12768 KiB
13Wrong answer0/317ms12888 KiB
14Wrong answer0/317ms13176 KiB
15Wrong answer0/317ms13284 KiB
16Wrong answer0/317ms13196 KiB
17Wrong answer0/317ms13388 KiB
18Accepted2/217ms13616 KiB
19Accepted3/317ms13856 KiB