cbjwdou
幼苗
共回答了18个问题采纳率:88.9% 举报
var n,i:longint;
a:array[1..100]of boolean;
begin
readln(n);
for i:=1 to n do
if (100 mod i=0)and a[i] then a[i]:=false
else if (100 mod i=0)and(not a[i])rhen a[i]:=true;
for i:=1 to 100 do
if a[i] then write(n:3);
readln;
end.
本人自编,未试过求加分。
1年前
7