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
class A { public: void show() { } A(){} }; class B : protected A { }; int main()
...
-
1 2 3 4 5 6 7 8 9
class A { public: void show() { } }; class B : protected A { }; int main() {
...
-
1 2 3 4 5 6 7 8 9
#include <iostream> template <typename T> class CTest { public: void Print(const T& value) { std::cout << value << std::endl; } T Add(const T& value1, const T& value2) { return value1 + value2; } T Sub(const T& value1, const T& value2) { return value1 - value2; }
...
-
1 2 3 4 5 6 7 8 9
#include <iostream> template <typename T> class CTest { void Print(const T& value) { std::cout << value << std::endl; } T Add(const T& value1, const T& value2) { return value1 + value2; } T Sub(const T& value1, const T& value2) { return value1 - value2; } };
...
-
1 2 3 4 5 6 7 8 9
class A { public: void show() { } }; class B : protected A { }; int main() {
...
-
1 2 3 4 5 6 7 8 9
#!/bin/bash NUMBER=$1 INPUT_FILE=$2 OUTPUT_FILE=$3 export LANG=RU echo "LANG=$LANG" i=1
...
-
1 2 3 4 5 6 7 8 9
class A { public: void show() { } }; class B : protected A { }; int main() {
...
-
1 2 3 4 5 6 7 8 9
// CodeCamp.java /* Student information for assignment: * * On my honor, <NAME>, this programming assignment is my own work * and I have not provided this code to any other student. * * UTEID:
...
-
1 2 3 4 5 6
int i = 5; for (int k=1;k>4,k++){ i=k; cout<<i<<" "; }
-
1 2 3 4 5 6 7 8 9
// CodeCamp.java /* Student information for assignment: * * On my honor, <NAME>, this programming assignment is my own work * and I have not provided this code to any other student. * * UTEID:
...
-
1
echo "Hello!"
-
1 2 3 4 5 6 7 8 9
public class Main { public static void main(String[] args) { A a1 = new A(); A a2 = new B(); B b1 = new A(); B b2 = new B(); a1.doIt();
...
-
1 2 3 4 5 6 7 8 9
public class Main { public static void main(String[] args) { A a1 = new A(); A a2 = new B(); B b1 = new A(); B b2 = new B(); a1.doIt(); a2.doIt();
...
-
1 2 3 4 5 6 7 8 9
//--------------------------------------------------------------------------- #include <stdio.h> #pragma hdrstop //--------------------------------------------------------------------------- #pragma argsused int main(int argc, char* argv[]) {
...
-
1
-
1 2 3 4 5 6 7 8 9
public class A { public void doIt() { System.out.println(«A»); } } public class B extends A { public void doIt()
...
-
1 2 3 4 5 6 7 8 9
public class A { public void doIt() { System.out.println(«A»); } } public class B extends A { public void doIt()
...
-
1 2 3 4 5 6 7 8 9
/* Name: Copyright: DHKHTN - DHQGHN Author: Nguyen Dinh Nhat Date: 26/07/10 21:40 Description: SPSEQ https://vn.spoj.pl/problems/SPSEQ/ */
...
-
1 2 3 4 5 6 7 8
// Project Euler - Problem 145 #include <stdio.h> #include <stdbool.h> #include <inttypes.h> typedef uint32_t u32; typedef uint64_t u64;
...
-
1 2 3 4 5 6 7 8 9
/* Name: Copyright: DHKHTN - DHQGHN Author: Nguyen Dinh Nhat Date: 26/07/10 21:40 Description: SPSEQ https://vn.spoj.pl/problems/SPSEQ/ */
...
-
1 2 3 4 5
class HelloWorld { public static void main(String[] args) { System.out.println("Hello World"); }//End of main }//End of HelloWorld Class
-
1 2 3 4 5
class HelloWorld { public static void main(String[] args) { System.out.println("Hello World"); }//End of main }//End of HelloWorld Class
-
1 2 3 4 5 6 7 8 9
/* Name: Copyright: DHKHTN - DHQGHN Author: Nguyen Dinh Nhat Date: 26/07/10 21:40 Description: SPSEQ https://vn.spoj.pl/problems/SPSEQ/ */
...
-
1 2 3 4 5 6 7 8 9
/* Name: Copyright: DHKHTN - DHQGHN Author: Nguyen Dinh Nhat Date: 26/07/10 21:40 Description: SPSEQ https://vn.spoj.pl/problems/SPSEQ/ */
...
-
1 2 3
int32 s = 0; s = 123 * 321; MessageBox.Show(s.ToString());
-
1 2 3 4 5 6 7 8 9
/* Name: Copyright: DHKHTN - DHQGHN Author: Nguyen Dinh Nhat Date: 26/07/10 21:40 Description: SPSEQ https://vn.spoj.pl/problems/SPSEQ/ */
...
-
1 2 3 4 5
class HelloWorld { public static void main(String[] args) { System.out.println("Hello World"); }//End of main }//End of HelloWorld Class
-
1 2 3 4 5
public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World"); }//End of main }//End of HelloWorld Class
-
1 2 3 4 5 6 7 8 9
/* Name: Copyright: DHKHTN - DHQGHN Author: Nguyen Dinh Nhat Date: 26/07/10 21:40 Description: SPSEQ https://vn.spoj.pl/problems/SPSEQ/ */
...
-
1 2 3 4 5 6 7 8 9
/* package whatever; // don't place package name! */ /* 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;
...
