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

Compile Error

flipcards.cpp: In function ‘int32_t main()’:
flipcards.cpp:13:9: error: unable to find numeric literal operator ‘operator""n’
13 | int arr[2n];
| ^~
flipcards.cpp:14:16: error: unable to find numeric literal operator ‘operator""n’
14 | for(int i=0; i<2n; i++){
| ^~
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+2n);
| ^~~
flipcards.cpp:17:14: error: unable to find numeric literal operator ‘operator""n’
17 | sort(arr,arr+2n);
| ^~
flipcards.cpp:18:11: error: unable to find numeric literal operator ‘operator""n’
18 | cout<<arr[2n-1];
| ^~