0_0_22029162_28488.cpp: In function 'void solve()':
0_0_22029162_28488.cpp:174:44: error: no matching function for call to 'Max(int, LL)'
eve[event_tot].l = Max(1, i - ans2[i] + 2);
^
0_0_22029162_28488.cpp:174:44: note: candidate is:
0_0_22029162_28488.cpp:18:27: note: template<class Tp> Tp Max(Tp, Tp)
template <typename Tp> Tp Max(Tp x, Tp y) {return x > y ? x : y;}
^
0_0_22029162_28488.cpp:18:27: note: template argument deduction/substitution failed:
0_0_22029162_28488.cpp:174:44: note: deduced conflicting types for parameter 'Tp' ('int' and 'long long int')
eve[event_tot].l = Max(1, i - ans2[i] + 2);
^
|