Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- line 490
- int VmaxLength=0; //s
- while (VesselsLeft > 0)
- {
- for ( int k=1; k<=VesselsLeft; k++)
- {
- int len= mVes[k].Length();
- if ( len > VmaxLength)
- {
- VmaxLength= len;
- cout<<len<<endl;
- i=k;
- }
- }
- //i=mRandom(1,VesselsLeft); // sirs code
- // s commented
- cout<<"Maximum\n";
- cout <<i;
- cout <<endl;
Add Comment
Please, Sign In to add comment