Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from functools import partial
- from sys import stdin, stdout, argv
- if 'NO_ONLINE_JUDGE' not in argv:
- inp = stdin
- out = stdout
- else:
- inp = open('input.txt', 'r', encoding='utf-8')
- out = open('output.txt', 'w', encoding='utf-8')
- print = partial(print, file=out)
- out.close()
Add Comment
Please, Sign In to add comment