Skip to content

Instantly share code, notes, and snippets.

@alxfv
Created May 17, 2019 14:03
Show Gist options
  • Save alxfv/e0d98c813f2ed52f36a5c26d0519d99f to your computer and use it in GitHub Desktop.
Save alxfv/e0d98c813f2ed52f36a5c26d0519d99f to your computer and use it in GitHub Desktop.
import sys
def read_line():
return sys.stdin.readline().split()
def read_int_iter():
return map(int, read_line())
def read_int_array():
return list(read_int_iter())
def init_array(n, default=0):
return [default] * n
def iota(n, start=0):
return list(range(start, n))
def print_iter(a):
sys.stdout.write(' '.join(map(str, a)) + '\n')
def problem_a():
pass
def problem_b():
pass
def problem_c():
pass
def problem_d():
pass
def problem_e():
pass
def problem_f():
pass
def problem_g():
pass
def problem_h():
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment