Problem charges
User Dynonychus
Submission Time 2024-01-11 20:50:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

charges.cpp: In function ‘int main()’:
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> >::value_type’ {aka ‘std::pair<long long int, bool>’} and ‘<brace-enclosed initializer list>’)
In file included from /usr/include/c++/9/bits/stl_algobase.h:64,
from /usr/include/c++/9/bits/specfun.h:45,
from /usr/include/c++/9/cmath:1927,
from /usr/include/x86_64-l