online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
using System; using System.Linq; using System.Collections.Generic; using System.Text; using System.IO; namespace tasov { class Program { static long[] a; static long[] d; static void Main(string[] args) { a = new long[30]; d = new long[30]; for (int i = 1; i <= 20; i++) { a[i] = Convert.ToInt64((i-1)/10); d[20-i+1] = a[i]; } for (int i = 1; i <= 20; i++) Console.Write(" " + a[i]); Console.WriteLine(); for (int i = 1; i <= 19; i++) for (int j = i; j <= 20; j++) if (d[i] > d[j]) { var temp = d[i]; d[i] = d[j]; d[j] = temp; temp = a[i]; a[i] = a[j]; a[j] = temp; } for (int i = 1; i <= 20; i++) Console.Write(" " + a[i]); Console.WriteLine(); }}}

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