Probleme diverse cu vectori
Sursa:You have to register to be able to see this link. Register HERE!
If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!
Se dă un şir cu n elemente, numere naturale. Să se verifice dacă toate elementele şirului sunt pare.
C++ Code:
You have to register to be able to see this link. Register HERE!
If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!
Se dă un vector cu n elemente numere naturale. Să se verifice dacă toate elementele vectorului sunt diferite două cāte două.
C++ Code:
You have to register to be able to see this link. Register HERE!
If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!
Se dă un vector cu n elemente numere naturale. Să se verifice dacă are elementele ordonate crescător.
C++ Code:
You have to register to be able to see this link. Register HERE!
If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!
*thanks for idea @~JoK3r~ * ^^