SHORT2 - Editorial

PROBLEM LINKS

Practice
Contest

DIFFICULTY

HARD

EXPLANATION

You can view the editorials for this problem here.

SETTER’S SOLUTION

Can be found here.

TESTER’S SOLUTION

Can be found here.