Problem | lightningrod |
---|---|
User | Dynonychus |
Submission Time | 2023-12-31 18:49:58 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lightningrod.cpp: In function ‘int main()’:
lightningrod.cpp:57:3: error: ‘c’ was not declared in this scope
57 | c=0;
| ^
lightningrod.cpp:66:18: error: no match for ‘operator!=’ (operand types are ‘__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type’ {aka ‘long long int’} and ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<long long int, long long int> >, std::pair<long long int, long long int> >::value_type’ {aka ‘std::pair<long long int, long long int>’})
66 | if(veco.at(i) != vec.at(i+1)) {
| ~~~~~~~~~~ ^~ ~~~~~~~~~~~
| | |
| | __gnu_cxx::__alloc_traits<std::allocator<std::pair<long long int, long long int> >, std::pair<long long int, long long int> >::value_type {aka std::pair<long long int, long long int>}
| __gnu_cxx::__alloc_traits<s