Problem | charges |
---|---|
User | Dynonychus |
Submission Time | 2024-01-11 20:50:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
charges.cpp: In function ‘int main()’:
charges.cpp:50:4: error: expected ‘,’ or ‘;’ before ‘pair’
50 | pair<int, bool> papup = par(b);
| ^~~~
charges.cpp:52:22: error: ‘papup’ was not declared in this scope; did you mean ‘papu’?
52 | if (papu.first != papup.first)
| ^~~~~
| papu
charges.cpp:54:20: error: ‘r’ was not declared in this scope
54 | {(papup.first, (r ^ papu.second) ^ (papup.second)};
| ^
charges.cpp:54:53: error: expected ‘)’ before ‘}’ token
54 | {(papup.first, (r ^ papu.second) ^ (papup.second)};
| ~ ^
| )
charges.cpp:54:53: error: no match for ‘operator=’ (operand types are ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<long long int, bool> >, std::pair<long long int, bool>