Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
149B实在不能精简了,想不明白88B的大牛是怎么搞出来的main(){char*y="01230120022455012623010202",s[22],a,b,c,*p;while(gets(s)){p=s;b=0;while(a=*p++){c=y[a-65];if(c!=b&&c>48)putchar(c);b=c;}putchar(10);}} Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator