| ||||||||||
| 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 | |||||||||
Re:我有可以过的程序In Reply To:我有可以过的程序 Posted by:hawk at 2003-05-27 13:28:59 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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator