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 |
实在不明为何错 ,请指点...谢谢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