Free Ideone API
try it now!
Your great ideas will be born here
Recent public pastes are listed below. You can filter them by the following programming languages:
- view
- All
- Ada
- Assembler
- AWK (gawk)
- AWK (mawk)
- Bash
- bc
- Brainf**k
- C
- C#
- C++
- C99 strict
- CLIPS
- Clojure
- COBOL
- COBOL 85
- Common Lisp (clisp)
- D (dmd)
- Erlang
- F#
- Factor
- Falcon
- Forth
- Fortran
- Go
- Groovy
- Haskell
- Icon
- Intercal
- Java
- JavaScript (rhino)
- JavaScript (spidermonkey)
- Lua
- Nemerle
- Nice
- Nimrod
- Ocaml
- Oz
- Pascal (fpc)
- Pascal (gpc)
- Perl
- Perl 6
- PHP
- Pike
- Prolog (gnu)
- Prolog (swi)
- Python
- Python 3
- R
- Ruby
- Scala
- Scheme (guile)
- Smalltalk
- Tcl
- Text
- Unlambda
- Visual Basic .NET
- Whitespace
-
1 2 3 4 5 6 7 8 9
#include<algorithm> using namespace std; int dp[1000]; char c[1000]; int n,i,j,k; int a[2][6]; int Sum(int st,int dr) {
...
-
1
wc -c "hola"
-
1
-
1 2 3 4 5 6 7 8 9
+++++ +++++ initialize counter (cell #0) to 10 [ use loop to set the next four cells to 70/100/30/10 > +++++ ++ add 7 to cell #1 > +++++ +++++ add 10 to cell #2 > +++ add 3 to cell #3 > ++++ add 4 to cell #4 > + <<<<< - decrement counter (cell #0) ]
...
-
1 2 3 4 5 6 7 8 9
using System; public class Program { public static void Main(string[] args) { for(int i = 0;i < 100;i++) Console.WriteLine("Hello world" + Environment.NewLine); Console.ReadLine();
...
-
1 2 3 4 5 6
#include "stdio.h" int main( int argc, char** argv ){ printf( "Hola Mundo!"); return 0; }
-
1 2
Console.WriteLine("Hello world" + Environment.NewLine);
-
1 2 3 4 5 6 7 8 9
using System; public class Program { public static void Main(string[] args) { Console.WriteLine("Hello world" + Environment.NewLine); Console.ReadLine(); }
-
1 2 3 4 5 6 7 8 9
/* The class name doesn't have to be Main, as long as the class is not public. */ class Main { public static void main (String[] args) throws java.lang.Exception { java.io.BufferedReader r = new java.io.BufferedReader (new java.io.InputStreamReader (System.in)); String s; while (!(s=r.readLine()).startsWith("42")) System.out.println(s); }
-
1 2 3
Using System; Console.WriteLine("Hello world");
-
1 2 3 4 5 6 7 8 9
using System; public class Program { public static void Main(string[] args) { Console.WriteLine("Hello world"); Console.ReadLine(); }
-
1 2 3
Using System Console.WriteLine("Hello world")
-
1 2 3 4 5 6 7 8 9
using System; public class Program { public static void Main(string[] args) { Console.WriteLine("Hello world"); } }
-
1 2 3 4 5 6 7 8 9
using System; using System.Collections.Generic; class Program { static bool isRound(double d) { return (int)(d * 1000000) == (int)d * 1000000; }
...
-
1
puts "hello"
-
1
Console.WriteLine("Hello world")
-
1 2 3 4 5 6 7 8 9
using System; using System.Collections.Generic; class Program { static bool isRound(double d) { return (int)(d * 1000000) == (int)d * 1000000; }
...
-
1 2 3 4 5 6 7 8 9
using System; using System.Collections.Generic; class Program { static bool isRound(double d) { return (int)(d * 1000000) == (int)d * 1000000; }
...
-
1 2 3 4 5 6 7 8 9
using System; using System.Collections.Generic; class Program { static bool isRound(double d) { return (int)(d * 1000000) == (int)d * 1000000; }
...
-
1 2 3 4 5 6 7 8 9
using System; using System.Collections.Generic; class Program { static bool isRound(double d) { return (int)(d * 1000000) == (int)d * 1000000; }
...
-
1 2 3 4 5 6 7 8 9
#include<iostream> using namespace std; int main() { cout<<"Hello World"; //getch(); return 0; }
-
1 2 3 4 5 6 7 8 9
+++++ +++++ initialize counter (cell #0) to 10 [ use loop to set the next four cells to 70/100/30/10 > +++++ ++ add 7 to cell #1 > +++++ +++++ add 10 to cell #2 > +++ add 3 to cell #3 > ++++ add 1 to cell #4 <<<< - decrement counter (cell #0) ] > ----. B 66
...
-
1 2 3 4 5 6 7 8 9
#include<iostream> #include<conio.h> using namespace std; int main() { cout<<"Hello World"; //getch(); return 0; }
-
1
printf "hello"
-
1 2 3 4 5 6
>+[>>,----------[>,----------]+++++[<-------->-]<[>>-<]>+[ -<+++++++[<------>-]<[>>-<]>+[ -<<[>>-<]>+[<<->>->]> ]<+++++++[<++++++>-]>> ]<++++++++[<+++++>-]< [<]<[>>[++++++++++.>]++++++++++.[[-]<]]<]
-
1 2 3 4 5 6 7 8 9
#include<iostream> #include<conio> using namespace std; int main() { cout<<"Hello World"; //getch(); return 0; }
-
1
printf 'hello'
-
1 2 3 4 5 6 7 8 9
#include<iostream> #include<conio> int main() { cout<<"Hello World"; getch(); return 0; }
-
1 2 3 4 5 6 7 8 9
+++++ +++++ initialize counter (cell #0) to 10 [ use loop to set the next four cells to 70/100/30/10 > +++++ ++ add 7 to cell #1 > +++++ +++++ add 10 to cell #2 > +++ add 3 to cell #3 > ++++ add 1 to cell #4 <<<< - decrement counter (cell #0) ] > ----. B 66
...
-
1 2 3 4 5 6 7 8 9
using System; public class Test { public static void Main() { int n; while ((n = int.Parse(Console.ReadLine()))!=42) Console.WriteLine(n); }
