Problem | taxcollection |
---|---|
User | JhoCyber |
Submission Time | 2024-12-29 15:53:43 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
taxcollection.cpp: In function ‘int32_t main()’:
taxcollection.cpp:12:24: error: expected ‘)’ before ‘{’ token
12 | for(int i=0;i<n;i++{
| ~ ^
| )
taxcollection.cpp:27:23: error: overloaded function with no contextual type information
27 | end=moveable.size();
| ^
taxcollection.cpp:30:26: error: no match for ‘operator[]’ (operand types are ‘std::vector<long long int>’ and ‘<unresolved overloaded function type>’)
30 | a[i]=moveable[end];
| ^
In file included from /usr/include/c++/9/vector:67,
from /usr/include/c++/9/functional:62,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from taxcollection.c