Files
code_olymp/uts/uts_17_aut_py/3/A_RUSH.py

28 lines
606 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

from itertools import permutations
import zlib, json
#n = int(input()) # Лучше не смотреть на это НЕ решение)
#pool = list(map(int, input().split()))
#ans = sum(pool)//2
'''dis = {
206: 207,
155: 156,
355: 360,
356: 361,
277: 278,
380: 381,
464: 465,
54: 103,
311: 343
}'''
dis = {
}
print(json.dumps(dis))
print(json.loads(json.dumps(dis)))
kek = zlib.compress(bytearray(json.dumps(dis), encoding='UTF-8'), level=-1)
print(kek)
print(json.loads(str(zlib.decompress(kek), encoding='UTF-8')))
#if ans in dis:
# ans = dis[ans]
#print(ans)