Problem GSS
User Tracxr
Submission Time 2023-02-11 17:50:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

GSS.cpp: In function ‘int main()’:
GSS.cpp:10:11: error: expected initializer before ‘:’ token
10 | int arr[n]:
| ^
GSS.cpp:11:14: error: ‘i’ was not declared in this scope
11 | for (int i=0;i<n; i++)cin>>arr[i];
| ^
GSS.cpp:13:6: error: ‘arr’ was not declared in this scope
13 | sort(arr, arr+n);
| ^~~