Codeforces Round #828 (Div. 3) ABCDEF Solutions (Java/C++)
A. Number Replacement Solution: Obviously each number can only be replaced by the same letter, so we only need to open a Map to check whether any number has been replaced by two different letters.…