Advertisement
Guest User

Untitled

a guest
Oct 16th, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. READ
  2. RISULTATO==FALSE
  3. i==1
  4. A[0]==max
  5. WHILE (A[0]>A[i]) DO
  6. i==i+1
  7. END WHILE
  8. Z==A[i]
  9. i==0
  10. c==0
  11. w<M
  12. WHILE (Z>N[i]) DO
  13. N[i]==i+1
  14. IF (N[i]>N-1) THEN
  15. M[i]==i+1
  16. END IF
  17. IF (N[i]>Z) THEN
  18. c==c+1
  19. END IF
  20. END WHILE
  21. IF (c=w) THEN
  22. RISULTATO==TRUE
  23. END IF
  24. PRINT RISULTATO
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement