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

为什么Wrong Answer??!

Posted by tmptmptmphahahaha at 2012-11-05 10:44:27 on Problem 1218
program tmp;
var n,t,i,a,x,j,k:integer;
begin
read(t);
for i:=0 to t do begin
read(n);
a:=0;
for j:=1 to n do begin
x:=0;
for k:=1 to n do begin
if j mod k=0 then inc(x);
end;
a:=a+x mod 2;
end;
write(a);
writeln;
end;
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