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

来一个稍微短一点的,只有两行(一个;算一行)

Posted by Eov_Second at 2016-12-14 11:37:28 on Problem 1298
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:
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