Problem uniquenumbers
User Johnnie
Submission Time 2023-06-27 21:06:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

uniquenumbers.cpp: In function ‘int main()’:
uniquenumbers.cpp:15:16: error: expected ‘;’ before ‘for’
15 | prev = nums[0]
| ^
| ;
16 | for (int i = 1; i < N; i++)
| ~~~
uniquenumbers.cpp:16:18: error: ‘i’ was not declared in this scope
16 | for (int i = 1; i < N; i++)
| ^