online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
''' Welcome to GDB Online. GDB online is an online compiler and debugger tool for C, C++, Python, Java, PHP, Ruby, Perl, C#, VB, Swift, Pascal, Fortran, Haskell, Objective-C, Assembly, HTML, CSS, JS, SQLite, Prolog. Code, Compile, Run and Debug online from anywhere in world. ''' # Hello World program in Python import numpy as np import time from numpy import array import random myList = random.sample(range(1, 100000), 10000) myInt = 10 start_time = time.time() arrayint=np.array(myInt) newList = myList / arrayint end_time = time.time() print(newList,end_time-start_time) start_time = time.time() newList = np.array(myList) / myInt end_time = time.time() print(newList,end_time-start_time) start_time = time.time() newList = [x / myInt for x in myList] end_time = time.time() print(newList,end_time-start_time) start_time = time.time() myList[:] = [x / myInt for x in myList] end_time = time.time() print(newList,end_time-start_time) start_time = time.time() newList = map(lambda x: x/myInt, myList) end_time = time.time() print(newList,end_time-start_time) start_time = time.time() newList = [i/myInt for i in myList] end_time = time.time() print(newList,end_time-start_time) start_time = time.time() newList = np.divide(myList, myInt) end_time = time.time() print(newList,end_time-start_time) start_time = time.time() newList = np.divide(myList, myInt) end_time = time.time() print(newList,end_time-start_time)

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