Advertisement
aimon1337

Untitled

May 12th, 2020
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.31 KB | None | 0 0
  1. int poz=1;
  2. int borx[1001],bory[1001]
  3. void parcurs(tii argumentele tale)
  4. int miny=1000000;
  5. int minx=1000000;
  6.  
  7. while(i<=n){
  8.     if(ox[i]<minx){
  9.         minx=ox[i];
  10.         for(int j=1;j<=n;++j){
  11.             if(oy[j]<miny)
  12.                 miny=oy[j];
  13.         }
  14.     }
  15.     else
  16.         i++;
  17.  
  18. }
  19. borx[poz]=minx;
  20. bory[poz]=miny;
  21. parcurs(x,y,minx,miny,poz);
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement