An easy problem
摘要:
#include<stdio.h>#include<string.h>#include<stdlib.h>int fun(char c,int x){ int f[26]; int i; for(i=0;i<26;i++) f[i]=i+1; if(c>='A'&&c<='Z') return f[c-'A']+x; else return -f[c-'a']+x;}int main( ){ in... 阅读全文
posted @ 2011-05-02 14:17 more think, more gains 阅读(159) 评论(0) 推荐(0) 编辑