Skip to content

Instantly share code, notes, and snippets.

@tenmyo
Last active March 27, 2021 15:43
Show Gist options
  • Save tenmyo/7be0f51b852cc0d38ec8203324e6f538 to your computer and use it in GitHub Desktop.
Save tenmyo/7be0f51b852cc0d38ec8203324e6f538 to your computer and use it in GitHub Desktop.
Templates for AtCoder
from collections import defaultdict as dd
from collections import Counter
from pprint import pprint as pp
def nopp(*args): pass
pp = nopp # comment out this line for debugging
YN = {True: 'Yes', False: 'No'}
ri = lambda: int(input())
ria = lambda: list(map(int, input().split()))
rian = lambda n: [ria() for _ in range(n)]
rs = lambda: input()
rsa = lambda: input().split()
rsn = lambda n: [rs() for _ in range(n)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment