Problem doll_noi
User BAF123123
Submission Time 2024-02-17 23:14:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

doll_noi.cpp: In function ‘int main()’:
doll_noi.cpp:27:37: error: ‘y’ was not declared in this scope
27 | if (array[a] - 2 >= array[i+y]){
| ^
doll_noi.cpp: At global scope:
doll_noi.cpp:45:1: error: expected declaration before ‘}’ token
45 | }
| ^