Untitled

mail@pastecode.io avatar
unknown
plain_text
6 months ago
345 B
1
Indexable
Never
import math

X = 0
for i in range(2, 5000):
    for xx in range(1, 10000):
        a = 47 + math.log(i - 1, 2)
        b = 2560*1440*24
        pol = math.ceil(60 * xx / i)
        ost = 60*xx - pol
        
        res = 1100*a*ost + pol*b
        if (res <= 320 * 1024*1024*8 and X < xx):
            X = xx
            
print(X)
Leave a Comment