Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int poz=1;
- int borx[1001],bory[1001]
- void parcurs(tii argumentele tale)
- int miny=1000000;
- int minx=1000000;
- while(i<=n){
- if(ox[i]<minx){
- minx=ox[i];
- for(int j=1;j<=n;++j){
- if(oy[j]<miny)
- miny=oy[j];
- }
- }
- else
- i++;
- }
- borx[poz]=minx;
- bory[poz]=miny;
- parcurs(x,y,minx,miny,poz);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement