Problem | uniquenumbers |
---|---|
User | Dam |
Submission Time | 2023-03-06 10:40:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
uniquenumbers.cpp:4:1: error: ‘::main’ must return ‘int’
4 | intmax_t main(){
| ^~~~~~~~
uniquenumbers.cpp: In function ‘int main()’:
uniquenumbers.cpp:12:2: error: ‘vecttr’ was not declared in this scope
12 | vecttr<intmax_t> unique;
| ^~~~~~
uniquenumbers.cpp:12:17: error: expected primary-expression before ‘>’ token
12 | vecttr<intmax_t> unique;
| ^
uniquenumbers.cpp:13:9: error: overloaded function with no contextual type information
13 | unique.push_back(arr[0]);
| ^~~~~~~~~
uniquenumbers.cpp:15:13: error: overloaded function with no contextual type information
15 | if(unique.back() != arr[i]){
| ^~~~
uniquenumbers.cpp:16:11: error: overloaded function with no contextual type information
16 | unique.push_back(arr[i]);
| ^~~~~~~~~
uniquenumbers.cpp:19:17: error: overloaded function with no contextual ty