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
>>.
-
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 7 8 9
program test; var x:byte; begin readln(x); while x<>42 do begin writeln(x);
...
-
1 2 3 4 5 6 7 8 9
...
-
1 2 3 4 5 6 7 8 9
# example inputs list1 = ['f', 'o', 'o'] list2 = ['hello', 'world'] # desired output ['f', 'hello', 'o', 'world', 'o'] list3 = [] while True:
...
-
1 2 3 4 5 6 7 8 9
# example inputs list1 = ['f', 'o', 'o'] list2 = ['hello', 'world'] # desired output ['f', 'hello', 'o', 'world', 'o'] list3 = [] while True:
...
-
1 2 3 4 5 6 7 8 9
#include<stdio.h> int main() { int n,q,i,j,h,a,b,m; scanf("%d%d",&n,&q); if(n<100000 && q<100000) { int arr[n]; for(j=0;j<n;j++)
...
-
1 2 3 4 5 6 7 8 9
#include<stdio.h> int main() { int n,q,i,h,a,b,m; scanf("%d%d",&n,&q); if(n<100000 && q<100000) { int arr[n]; for(j=0;j<n;j++)
...
-
1 2 3 4 5 6 7 8 9
# example inputs list1 = ['f', 'o', 'o'] list2 = ['hello', 'world'] # desired output ['f', 'hello', 'o', 'world', 'o'] list3 = [] while True:
...
-
1 2 3 4 5 6 7 8 9
# example inputs list1 = ['f', 'o', 'o'] list2 = ['hello', 'world'] # desired output ['f', 'hello', 'o', 'world', 'o'] list3 = [] while True:
...
-
1 2 3 4 5 6 7 8 9
#include<stdio.h> void main(){ int i,j,k,lines,l,m; int arr[4]={1,0,0,1}; printf("Enter lines: "); scanf("%d",&lines); printf("\n\n"); for(i=1;i<lines;i++){ if(i%2==0){
...
-
1 2 3 4 5 6 7 8 9
#include<stdio.h> int main() { int n,q,i,h,a,b,m;int arr[n]; scanf("%d%d",&n,&q); if(n<100000 && q<100000) { for(i=0;i<q;i++)
...
-
1 2 3 4 5 6 7 8 9
global _start section .data buffer dw 0h section .text _start: mov ecx, buffer
...
-
1 2 3 4 5 6 7 8 9
public class AddToArray() { //you woulda used like cm.getItems() instead var items = "1082223, 1102145, 1102041, 1102042, 1072262, 1072238, 1072344, 2070016, 2022179, 1072342, 1072345, 1072343, 1072346, 1002739, 1002750, 1052149, 1052152, 1052148, 1052151, 1002676, 1032048, 5220000, 1002571, 1002572, 1002573, 1002574, 1122007, 1002419, 1302079, 1322059, 1442060, 1382053, 1452052, 1462046, 1472062, 1332064, 1332065, 1092052, 1032049, 1102146, 1002675, 1472064, 1402045, 1452053, 1032030, 1032031, 2022118, 1092035, 1002716, 1002717"; //creates the array for all the items to be put in var array = new Array(); public AddToArray() { }
...
-
1 2 3 4 5 6 7 8 9
public class AddToArray() { //you woulda used like cm.getItems() instead var items = "1082223, 1102145, 1102041, 1102042, 1072262, 1072238, 1072344, 2070016, 2022179, 1072342, 1072345, 1072343, 1072346, 1002739, 1002750, 1052149, 1052152, 1052148, 1052151, 1002676, 1032048, 5220000, 1002571, 1002572, 1002573, 1002574, 1122007, 1002419, 1302079, 1322059, 1442060, 1382053, 1452052, 1462046, 1472062, 1332064, 1332065, 1092052, 1032049, 1102146, 1002675, 1472064, 1402045, 1452053, 1032030, 1032031, 2022118, 1092035, 1002716, 1002717"; //creates the array for all the items to be put in var array = new Array(); public AddToArray() { }
...
-
1 2 3 4 5 6 7 8 9
public class AddToArray() { //you woulda used like cm.getItems() instead var items = "1082223, 1102145, 1102041, 1102042, 1072262, 1072238, 1072344, 2070016, 2022179, 1072342, 1072345, 1072343, 1072346, 1002739, 1002750, 1052149, 1052152, 1052148, 1052151, 1002676, 1032048, 5220000, 1002571, 1002572, 1002573, 1002574, 1122007, 1002419, 1302079, 1322059, 1442060, 1382053, 1452052, 1462046, 1472062, 1332064, 1332065, 1092052, 1032049, 1102146, 1002675, 1472064, 1402045, 1452053, 1032030, 1032031, 2022118, 1092035, 1002716, 1002717"; //creates the array for all the items to be put in var array = new Array(); public AddToArray() { }
...
-
1 2 3 4 5 6 7 8 9
#include <iostream> using std::cout; class Test { public: Test(){} int foo (const int) const; int foo (int ); };
...
-
1 2 3 4 5 6 7 8 9
;; Project Euler - Problem 71 (import (rnrs)) (define (solve right x limit) (let* ([r-num (numerator right)] [r-denom (denominator right)] [left (/ (- (* r-num x) 1) (* r-denom x))]) (if (<= (denominator left) limit)
...
-
1 2 3 4 5 6 7 8 9
#include <iostream> #include <fstream> #include <iostream> #include <sstream> #include <string> #include <errno.h> #include <string.h> #include <sys/resource.h>
...
-
1 2 3 4 5 6
>+[>>,----------[>,----------]+++++[<-------->-]<[>>-<]>+[ -<+++++++[<------>-]<[>>-<]>+[ -<<[>>-<]>+[<<->>->]> ]<+++++++[<++++++>-]>> ]<++++++++[<+++++>-]< [<]<[>>[++++++++++.>]++++++++++.[[-]<]]<]
-
1 2 3 4 5 6 7 8 9
#include <iostream> #include <fstream> #include <iostream> #include <sstream> #include <string> #include <errno.h> #include <string.h> #include <sys/resource.h>
...
-
1 2 3 4 5 6 7 8 9
public class AddToArray() { //you woulda used like cm.getItems() instead var items = "1082223, 1102145, 1102041, 1102042, 1072262, 1072238, 1072344, 2070016, 2022179, 1072342, 1072345, 1072343, 1072346, 1002739, 1002750, 1052149, 1052152, 1052148, 1052151, 1002676, 1032048, 5220000, 1002571, 1002572, 1002573, 1002574, 1122007, 1002419, 1302079, 1322059, 1442060, 1382053, 1452052, 1462046, 1472062, 1332064, 1332065, 1092052, 1032049, 1102146, 1002675, 1472064, 1402045, 1452053, 1032030, 1032031, 2022118, 1092035, 1002716, 1002717"; //creates the array for all the items to be put in var array = new Array(); public AddToArray() { }
...
-
1 2 3 4 5 6 7 8 9
#include <iostream> using std::cout; class Test { public: Test(){} int foo (const int) const; int foo (int ); };
...
-
1 2 3 4 5 6 7 8 9
#include <iostream> #include <fstream> #include <iostream> #include <sstream> #include <string> #include <errno.h> #include <string.h> #include <sys/resource.h>
...
-
1 2 3 4 5 6 7 8 9
#include <iostream> #include <fstream> #include <iostream> #include <sstream> #include <string> #include <errno.h> #include <string.h> #include <sys/resource.h>
...
-
1 2 3 4 5 6 7 8 9
public class AddToArray() { //you woulda used like cm.getItems() instead var items = "1082223, 1102145, 1102041, 1102042, 1072262, 1072238, 1072344, 2070016, 2022179, 1072342, 1072345, 1072343, 1072346, 1002739, 1002750, 1052149, 1052152, 1052148, 1052151, 1002676, 1032048, 5220000, 1002571, 1002572, 1002573, 1002574, 1122007, 1002419, 1302079, 1322059, 1442060, 1382053, 1452052, 1462046, 1472062, 1332064, 1332065, 1092052, 1032049, 1102146, 1002675, 1472064, 1402045, 1452053, 1032030, 1032031, 2022118, 1092035, 1002716, 1002717"; //creates the array for all the items to be put in
...
-
1 2 3 4 5 6 7 8 9
#include <iostream> #include <fstream> #include <iostream> #include <sstream> #include <string> #include <errno.h> #inlude <string.h> #include <string.h> #include <sys/resource.h>
...
-
1 2 3 4 5 6 7 8 9
public class AddToArray() { //you woulda used like cm.getItems() instead var items = "1082223, 1102145, 1102041, 1102042, 1072262, 1072238, 1072344, 2070016, 2022179, 1072342, 1072345, 1072343, 1072346, 1002739, 1002750, 1052149, 1052152, 1052148, 1052151, 1002676, 1032048, 5220000, 1002571, 1002572, 1002573, 1002574, 1122007, 1002419, 1302079, 1322059, 1442060, 1382053, 1452052, 1462046, 1472062, 1332064, 1332065, 1092052, 1032049, 1102146, 1002675, 1472064, 1402045, 1452053, 1032030, 1032031, 2022118, 1092035, 1002716, 1002717"; //creates the array for all the items to be put in
...
-
1
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
-
1 2 3 4 5 6 7 8 9
#include <iostream> using std::cout; class Test { public: Test(){} int foo (const int) const; int foo (int ); };
...
