You are viewing a single comment's thread. Return to all comments →
while( h1[col1] != h2[col2] || h2[col2] != h3[col3] ) { if( (h1[col1] > h2[col2] || h1[col1] > h3[col3])&& col1<h1.Length-1 ) col1++; else if(( h2[col2] > h1[col1] || h2[col2] > h3[col3])&& col2<h2.Length-1 ) col2++; else if((h3[col3] > h2[col2] || h3[col3] > h1[col1])&& col3<h3.Length-1) col3++; else{ h1[col1]=0; break; } } Console.WriteLine(h1[col1]);
Did that in C#
Seems like cookies are disabled on this browser, please enable them to open this website
Equal Stacks
You are viewing a single comment's thread. Return to all comments →
Did that in C#