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

同问

Posted by iRachex at 2008-06-23 18:22:13 on Problem 2234
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:
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