scripts/ege/13118674/14.py

4 lines
61 B
Python
Raw Normal View History

2023-05-05 00:45:01 +03:00
n = 4**1014 + 2**1012 - 7
n = bin(n)[2:]
print(n.count("1"))