Problem justright
User Taken
Submission Time 2026-11-06 14:12:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

justright.cpp: In function ‘int main()’:
justright.cpp:13:5: error: expected initializer before ‘std’
13 | std::array<int> a;
| ^~~
justright.cpp:15:5: error: ‘a’ was not declared in this scope
15 | a[]=[w,X,Y,Z]
| ^
justright.cpp:15:7: error: expected primary-expression before ‘]’ token
15 | a[]=[w,X,Y,Z]
| ^
justright.cpp:15:10: error: ‘w’ was not declared in this scope
15 | a[]=[w,X,Y,Z]
| ^
justright.cpp:15:16: error: ‘Z’ was not declared in this scope
15 | a[]=[w,X,Y,Z]
| ^
justright.cpp: In lambda function:
justright.cpp:18:5: error: expected ‘{’ before ‘return’
18 | return 0;
| ^~~~~~