2018 Multi-University, HDU Day 1

A. Maximum Multiple

solved by CSL. 0:28(+)

B. Balanced Sequence

solved by ybmj. 3:54(+3)

[](const pair<int, int>& a, const pair<int, int>& b) {
    int x = min(a.first, b.second), y = min(a.second, b.first);
    return x > y || x == y && a.first > b.first;
};

C. Triangle Partition

solved by CSL. 0:17(+1)

D. Distinct Values

solved by CSL. 1:52(+1)

G. Chiaki Sequence Revisited

solved by Moira. 4:53(+2)

H. RMQ Similar Sequence

upsolved by CSL.

K. Time Zone

solved by CSL. 0:49(+5)