Sunday, February 27, 2011

458 - The Decoder


#include<iostream>
#include<stdlib.h>
#include<stdio.h>
using namespace std;
int main()
{
    char ch;
    //freopen("in.txt","r",stdin);
    while(scanf("%c",&ch)==1)
        if(ch=='\n')
            cout<<endl;
        else
        printf("%c",ch-7);
    exit(0);
}

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.