daily pastebin goal
2%
SHARE
TWEET

Untitled

a guest Jan 17th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. line 490   
  2.     int VmaxLength=0; //s
  3.    
  4.    while (VesselsLeft > 0)
  5.    {
  6.    
  7.      for ( int k=1; k<=VesselsLeft; k++)
  8.      {
  9.         int len= mVes[k].Length();
  10.         if ( len > VmaxLength)
  11.         {
  12.             VmaxLength= len;
  13.             cout<<len<<endl;
  14.             i=k;
  15.         }
  16.      }
  17.      
  18.      //i=mRandom(1,VesselsLeft); // sirs code
  19.    
  20.      
  21.     // s commented
  22.    
  23.      cout<<"Maximum\n";
  24.      cout <<i;
  25.      cout <<endl;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top