Problem Description
Loading...
Problem Analysis
Pretty interesting
but while writing it I felt this problem was quite brutal
The idea is to build two char arrays holding the corresponding keymaps
so for each character we only need to find its position in one table
and its counterpart is the character at the same position in the other table
Note that for quotes like the double quote and single quote you must remember to use escape characters when storing them
and also count the positions carefully while writing
don’t GG on these small details
cpp
| |
Problem link: 【ZOJ】[3878]Convert QWERTY to Dvorak