online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
n = int(input("Enter an integer(-1 to exit)")) lst = [] while(n!=-1): lst.append(n) n = int(input("Enter an integer(-1 to exit)")) flag = 0 i = 1 while i < len(lst): if(lst[i] < lst[i - 1]): flag = 1 i += 1 if (not flag) : print ("Yes") else : print ("No")

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