输入一个正整数n,将n分解成质因数幂的乘积形式.例如:36=22*32 用pascal解答
人气:354 ℃ 时间:2020-06-20 21:49:33
解答
program zk;vari,j,a,b,c,k,n:longint;beginreadln(n);i:=1;repeatif i1 then write('*');inc(i);k:=0;while n mod i=0 do begin inc(k); n:=n div i; end;write(i...
推荐
猜你喜欢
- A、B都是正整数,如果A除以B等于10,那么A、B的最小公倍数是几谢谢了,
- The words of his old teacher left a ______ impression on his mind.He is still influenced by them.
- 有关交通安全的作文600字
- 举例说出“经过两点且只有一条直线”和“两点之间,线段最短”这两个结论在实际生活中的运用
- 在某张月历上,一个月内是五个星期日正好在同列,且它们的日期数之和是80,则本月第一个星期一是__号?
- each other for a change是什么意思
- "Bill,is this_____bike?" "Yes,it is."
- 翻译 Happiness is not wishing for what we dont have,but enjoying what we do possess