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
ss = gets.to_i while ss > 0 q = 1 $stdin.readline.split.each {|n| q *= n.to_i puts q ss -= 1 end
-
1 2 3 4 5 6 7 8
ss = gets.to_i while ss > 0 x = gets.to_i y = gets.to_i puts x puts y ss -= 1 end
-
1 2 3 4 5 6 7
ss = gets.to_i while ss > 0 x = gets.to_i y = gets.to_i puts x ss -= 1 end
-
1 2 3 4 5 6 7
ss = gets.to_i while ss > 0 x = gets.to_i y = gets.to_i puts x*y ss -= 1 end
-
1 2 3 4 5
ss = gets.to_i while ss > 0 puts gets.to_i*gets.to_i ss -= 1 end
-
1 2 3 4 5
ss = 4 while ss > 0 puts ss ss -= 1 end
-
1 2 3 4 5 6 7
#include <iostream> #include <stdio.h> using namespace std; int main() { cout << "hola mundo" << endl; }
-
1 2 3 4 5 6 7 8
#include <iostream> #include <stdio.h> using namespace std; int main() { cout << "hola mundo" << endl; getch(); }
-
1 2 3 4 5
i = 0 while i<10 puts i i++ end
-
1 2 3 4 5 6 7
#include <stdio.h> Int main() { printf("Hola mundo!!!!"); return 0; }
-
1 2 3 4 5 6 7 8 9
#include <stdio.h> #include <conio.h> int main(void) {int f=0; for(int i = 3; i <= 100; i++) { for(int j = 2; j < i, i%j != 0; j++){f=1;} if(j == i) printf("%d ", i);} return 0;}
-
1 2 3 4 5 6 7 8 9
#include <cstdio> #include <map> #include <string> #include <list> #include <vector> using namespace std; list<int>adj[200001]; int in_list[200001],node,size=0,count;
...
-
1 2 3 4 5 6 7
cnt = gets.to_i i = 0 while i < cnt puts 10 puts "\n" i++ end
-
1 2 3 4 5 6 7
cnt = gets.to_i i = 0 while i < cnt puts gets.to_i*gets.to_i puts "\n" i++ end
-
1 2 3 4 5 6 7
cnt = gets.to_i i = 0 while i < 2 puts gets.to_i*gets.to_i puts "\n"; i++ end
-
1 2 3 4 5 6 7 8
cnt = gets.to_i i = 0 while i < cnt puts gets.to_i*gets.to_i puts "\n"; i++ end
-
1 2 3 4 5 6 7 8 9
#include <iostream> #include <conio.h> #include <stdio.h> int main (){ cout << "hola mundo" << endl; getch(); return 0; }
-
1 2 3 4 5 6 7 8 9
#include <iostream> #include <conio> #include <stdio> int main (){ cout << "hola mundo" << endl; getch(); return 0; }
-
1 2 3 4 5
cnt = gets.to_i while cnt-- puts gets.to_i*gets.to_i puts "\n"; end
-
1 2 3 4 5 6 7 8
#include <iostream> #include <conio> int main (){ cout << "hola mundo" << endl; getch(); return 0; }
-
1 2 3 4 5 6 7
#include <iostream> int main (){ cout << "hola mundo" << endl; getch(); return 0; }
-
1 2 3 4 5 6
#include <iostream.h> int main (){ cout << "hola mundo" << endl; getch(); }
-
1 2 3 4 5 6 7
#include <iostream> using namespace std; int main() { cout << "Hello World" << endl; return 0; }
-
1 2 3 4 5 6 7 8
cnt = gets.to_i res = 1; while(cnt--) { nw = gets.to_i res *= nw } puts res
-
1 2 3 4 5 6
#include <iostream.h> void main (){ cout << "hola mundo" << endl; getch(); }
-
1 2
cnt = gets.to_i puts(cnt*10000000000000000000000000000000000)
-
1 2
cnt = gets.to_i puts (cnt+100)
-
1 2 3 4 5 6
>+[>>,----------[>,----------]+++++[<-------->-]<[>>-<]>+[ -<+++++++[<------>-]<[>>-<]>+[ -<<[>>-<]>+[<<->>->]> ]<+++++++[<++++++>-]>> ]<++++++++[<+++++>-]< [<]<[>>[++++++++++.>]++++++++++.[[-]<]]<]
-
1 2 3 4 5 6 7 8 9
#include <iostream> #include <stdio.h> int m,n,i,a,b,a1,b1,suma=0,wynik=0; /*zmienne*/ int *x,*y; /*tablice*/ int main(void) { cin >> m >> n; /*wczytanie m,n*/
...
-
1 2
cnt = gets puts (cnt+100)
