SHARE
TWEET

Untitled

a guest May 22nd, 2019 88 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. while j > 0:
  2.     if rgf[j] < rgf_max[j]:
  3.         rgf[j] -= 1
  4.     for i in range(j+1,n):
  5.         rgf[i] = 1
  6.     if rgf[j] == rgf_max[j]:
  7.         rgf_max[i] = rgf_max[j] + 1
  8.     else:
  9.         rgf_max[i] = rgf_max[j]
  10.     print(str(rgf) + ' ' + str(rgf_max))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top