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

Re:这样为什么还是wa?

Posted by JiangLY at 2005-01-16 16:11:07 on Problem 1458
In Reply To:这样为什么还是wa? Posted by:TN at 2005-01-16 14:25:17
while not eoln do
  begin
    inc(n1);
    read (a1[n1]);
    if a1[n1]=' ' then begin dec(n1);break;end;
  end;
这错了
应该是while (tc<>' ')and(tc<>#9)and(tc<>#10)and(tc<>#13) do

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