Problem | potatosalad |
---|---|
User | yuxiangt |
Submission Time | 2025-08-01 16:04:39 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
potatosalad.cpp: In function ‘int main()’:
potatosalad.cpp:10:2: error: ‘vetor’ was not declared in this scope
10 | vetor<int> potatoes (N);
| ^~~~~
potatosalad.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
potatosalad.cpp:10:8: note: in expansion of macro ‘int’
10 | vetor<int> potatoes (N);
| ^~~
potatosalad.cpp:12:8: error: ‘potatoes’ was not declared in this scope
12 | cin>>potatoes[i];
| ^~~~~~~~
potatosalad.cpp:14:7: error: ‘potatoes’ was not declared in this scope
14 | sort(potatoes.begin(), potatoes.end(), <int> greater());
| ^~~~~~~~
potatosalad.cpp:14:41: error: expected primary-expression before ‘<’ token
14 | sort(potatoes.begin(), potatoes.end(), <int> greater());
| ^
potatosalad.cpp:3:13: error: expected pri