CSICTF-Writeups/Miscellaneous/Machine Fix/flag.py

8 lines
136 B
Python
Raw Normal View History

2020-07-31 18:23:33 +05:30
def flag(n):
sum = 0
while (n > 0):
sum += n
n //= 3
return sum
print(flag(523693181734689806809285195318))