Editorial for OTHS Coding Competition 2 P1 - Chess Pieces


Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.
Submitting an official solution before solving the problem yourself is a bannable offence.

Print the respective integer value of the input piece as specified.

Time Complexity: \mathcal{O}(1)


Comments

There are no comments at the moment.