Welcome to my archive . Hope you find it useful.
I have stored my online judge solutions of my own :)
Pages
Home
Uri
UVA
Codeforces
Tuesday, February 16, 2016
UVA 458 - The Decoder
#include<stdio.h>
#include<string.h>
int main()
{
int l,i;
char s[1000];
while(gets(s))
{
l=strlen(s);
for(i=0;i<l;i++)
printf(“%c”,s[i]-7);
printf(“n”);
}
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment