[SOLUTION] A. Treasure Chest SOLUTION CODEFORCES

A. Treasure Chest SOLUTION CODEFORCES time limit per test 2 seconds memory limit per test 512 megabytes input standard input output standard output Monocarp has found a treasure map. The map represents the treasure location as an OX axis. Monocarp is at 00, the treasure chest is at x�, the key to the chest is at y�. Obviously, … Read more