Problem assistance
User spambot696969
Submission Time 2024-08-01 15:39:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

assistance.cpp: In function ‘int main()’:
assistance.cpp:9:14: error: expected ‘,’ before ‘;’ token
9 | int arr = [a; b; c; d; e];
| ^
| ,
assistance.cpp:9:14: error: expected identifier before ‘;’ token
assistance.cpp:9:14: error: expected ‘]’ before ‘;’ token
9 | int arr = [a; b; c; d; e];
| ^
| ]
assistance.cpp: In lambda function:
assistance.cpp:9:14: error: expected ‘{’ before ‘;’ token
assistance.cpp: In function ‘int main()’:
assistance.cpp:9:14: error: cannot convert ‘main()::<lambda()>’ to ‘long long int’ in initialization
assistance.cpp:9:26: error: expected ‘;’ before ‘]’ token
9 | int arr = [a; b; c; d; e];
| ^
| ;
assistance.cpp:12:22: error: ‘n’ was not declared in this scope
12 | for (int i = 0; i < n; i++){
| ^
assista