How to find the smallest value greater than 0 in a sequence of integers (google , or-tools )

后端 未结 0 1713
耶瑟儿~
耶瑟儿~ 2021-02-07 10:27

I have a sequence of integers and I want to find the minimum value greater than 0, such as [2,0,3,5,0,6,8,9] I want to find the minimum value 2 how can I do it?

         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题