Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

149B实在不能精简了,想不明白88B的大牛是怎么搞出来的

Posted by Eov_Second at 2016-12-02 18:09:10 on Problem 2608
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator