結果 : stock span problem using stack in java