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
#include <stdio.h> #include <string.h> int il5(char x[], int st) { int il=0; while(st--) if(x[st]=='5') il++; return il; }
...
-
1 2 3 4 5 6 7 8 9
#!/bin/python def fat(n): if n == 1: return n return fat(n-1) * n a = int(raw_input())
-
1 2 3 4 5 6 7 8 9
#include<stdio.h> //#include<conio.h> int main() { int r[50000]; int f,i; int cnt=1; r[0]=3; printf("2\n3\n");
...
-
1 2 3 4 5 6 7 8
#include <stdio.h> #include <string.h> int il5(char x[], int st) { int il=0; while(st--) if(x[st]=='5') il++; return il; }
...
-
1 2 3 4 5 6 7 8
IDENTIFICATION DIVISION. PROGRAM-ID. EXERC1. * ENVIRONMENT DIVISION. * DATA DIVISION. WORKING-STORAGE SECTION.
...
-
1 2 3 4 5 6 7 8 9
#include <iostream> using namespace std; int main() { int cl[2]; int pl[2]; cin >> cl[0] >> pl[0] >> cl[1] >> pl[1];
...
-
1 2 3 4 5 6 7 8
#include <stdio.h> #include <string.h> int il5(char x[], int st) { int il=0; while(st--) if(x[st]=='5') il++; return il; }
...
-
1 2 3 4 5 6 7 8 9
#include <iostream> using namespace std; int main() { int cl[2]; int pl[2]; cin >> cl[0] >> pl[0] >> cl[1] >> pl[1];
...
-
1 2 3 4 5 6 7 8 9
import math def time2(h,n,m,r,p): g=9.8 y=h v=0 dy=-h/n t=0 for i in range(n): y=y+dy
...
-
1 2 3 4 5 6 7 8
IDENTIFICATION DIVISION. PROGRAM-ID. EXERC1. * ENVIRONMENT DIVISION. * DATA DIVISION. WORKING-STORAGE SECTION.
...
-
1 2 3 4 5 6 7 8 9
#include<stdio.h> //#include<conio.h> int main() { int r[50000]; int f,i; int cnt=1; r[0]=3; printf("2\n3\n");
...
-
1 2 3 4 5 6 7 8
#include <stdio.h> #include <string.h> int il5(char x[], int st) { int il=0; while(st--) if(x[st]=='5') il++; return il; }
...
-
1 2 3 4 5 6 7 8 9
import math def time2(h,n,m,r,p): g=9.8 y=h v=0 dy=-h/n t=0 pi=3.14 for i in range(n):
...
-
1 2 3 4 5 6 7 8 9
#!/bin/python def fat(n): if n == 1: return n return fat(n-1) * n a = int(raw_input())
-
1 2 3 4 5 6 7 8 9
#!/bin/python def fat(n): if n == 1: return n return fat(n-1) * n a = int(raw_input())
-
1 2 3 4 5 6 7 8 9
#!/bin/python def fat(n): if n == 1: return n return fat(n-1) * n a = int(raw_input())
-
1 2 3 4 5 6 7 8 9
#include<algorithm> using namespace std; #define N_MAX 1002 struct p { int a,b,pr,da,db; p() { }
...
-
1 2 3 4 5 6 7 8 9
#!/bin/python def fat(n): if n == 1: return n return fat(n-1) * n a = int(raw_input())
-
1 2 3 4 5 6 7 8 9
#include<stdio.h> int main() { int r[50000]; int f,i; int cnt=1; printf("2\n3\n"); for(i=5;i<10000;i+=2) {
...
-
1 2 3 4 5 6 7 8 9
import math def create_chkps(chks): i = 1 x = 0 while x < 1000000001: x = math.pow(2,i) chks.append(int(math.pow(2,i+1)) - 2) i += 1
...
-
1 2 3 4 5 6 7 8 9
import math def time2(h,n,m,r,p): g=9.8 y=h v=0 dy=-h/n t=0 for i in range(n): y=y+dy
...
-
1 2 3 4 5 6 7 8 9
import math def time2(h,n,m,r,p): g=9.8 y=h v=0 dy=-h/n t=0 for i in range(n): y=y+dy
...
-
1 2 3 4 5 6 7 8
#include <stdio.h> int main() { int a; scanf("%d", &a); printf("%d\n", a); return 0; }
-
1 2 3 4 5 6 7 8 9
# include <stdio> int main{ int vetNumeros[]; int i, soma, a, b; for (i=0, i<dim, i++){ while(vetNumeros[] != 9){ printf ("Digite o primeiro numero a ser somado:"); scanf ("%", & a); printf ("Digite o segundo numero a ser somado:");
...
-
1 2 3 4 5 6 7 8 9
#include<stdio.h> int main() { int r[50000]; int f; int cnt=1; printf("2\n3\n"); for(int i=5;i<10000;i+=2) {
...
-
1 2 3 4 5 6
#include <stdio.h> int main() { printf("Hello World"); return 0; }
-
1 2 3 4 5 6 7 8 9
#!/bin/python a = int(raw_input()) b = 1 t = range(1,a+1) for i in t:
...
-
1 2 3 4 5 6 7 8 9
#include <iostream> using namespace std; int main() { int intTests; cin >> intTests;
...
-
1 2 3 4 5 6 7 8 9
daysIn = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] ans = 0 day = 2 for year in range(1901, 2001): for month in range(1, 13): day += daysIn[month] if (month==2 and year%4 == 0 and year%4 != 400): day += 1
...
-
1 2 3 4 5 6 7 8 9
# include <stdio> int main{ int vetNumeros[]; int i, soma, a, b; for (i=0, i<TAM, i++){ while(vetNumeros[] != 9){ printf ("Digite o primeiro numero a ser somado:"); scanf ("%", & a); printf ("Digite o segundo numero a ser somado:");
...
