Problem | logs |
---|---|
User | G |
Submission Time | 2024-03-09 18:00:10 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
logs.cpp: In function ‘int main()’:
logs.cpp:13:14: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator/’
13 | int x=a.end/2;
| ~~~~~^~
| | |
| | int
| <unresolved overloaded function type>
logs.cpp:15:5: error: ‘class std::vector<int>’ has no member named ‘push’
15 | a.push(x);
| ^~~~
logs.cpp:16:5: error: ‘class std::vector<int>’ has no member named ‘push’
16 | a.push(x);
| ^~~~
logs.cpp:19:7: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘std::vector<int>::iterator’ {aka ‘__gnu_cxx::__normal_iterator<int*, std::vector<int> >’})
19 | cout << a.end();
| ~~~~ ^~ ~~~~~~~
| | |
| | std::vector<int>::iterator {aka __gnu_c