Last active
November 5, 2019 08:26
-
-
Save pinglunliao/bb05fb82f9a5dcfea40a to your computer and use it in GitHub Desktop.
a009: 解碼器 FYI: https://yunlinsong.blogspot.com/2016/01/blog-post_30.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
int k = -7; | |
char ch; | |
while( cin.get(ch) ) | |
{ | |
if( ch != '\n' ) | |
ch = ch + k; | |
cout << ch; | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment