Problem | cokelesssugar |
---|---|
User | PlayVoltz |
Submission Time | 2023-12-09 11:46:48 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
cokelesssugar.cpp: In function ‘int32_t main()’:
cokelesssugar.cpp:27:2: error: ‘vectior’ was not declared in this scope
27 | vectior<int> vect(n);
| ^~~~~~~
cokelesssugar.cpp:19:13: error: expected primary-expression before ‘long’
19 | #define int long long
| ^~~~
cokelesssugar.cpp:27:10: note: in expansion of macro ‘int’
27 | vectior<int> vect(n);
| ^~~
cokelesssugar.cpp:28:30: error: ‘vect’ was not declared in this scope
28 | for (int i=0; i<n; ++i)cin>>vect[i];
| ^~~~
cokelesssugar.cpp:29:7: error: ‘vect’ was not declared in this scope
29 | sort(vect.begin(), vect.end(), greater<int>());
| ^~~~
cokelesssugar.cpp:30:20: error: ‘k’ was not declared in this scope
30 | for (int i=0; i<n-k; ++i){
| ^