codeflash-internal/experiments/pie_test_set/p01447.py

4 lines
117 B
Python

def problem_p01447(input_data):
import math
return math.ceil(math.log(int(eval(input_data))) / math.log(3))