Q458: The Decoder

//Q458 The Decoder
//Accepted 2008-04-14 13:45:08
#include <iostream>
using namespace std;

int main(void)
{
while(1)
{
char encrypted[100];
cin.getline(encrypted, 100);
if (strlen(encrypted) == 0)
break;
for(int i = 0; i < strlen(encrypted); i++)
encrypted[i] -= 7;
cout << encrypted << endl;
}
}

留言

這個網誌中的熱門文章

嘸蝦米文翻譯機 網頁版

Tips: PPTP client on Openwrt

決定了!!!