zhukov000

14

Jun 24th, 2021
791
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. x = 4 * 625**9 - 25**15 + 2 * 5**11 - 7
  2. k = 0
  3. while x > 0:
  4.   if x % 5 == 4:
  5.     k += 1
  6.   x = x // 5
  7. print(k)
  8.  
Advertisement
Add Comment
Please, Sign In to add comment