| ||||||||||
| 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 | |||||||||
同问In Reply To:实在不明为何错 ,请指点...谢谢 Posted by:jackland at 2007-11-13 20:38:52 >
> Program pku2234;
>
>
> Var
>
> N : Longint;
>
>
>
> Procedure Work;
> var
> i,s : Longint;
> A : Array [1..1000] of longint;
> Begin
> while not eof do
> begin
> read(N);
> For i:=1 to N do
> read(A[i]);
> readln;
>
> s:=A[1];
> for i:=2 to N do s:=s xor A[i];
> if s =0 then writeln('No') else Writeln('Yes');
>
> end;
>
> End;
>
>
>
> Begin
>
> Work;
>
> End.
同问...
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator