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

对pascal不熟,不过看来好像没问题

Posted by hawk at 2003-05-27 13:36:56 on Problem 1144
In Reply To:Re:我有可以过的程序 Posted by:XueMao at 2003-05-27 13:35:10
>     readln(n);
>     if n=0 then break;
>     fillchar(d,sizeof(d),0);
>     repeat
>       read(k);
>       if k=0 then break;
>       while not(eoln) do
>       begin
>         read(k1);
>         d[k,k1]:=true;
>         d[k1,k]:=true;
>       end;
>       readln;
>     until false;
> 这样读数据会不会有问题???

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