+ Reply to Thread
Results 1 to 4 of 4
  1. [C++]Probleme diverse - vectori

    #1
    Moderator:
    Programare
    ~Wolf~'s Avatar
    Member since
    Jan 2017
    Location
    Dark abyss
    Posts
    3,078
    Last username
    GaBiTzU M@riju@n@ |Wolf| WarGods | Wolf
    Mentioned
    39 Post(s)
    Achievements Visitor Messages Given 1 Days Registered 3 Mentions Received 1 Mentions Given 2 Mentions Given 1 Visitor Messages Received 2 Visitor Messages Received 1 Total Posts 3
    Doneaza
    Sustine Comunitatea WarGods!
    Fii unul de-al nostru! Doneaza
    Doneaza in Cont Bancar
    Click aici pentru a face o Donatie

    [C++]Probleme diverse - vectori

    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~ * ^^
    Last edited by ~Wolf~; 26-10-2020 at 10:18 AM.
    Tutoriale C++: CLICK AICI
    Thanks B14D3 a dat Thanks acetui post
    Like lAsuStarl, B14D3 a dat Like acetui post

  2. [C++]Probleme diverse - vectori

    #2
    Moderator:
    League Of Legends
    B14D3's Avatar
    Member since
    Aug 2018
    Posts
    829
    Last username
    Faggot123 ADM3 |# >>Blade<< |# |B|L|A|D|E|
    Mentioned
    19 Post(s)
    Achievements Mentions Received 1 Mentions Given 1 Total Posts 2 Total Posts 1 Days Registered 2 Days Registered 1 Threads 1
    Doneaza
    Sustine Comunitatea WarGods!
    Fii unul de-al nostru! Doneaza
    Doneaza in Cont Bancar
    Click aici pentru a face o Donatie

    N-ai idee cat de mult ne-ai ajutat pe astia de a 9a .
    Imi place modul in care le-ai facut , puteai sa faci codul mai scurt printr-o comanda (scurteaza "for") dar nu am caietul la mine si nu o tin minte , dar sigur o sa le folosesc contra profului la problemele cu vectori.
    Bun post , foarte folositor , desii ai putea sa explici .
    "De ce facem asta" si "Cum o facem" , cel putin n-ar strica un pic de tutor in timp ce nu prea facem scoala , eu as aprecia asta cel putin .
    Ay Pierre , you wanna come out here?
    Thanks ~Wolf~ a dat Thanks acetui post
    Like ~TraNda~ a dat Like acetui post

  3. [C++]Probleme diverse - vectori

    #3
    Moderator:
    Programare
    ~Wolf~'s Avatar
    Member since
    Jan 2017
    Location
    Dark abyss
    Posts
    3,078
    Last username
    GaBiTzU M@riju@n@ |Wolf| WarGods | Wolf
    Mentioned
    39 Post(s)
    Achievements Visitor Messages Given 1 Days Registered 3 Mentions Received 1 Mentions Given 2 Mentions Given 1 Visitor Messages Received 2 Visitor Messages Received 1 Total Posts 3
    Doneaza
    Sustine Comunitatea WarGods!
    Fii unul de-al nostru! Doneaza
    Doneaza in Cont Bancar
    Click aici pentru a face o Donatie

    Quote Originally Posted by |B|L|A|D|E| 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!
    N-ai idee cat de mult ne-ai ajutat pe astia de a 9a .
    Imi place modul in care le-ai facut , puteai sa faci codul mai scurt printr-o comanda (scurteaza "for") dar nu am caietul la mine si nu o tin minte , dar sigur o sa le folosesc contra profului la problemele cu vectori.
    Bun post , foarte folositor , desii ai putea sa explici .
    "De ce facem asta" si "Cum o facem" , cel putin n-ar strica un pic de tutor in timp ce nu prea facem scoala , eu as aprecia asta cel putin .
    Apreciez feedback-ul.Ma incurajeaza sa imi continui treaba si chiar imi da un boost de moral .

    Nu stiu exact despre ce scurtare spui(sau cel putin la care problema), insa am zis sa fac si eu un post fara explicatii si fix atunci ma articulati .Foarte bine imi faceti.Maine cum intru pe forum voi edita cu explicatiile necesare(desi majoritatea sunt deja stiute daca se viziteaza celelalte topicuri) si voi mai posta cateva probleme.Nu ma tine sufletul sa trec la matrici inca ^^
    Last edited by ~Wolf~; 19-03-2020 at 11:02 PM.
    Tutoriale C++: CLICK AICI

  4. [C++]Probleme diverse - vectori

    #4
    Moderator:
    Programare
    ~Wolf~'s Avatar
    Member since
    Jan 2017
    Location
    Dark abyss
    Posts
    3,078
    Last username
    GaBiTzU M@riju@n@ |Wolf| WarGods | Wolf
    Mentioned
    39 Post(s)
    Achievements Visitor Messages Given 1 Days Registered 3 Mentions Received 1 Mentions Given 2 Mentions Given 1 Visitor Messages Received 2 Visitor Messages Received 1 Total Posts 3
    Doneaza
    Sustine Comunitatea WarGods!
    Fii unul de-al nostru! Doneaza
    Doneaza in Cont Bancar
    Click aici pentru a face o Donatie

    Se dă un vector cu n elemente numere naturale. Să se verifice dacă toate elementele vectorului sunt egale.
    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 şir cu n elemente, numere īntregi. Să se verifice dacă elementele pare din şir sunt 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!


    Orice şir se īncadrează īn următoarele categorii: șir constant, șir strict crescător, șir crescător, șir strict descrescător, șir descrescător sau șir neordonat.

    Se citește un șir cu n elemente naturale. Să se verifice īn ce categorie se īncadrează.
    (problema #1320)

    *mie imi da 80 de puncte desi programul e foarte corect si eficient; daca cineva gaseste un caz particular unde da un rezultat gresit va rog sa-mi spuneti
    *stiu ca puteam face cu un switch dar imi place mai mult asa

    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!
    Last edited by ~Wolf~; 26-10-2020 at 10:19 AM.
    Tutoriale C++: CLICK AICI

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Partners
Humble Monthly Bundle
Voucher PC-Garage