online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#Conjetura de Collatz (Python 3.8)# cont = 0 o = [None] * 1000000 n = int(input("Ingrese un numero entero mayor que 1: ")) print ("Órbita de " + str(n) + ":\n") while(n>1): if ((n%2)==1): n=3*n+1 else: n=int(n/2) o[cont] = n print ("o[" + str(cont+1) + "] = " + str(n)) cont = cont + 1 print ("\nEl largo de la órbita es de " + str(cont)) input("\nPRESIONE UNA TECLA PARA TERMINAR")

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue