0_0_33077709_28632.cpp: In member function 'void Network::InitCapacity(unsigned int, unsigned int, int)':
0_0_33077709_28632.cpp:55:44: error: converting to 'const std::tuple<unsigned int, unsigned int>' from initializer list would use explicit constructor 'constexpr std::tuple<_T1, _T2>::tuple(_U1&&, _U2&&) [with _U1 = unsigned int&; _U2 = unsigned int&; <template-parameter-2-3> = void; _T1 = unsigned int; _T2 = unsigned int]'
std::get<0>(capacity.insert({{u, v}, 0}))->second = c;
^
0_0_33077709_28632.cpp: In member function 'int Network::GetCapacity(unsigned int, unsigned int)':
0_0_33077709_28632.cpp:59:35: error: converting to 'const key_type {aka const std::tuple<unsigned int, unsigned int>}' from initializer list would use explicit constructor 'constexpr std::tuple<_T1, _T2>::tuple(_U1&&, _U2&&) [with _U1 = unsigned int&; _U2 = unsigned int&; <template-parameter-2-3> = void; _T1 = unsigned int; _T2 = unsigned int]'
auto it = capacity.find({u, v});
^
0_0_33077709_28632.cpp: In member function 'int Network::GetFlow(unsigned int, unsigned int)':
0_0_33077709_28632.cpp:66:31: error: converting to 'const key_type {aka const std::tuple<unsigned int, unsigned int>}' from initializer list would use explicit constructor 'constexpr std::tuple<_T1, _T2>::tuple(_U1&&, _U2&&) [with _U1 = unsigned int&; _U2 = unsigned int&; <template-parameter-2-3> = void; _T1 = unsigned int; _T2 = unsigned int]'
auto it = flow.find({u, v});
^
0_0_33077709_28632.cpp: In member function 'void Network::AddToFlow(unsigned int, unsigned int, int)':
0_0_33077709_28632.cpp:77:40: error: converting to 'const std::tuple<unsigned int, unsigned int>' from initializer list would use explicit constructor 'constexpr std::tuple<_T1, _T2>::tuple(_U1&&, _U2&&) [with _U1 = unsigned int&; _U2 = unsigned int&; <template-parameter-2-3> = void; _T1 = unsigned int; _T2 = unsigned int]'
std::get<0>(flow.insert({{u, v}, 0}))->second += diff;
^
|