Jump to content

TLG George

VIP
  • Posts

    3390
  • Joined

  • Last visited

  • Days Won

    32

Other groups

TLG George last won the day on December 3 2025

TLG George had the most liked content!

About TLG George

  • Birthday 12/16/2000

Profile Information

  • Gender
    Male
  • Location
    Cluj-Napoca
  • Hobbies
    ★ Moto-cross ★
    ★ Programming ★
    ★ Gaming ★
    ★ Beer ★

Previous Fields

  • Real name
    George
  • RPG Nickname
    Grizzly.

Recent Profile Visitors

52819 profile views

TLG George's Achievements

Mentor

Mentor (12/14)

  • 60 Consecutive Logs Rare
  • 30 Consecutive Logs Rare
  • 300 Reactions Given
  • 100 Topics Rare
  • 50 Topics Rare

Recent Badges

1.5k

Reputation

Single Status Update

See all updates by TLG George

  1.  +1 daca va este de folos. :) 

    1. eB Radu

      eB Radu

       

      bool binary_search(int *a, int p, int q, int k) {
         if (k>a[q] || k<a[p]) // ca sa nu mai caute numere care sunt in afara ariei
              return false;
       if (p>q) return false;
          int m=(p+q)/2;
          if(a[m] == k)
              return true;
        if (a[m] > k)
              return binary_search(a, p, m-1, k); //m-1 pentru ca m diferit de k
          else
              return binary_search(a, m+1, q, k); // ca sa cauti in partea dreapta.
        
      

       

       

       

×
×
  • 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.