daily pastebin goal
49%
SHARE
TWEET

Untitled

densa21i1 Mar 19th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. k = 10001
  2. for i in range(N):
  3.     if a[i]%2 == 0 and a[i] < k:
  4.         k = a[i]
  5. if k == 10001:
  6.     k = 0
  7. for i in range(N):
  8.     if a[i] % 5 == 0:
  9.         a[i]= a[i] - k
  10. for i in range(N):
  11.     print(a[N-1-i])
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