Problem flipcards
User asbx
Submission Time 2023-12-02 13:38:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flipcards.cpp: In function ‘int32_t main()’:
flipcards.cpp:13:11: error: expected primary-expression before ‘]’ token
13 | int arr[2*];
| ^
flipcards.cpp:15:7: error: ‘arr’ was not declared in this scope
15 | cin>>arr[i];
| ^~~
flipcards.cpp:17:6: error: ‘arr’ was not declared in this scope
17 | sort(arr,arr+2*n);
| ^~~