sequence.cpp:5:33: error: conflicting declaration 'std::vector<int> n'
5 | int sequence(int n, vector<int> n){
| ~~~~~~~~~~~~^
sequence.cpp:5:18: note: previous declaration as 'int n'
5 | int sequence(int n, vector<int> n){
| ~~~~^
sequence.cpp: In function 'int sequence(int)':
sequence.cpp:10:10: error: 'a' was not declared in this scope
10 | if(a[i] == a[j]) c++;
| ^
sequence.cpp:11:10: error: 'a' was not declared in this scope
11 | if(a[i] > a[j]) s--;
| ^
sequence.cpp:12:10: error: 'a' was not declared in this scope
12 | if(a[i] < a[j]) s++;
| ^