Problem uniquenumbers
User PlayVoltz
Submission Time 2023-03-06 09:05:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

uniquenumbers.cpp: In function ‘int main()’:
uniquenumbers.cpp:7:2: error: declaration does not declare anything [-fpermissive]
7 | vector <int>;
| ^~~~~~~~~~~~
uniquenumbers.cpp:10:9: error: expected unqualified-id before ‘.’ token
10 | vector.push_back(num);
| ^
uniquenumbers.cpp:12:13: error: missing template arguments before ‘.’ token
12 | sort(vector.begin(), vector.end());
| ^
uniquenumbers.cpp:12:29: error: missing template arguments before ‘.’ token
12 | sort(vector.begin(), vector.end());
| ^
uniquenumbers.cpp:13:15: error: missing template arguments before ‘[’ token
13 | temp = vector[0];
| ^
uniquenumbers.cpp:15:13: error: expected unqualified-id before ‘[’ token
15 | if (vector[i] =! temp){
| ^
uniquenumbers.cpp:18:16: error: missing template arguments before ‘[’ token
1