测试使用Windows Writer

//458 - The Decoder
//解密的key是 ASCII - 7
#include<iostream>
#include<string>
using namespace std;
int main(){
	string str;
	while(getline(cin,str,'\n')){
		for(int i=0;i<str.length();i++)
			cout<<static_cast<char>(str[i]-7);
		cout<<endl;
	}
	return 0;
}

posted on 2012-05-14 21:59  Fakeerfaquir  阅读(163)  评论(0编辑  收藏  举报

导航