codeforces

Codeforces 1220a - A. Cards solution in C/ C++

Codeforces 1220 – A. Cards solution

  • by

This problem is very simple. First You have to input an integer n. Then input a randomized string of n consisting of these five English lowercase letters: ‘z’, ‘e’, ‘r’, ‘o’ and ‘n’. Now the problem said you have to sort/restore the randomized/shuffled string and It is guaranteed that it is possible to rearrange the letters in such a way… Read More »Codeforces 1220 – A. Cards solution