1001 害死人不偿命的(3n+1)猜想 (15 分) #include <stdio.h> int main() { int n = 0; int i = 0; scanf("%d",&n); while(1 != n) { if(0 == n%2) { n = n/2; i++; } else { n = (3*n+1)/2; i++; } } printf("%d",i); }