1.
var
a:array [1..100000] of integer;
n, k, i:integer;
begin
read (n);
for i:=1 to n do
read (a[i]);
writeln (a[i]);
readln (k);
if k>a[i] then write (a[i]);
end.
Copyright © 2025 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
1.
var
a:array [1..100000] of integer;
n, k, i:integer;
begin
read (n);
for i:=1 to n do
read (a[i]);
for i:=1 to n do
writeln (a[i]);
readln (k);
for i:=1 to n do
if k>a[i] then write (a[i]);
end.