# 題目: UVa 458 - The Decoder
# 題目說明
你需要將一串亂碼解碼成正常句子
INPUT:
每筆資料輸入一串連續亂碼string
OUTPUT:
輸出解碼後的句子
# 解題方法
找到規律,亂碼為正常句子+7,所以將每個字元-7後輸出即可
# 參考程式碼
#include <iostream>
using namespace std;
int main()
{
ios::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
string str;
while (cin >> str)
{
for (auto& c : str) cout << (char)(c - 7);
cout << "\n";
}
return 0;
}