Jump to content

Search the Community

Showing results for tags 'programare'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • B-Zone
    • Announcements
    • B-Zone Clips
    • Community
    • Forum Suggestions
    • Market
    • Questions and Answers
  • San Andreas Multiplayer
    • RPG.B-Zone.Ro:7777 Roleplay
    • Wiki Website
  • Rage Multiplayer
    • V.B-ZONE.RO
  • B-Zone Online
    • B-Zone Championships
    • B-Zone Clans & Clubs
    • B-Zone Radios
    • Counter-Strike 1.6
    • Discord
    • Metin2
    • Minecraft
  • IT Zone
    • Design
    • Gadgets
    • Programming
    • Software & Hardware
    • Video Games
  • Real life
    • Entertainment
    • History
    • Juridic
    • Lifestyle
    • Politics
    • Sport
    • Vehicles
  • Trash Can
    • Trash Can
  • The Last Generation [TLG]'s The Last Generation
  • Very Important Person [VIP]'s [VIP] - Topic
  • zero Limits [zL]'s Topics
  • Sons of Anarchy MC [SoA]'s Club Matters
  • Unheard Spirits [END]'s Topics
  • The First Generation [TFG]'s General
  • United Blood Nation [UBN]'s DSICUTII LIBERE MEMBRII!
  • Wild Balkans [WB]'s Informatii
  • True Silent Aimbot [TSA]'s Topics
  • Alliance [A]'s General
  • Merry Weather [MW]'s Prezenta activitati
  • Merry Weather [MW]'s Anunturi Importante
  • Merry Weather [MW]'s Giveaway
  • Merry Weather [MW]'s Giveaway
  • Dangerous Life [dL]'s General
  • Elite Squad [eS]'s Discord
  • Fallen Angels [F]'s Topicurile Clanului # Clan Topics
  • Fallen Angels [F]'s Fallen Angels [F] # Regulament / Rules
  • Fallen Angels [F]'s Fallen Angels [F] # Sistem Promovare / Rank-UP
  • GTT Racing [GTT]'s GTT Racing
  • Hunters [H]'s Regulament

Calendars

  • Community Calendar
  • Merry Weather [MW]'s Events

Product Groups

There are no results to display.

Categories

  • MODURI
    • CLEO/SAMPFUNCS
    • Vehicles
    • Skins
    • Sounds
    • Effects
    • Weapons
    • Others
    • Modpacks
  • True Silent Aimbot [TSA]'s Files
  • Merry Weather [MW]'s Event

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Skype


Steam ID


Discord


Instagram


Location


Hobbies


Real name


RPG Nickname

Found 2 results

  1. Am vazut de multe ori scrise in 5~10 randuri sortari ineficiente. Cu un singur rand, se pot sorta elementele unui array foarte simplu si eficient, cu ajutorul functiei sort din biblioteca algorithm. Functia sort primeste ca parametrii: adresa de memorie de la care sa inceapa sortarea, adresa de memorie unde sa se opreasca cu sortarea si optional un functor care sa decida criteriul de sortare. Exemplu sortare in ordine crescatoare a elementelor de la jumatatea vectorului spre sfarsit: #include <algorithm> #include <iostream> #include <vector> int main() { std::vector<int> input = { 2, 5, 7, 6, 3, 4, 15, 11, 12, 18, 14, 27 , 5, 3, 12, 4 }; std::sort(input.begin() + input.size() / 2, input.end()); for (const auto& entry : input) { std::cout << entry << " "; } return 0; } // out: 2 5 7 6 3 4 15 11 3 4 5 12 12 14 18 27 Exemplu sortare in ordine crescatoare a tuturor elementelor cu restricita ca elementele pare sa apara in stanga elementelor impare: #include <algorithm> #include <iostream> #include <vector> int main() { std::vector<int> input = { 2, 5, 7, 6, 3, 4, 15, 11, 12, 18, 14, 27 , 5, 3, 12, 4 }; auto ascending_even_left_odd_right = [](int a, int b) { if (a % 2 == 0 && b % 2 == 1) return 1; if (a % 2 == 1 && b % 2 == 0) return 0; if (a < b) return 1; return 0; }; std::sort(input.begin(), input.end(), ascending_even_left_odd_right); for (const auto& entry : input) { std::cout << entry << " "; } return 0; } // out: 2 4 4 6 12 12 14 18 3 3 5 5 7 11 15 27 Pentru aprofundare, abordeaza urmatoarele probleme: EASY: sorteaza in ordine descrescatoare toate elementele MEDIUM: sorteaza in ordine crescatoare prima jumatate si in ordine descrescatoarea a 2-a jumatate HARD: sorteaza in zig-zag, primele 4 elemente crescator, urmatoarele 4 descrescator, urmatoarele 4 crescator si tot asa Pentru inrebari, va astept cu un reply sau cu un PM in cazul in care topicul este inchis. Bafta!
  2. HTML si CSS: http://learn.shayhowe.com/html-css/ - Nivel incepator + avansat - In limba Engleza. HTML, HTML5, Javascript, jQuery, PHP, etc: http://www.w3schools.com/ - Nivel incepator/+ - In 20+ limbi, inclusiv Romana. PHP (totul despre PHP si toate functiile posibile): http://www.php.net/manual/ro/ - Nivel incepator/+ - In 10+ limbi, inclusiv Romana. jQuery, Javascript, Python, Ruby, PHP, API-uri: http://www.codecademy.com/learn - Nivel incepator - In limba Engleza. HTML5, CSS3: http://channel9.msdn...olute-Beginners - Nivel incepator - In limba Engleza.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.