Submission #68733402


Source Code Expand

import bisect, heapq, sys, math, copy, itertools, decimal
from collections import defaultdict, deque
sys.setrecursionlimit(10**7)
def INT(): return int(input())
def MI(d=0): return map(lambda x:int(x)+d, input().split())
def MS(): return map(str, input().split())
def LI(d=0): return list(map(lambda x:int(x)+d, input().split()))
def LS(): return list(map(str, input().split()))
def pr_line(itr): print(*itr, sep='\n')
def pr_mtx(matrix): [print(*row) for row in matrix] 
dij = [[1, 0], [0, 1], [-1, 0], [0, -1]]
dij2 = [[1, 0], [0, 1], [-1, 0], [0, -1], [1, 1], [1, -1], [-1, 1], [-1, -1]]
INF = float('inf')

X, Y = MI()
print((X-1+Y)%12 + 1)

Submission Info

Submission Time
Task A - What month is it?
User BenKenobi
Language Python (PyPy 3.10-v7.3.12)
Score 100
Code Size 659 Byte
Status AC
Exec Time 209 ms
Memory 95464 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 15
Set Name Test Cases
Sample 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt
All 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 01_random_00.txt, 01_random_01.txt, 01_random_02.txt, 01_random_03.txt, 01_random_04.txt, 01_random_05.txt, 01_random_06.txt, 01_random_07.txt, 01_random_08.txt, 01_random_09.txt, 01_random_10.txt, 01_random_11.txt
Case Name Status Exec Time Memory
00_sample_00.txt AC 194 ms 95080 KiB
00_sample_01.txt AC 196 ms 95312 KiB
00_sample_02.txt AC 200 ms 95208 KiB
01_random_00.txt AC 209 ms 95316 KiB
01_random_01.txt AC 203 ms 95464 KiB
01_random_02.txt AC 194 ms 95352 KiB
01_random_03.txt AC 192 ms 95012 KiB
01_random_04.txt AC 190 ms 95268 KiB
01_random_05.txt AC 191 ms 95256 KiB
01_random_06.txt AC 188 ms 95008 KiB
01_random_07.txt AC 187 ms 95208 KiB
01_random_08.txt AC 187 ms 95000 KiB
01_random_09.txt AC 190 ms 95432 KiB
01_random_10.txt AC 192 ms 95344 KiB
01_random_11.txt AC 189 ms 95312 KiB