blob: 1a3c744eb5aa0a82239694d8f60852ffe380b9b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include <iostream>
using namespace std;
int main() {
char row, col;
cin >> row;
cin >> col;
while (row != '0') {
row = 153 - row; // 'h' - (row - '1')
cout << row << col << endl;
cin >> row;
cin >> col;
}
}
|