2014年8月27日星期三

[UVa] 458 - The Decoder

#include <stdio.h>
#include <string.h>
char c[1000]={'\0'};
int main(){
   while(fgets(c,sizeof(c),stdin)){
     for(int i=0;i<strlen(c)-1;i++){
    printf("%c",c[i]-7);
  }
  printf("\n");
   }
}

沒有留言: