LÀM ĐC MỖI Ý a !
JFBQ00125061225b
var a,b:array[0..100] of longint;
i,n,j,m,s,tam,k:longint;
begin
readln(n,m);
for i:=1 to n do readln(a);
for j:=1 to m do readln(b[j]);
for i:=1 to n-1 do
for j:=i+1 to n do
if a<a[j] then
begin
tam:=a;
a:=a[j];
a[j]:=tam;
end;
for i:=1 to m-1 do
for...