1,2,3,4,5,6,7,8,9,0,这10个数可以组成多少个密码答:如果可以重复使用,可以组成10的10次方个密码。如果不能重复使用,可以组成10X9X8...X2X1=3628800个密码。
...程序:打印由1,2,3,4四个数字组成的所有四位数,并统计个数。_百度知...答:j,t,k,l,m:integer;total:longint;begin clrscr;write('Input a number:');readln(n);assign(output,'排列.txt');rewrite(output);writeln('PaiLie(',n,')');writeln('Result:');for j:=1 to n do begin p[j]:=j;d[j]:=j;e[j]:=-1 end;1:m:=0;inc(total);for j:=1...