Problem party_noi
User Kavinkv
Submission Time 2025-02-20 20:33:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

party_noi.cpp: In function ‘int main()’:
party_noi.cpp:7:2: error: declaration does not declare anything [-fpermissive]
7 | vector<int>;
| ^~~~~~~~~~~
party_noi.cpp:10:10: error: ‘arr’ was not declared in this scope
10 | cin >> arr[i];
| ^~~
party_noi.cpp:12:7: error: ‘arr’ was not declared in this scope
12 | sort(arr,arr+n,greater<int>());
| ^~~