wiring.cpp: In function 'int64_t solve()':
wiring.cpp:58:17: error: no matching function for call to 'cmin(__gnu_cxx::__alloc_traits<std::allocator<long int>, long int>::value_type&, long long int)'
58 | cmin(suffix_min[rr], dp[u2][i] + prefix_sum[i] - prefix_sum[L] + 1LL * rr * v[o][1]);
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wiring.cpp:16:42: note: candidate: 'template<class T> constexpr void cmin(T&, const T&)'
16 | template <class T> inline constexpr void cmin(T &x, const T &y) {if (x > y) x = y;}
| ^~~~
wiring.cpp:16:42: note: template argument deduction/substitution failed:
wiring.cpp:58:17: note: deduced conflicting types for parameter 'const T' ('long int' and 'long long int')
58 | cmin(suffix_min[rr], dp[u2][i] + prefix_sum[i] - prefix_sum[L] + 1LL * rr * v[o][1]);
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wiring.cpp:59:17: error: no matching function for call to 'cmin(__gnu_cxx::__alloc_traits<std::allocator<long int>, long int>::value_type&, long long int)'
59 | cmin(prefix_min[rr], dp[u2][i] + prefix_sum[i] - prefix_sum[L] + 1LL * rr * v[o-1][L]);
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wiring.cpp:16:42: note: candidate: 'template<class T> constexpr void cmin(T&, const T&)'
16 | template <class T> inline constexpr void cmin(T &x, const T &y) {if (x > y) x = y;}
| ^~~~
wiring.cpp:16:42: note: template argument deduction/substitution failed:
wiring.cpp:59:17: note: deduced conflicting types for parameter 'const T' ('long int' and 'long long int')
59 | cmin(prefix_min[rr], dp[u2][i] + prefix_sum[i] - prefix_sum[L] + 1LL * rr * v[o-1][L]);
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~