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 |
来一个稍微短一点的,只有两行(一个;算一行)int main() { char t[30], *p, d, r[220]; for(; gets(t), t[3]!='O'; puts(r), gets(t)) for (gets(r), p = r; d = *p;) *p++ = isalpha(d) ? (d + 8) % 26 + 65 : d; } Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator