Comments
On redsexx → whats wrong with my logic?, 8 months ago
0

ok, so I did this now: I calculated the prefix minimums for the vector of vectors, then the suffix maximums, and then I just connected the i-th prefix to the (i+1)-th suffix. But I'm still getting it wrong, bro. It's actually frustrating that I cannot break the 1600 barrier. Please help me if you can.

https://codeforces.me/contest/2171/submission/365532494