Problem potatosalad
User KingH
Submission Time 2025-08-22 15:15:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

potatosalad.cpp: In function ‘int main()’:
potatosalad.cpp:6:2: error: ‘vecotr’ was not declared in this scope
6 | vecotr<int> arr(N);
| ^~~~~~
potatosalad.cpp:6:9: error: expected primary-expression before ‘int’
6 | vecotr<int> arr(N);
| ^~~
potatosalad.cpp:8:15: error: ‘arr’ was not declared in this scope
8 | cin >> arr[i];
| ^~~
potatosalad.cpp:10:7: error: ‘arr’ was not declared in this scope
10 | sort(arr.begin(), arr.end(), greater<int>);
| ^~~
potatosalad.cpp:10:43: error: expected primary-expression before ‘)’ token
10 | sort(arr.begin(), arr.end(), greater<int>);
| ^