given an array A of N integers, returns the smallest positive integer (greater than 0) that does not occur in A

后端 未结 0 1620
梦谈多话
梦谈多话 2021-01-17 04:41

I tried to solve this exercise I got 66 percent I can not understand why can you help?


The exercise is: Write a function:

int solution(vector &A);

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