All pastes #908589 Raw Edit

Someone

public text v1 · immutable
·published 2008-02-18 16:26 UTC
rendered paste body
   1.
      int iDont[9];
   2.
       
   3.
              iDont[0] = 5000;
   4.
              iDont[1] = 10000;
   5.
              iDont[2] = 15000;
   6.
              iDont[3] = 20000;
   7.
              iDont[4] = 25000;
   8.
              iDont[5] = 30000;
   9.
              iDont[6] = 35000;
  10.
              iDont[7] = 40000;
  11.
              iDont[8] = 45000;
  12.
              iDont[9] = 50000;
  13.
       
  14.
       
  15.
              for(int x=0; x<10; x++)
  16.
              {
  17.
                      int size = iDont[x];
  18.
                      float v[size];
  19.
                      float k=0;
  20.
                      for (int i=0; i<size; i++)
  21.
                      {
  22.
                      
  23.
                              v[i] = k;
  24.
                              k=k+0.1;
  25.
                      }
  26.
                              //      v[i]=rand()%1000;
  27.
       
  28.
                      S.selectionSort(v,size);
  29.
       
  30.
       
  31.
                      S.display();
  32.
              }

Total Paste Views: 1 — Trackback (0) — PermaLink — Remove Paste