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

TMD,POJ发烧了

Posted by majiavon at 2009-03-21 19:31:25 on Problem 1546
这样可以ac
if(strlen(c)>7)  printf("  ERROR\n");
else printf("%7s\n",c);

这样居然ole
if(strlen(c)>7)  printf("  ERROR\n");
//else printf("%7s\n",c);
else
{
     for(i=0;i<=7-strlen(c)-1;i++)
     {
               printf(" ");
      }
      printf("%s\n",c);
 }

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