2016年6月27日 星期一

Q458: The Decoder

http://luckycat.kshs.kh.edu.tw/homework/q458.htm

#include<stdio.h>
#include<string.h>
int main(){     
  char str[10000];
  int i;
  while(scanf("%s",str)!=EOF){
   for(i=0;i<tstrlen(str);i++)
    printf("%c",str[i]-7);
   printf("\n");
  }
  return 0;
 /* 
    題目:Q458: The Decoder
    作者:1010
    時間:西元 2016 年 6 月 */
}

困難度 
這題很簡單只要把題目輸出的k算出來就知道了

沒有留言:

張貼留言