Problem construct
User louisleehi
Submission Time 2024-02-18 13:52:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

construct.cpp: In function ‘int main()’:
construct.cpp:8:5: error: ‘k’ was not declared in this scope
8 | if(k==0){
| ^
construct.cpp:12:5: error: ‘k’ was not declared in this scope
12 | if(k==1){
| ^
construct.cpp:15:3: error: expected primary-expression before ‘]’ token
15 | ]
| ^
construct.cpp:17:2: error: expected ‘}’ at end of input
17 | }
| ^
construct.cpp:4:12: note: to match this ‘{’
4 | int main(){
| ^