updating result
if ( COUNT >= current_max ) : NEW_LINE INDENT current_max = COUNT ; NEW_LINE reset_result ( input [ i ] [ j ] , input ) ; NEW_LINE DEDENT reset_visited ( ) ; NEW_LINE COUNT = 0 ; NEW_LINE