Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Avem un sir de max 100000 de numere din intervalul [1,100].
- Sa se sorteze crescator acest sir, cu conditia ca doua valori alaturate sa nu fie egale.
- Ex:
- 10
- 2 4 3 5 4 3 2 4 4 4
- Rez:
- 2 4 2 4 3 4 3 4 5 4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement