cnt=0

while(x!=1){ cnt=cnt+1; if(x&1==0) x=x/2; else x=3*x+1; } count$amp;当n=11时,输出:() a、12 b、13 c、14 d、15

时间:2023-02-11 14:55:59

相似题目