这样就大小写都认了:)
p(int c){putchar(c&1?c-32:c);}f(int c){p(c),c>97&&(f(c-1),p(c));}main(){f(getchar()|32);}
p(int c){putchar(c&1?c-32:c);}f(int c){p(c),c>97&&(f(c-1),p(c));}main(){f(getchar()|32);}
Have you visit acm.tongji. lately?