Rosetta Problems

Beginner Free Contest 47 - MAXDIFF

https://oj.vnoi.info/problem/fcb047_maxdiff