- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
var
a : array[1..15000] of Integer;
b : Real;
c,k,i,j : Int64;
begin
c:=0;
k:=0;
for i:=1 to 15000 do
a[i]:=i;
for i:=1 to 15000 do
begin
for j:=1 to 15000 do
begin
b:=a[i] mod j;
if b=0 then
k:=k+1;
end;
if k=2 then
begin
WriteLn(a[i]);
c:=c+1;
end;
k:=0;
if c=1000 then
break
end;
end.
heyzea1 25.12.2014 15:45 # +7
Dummy00001 25.12.2014 18:55 # 0
Анонимус 25.12.2014 19:50 # 0
Toha 25.12.2014 20:55 # 0
gost 27.12.2014 22:46 # +1