Kwwiker

15

Jun 24th, 2021
551
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. maxi=0
  2. for a in range(0, 100):
  3.   p=0
  4.   for x in range(0, 100):
  5.     for y in range(0, 100):
  6.       if 2*x+y != 50 or x < y or a < x:
  7.         p+=1
  8.   if p==10000:
  9.     maxi=max(maxi, a)
  10. print(maxi)
RAW Paste Data