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
puts "Hello World"
-
1 2
a == 'edmundo'.reverse put a
-
1 2 3 4 5 6 7 8 9
import math def time3(h,m,r,n) : g=9.8 h=y v=0 t=0 d=1.2 dy= -h/n for i in range(n) :
...
-
1 2 3 4 5 6 7 8 9
import math def time3(h,m,r,n): g=9.8 h=y v=0 t=0 d=1.2 dy= -h/n for i in range(n):
...
-
1 2 3 4 5 6 7 8 9
import math def time3(h,m,r,n): g=9.8 h=y v=0 t=0 d=1.2 dy= -h/n for i in range(n):
...
-
1 2 3 4 5 6 7 8 9
import math def time3(h,m,r,n): g=9.8 h=y v=0 t=0 d=1.2 dy= -h/n for i in range(n):
...
-
1 2 3 4 5 6 7 8 9
import math def time3(h,m,r,n): g=9.8 h=y v=0 t=0 d=1.2 dy= -h/n for i in range(n):
...
-
1 2 3 4 5 6 7 8 9
import math def time3(h,m,r,n): g=9.8 h=y v=0 t=0 d=1.2 dy= -h/n for i in range(n):
...
-
1 2 3 4 5 6 7 8 9
import math def time3(h,m,r,n): g=9.8 h=y v=0 t=0 d=1.2 dy= -h/n for i in range(n):
...
-
1 2 3 4 5 6 7 8 9
v=0416;eval$s=%q~d=%!^Lcf<LK8, _@7gj*LJ=c5nM)Tp1g0%Xv.,S[<>YoP 4ZojjV)O>qIH1/n[|2yE[>:ieC ".#####%.#% " 97N-A&Kj_K_><wS5rtWk@*a+Y5 yH?b[F^e7C/56j|pmRe+:)B " .#####%##% :" O98(Zh)'Iof*nm.,$C5Nyt= PPu01Avw^<IiQ=5$'D-y? " #####%###: #" g6`YT+qLw9k^ch|K'),tc 6ygIL8xI#LNz3v}T=4W " %######## #." lL27FZ0ij)7TQCI)P7u }RT5-iJbbG5P-DHB<. " :####### ###" R,YvZ_rnv6ky-G+4U' $*are@b4U351Q-ug5 " ###: : ####" 00x8RR%`Om7VDp4M5 PFixrPvl&<p[]1IJ " %#... #####" EGgDt8Lm#;bc4zS^ y]0`_PstfUxOC(q " %### .#####" /,}.YOIFj(k&q_V
...
-
1 2 3 4 5 6 7 8 9
v=0473;eval$s=%q~d=%!^Lcf<LK8, _@7gj*LJ=c5nM)Tp1g0%Xv.,S[<>YoP 4ZojjV)O>qIH1/n[|2yE[>:ieC "###%.#% ::" 97N-A&Kj_K_><wS5rtWk@*a+Y5 yH?b[F^e7C/56j|pmRe+:)B "#####%##. .:#####" O98(Zh)'Iof*nm.,$C5Nyt= PPu01Avw^<IiQ=5$'D-y? "#####%###: ########" g6`YT+qLw9k^ch|K'),tc 6ygIL8xI#LNz3v}T=4W "%######## #. .####" lL27FZ0ij)7TQCI)P7u }RT5-iJbbG5P-DHB<. " :####### ##### # :###" R,YvZ_rnv6ky-G+4U' $*are@b4U351Q-ug5 " :### : :#############" 00x8RR%`Om7VDp4M5 PFixrPvl&<p[]1IJ " %#... ############:##" EGgDt8Lm#;bc4zS^ y]0`_PstfUxOC(q " .###: %############:##" /,}.YOIFj(k&q_V
...
-
1 2 3 4 5 6 7 8 9
v=0000;eval$s=%q~d=%!^Lcf<LK8, _@7gj*LJ=c5nM)Tp1g0%Xv.,S[<>YoP 4ZojjV)O>qIH1/n[|2yE[>:ieC "%.#% :::##" 97N-A&Kj_K_><wS5rtWk@*a+Y5 yH?b[F^e7C/56j|pmRe+:)B "##% ::##########" O98(Zh)'Iof*nm.,$C5Nyt= PPu01Avw^<IiQ=5$'D-y? "##: ###############" g6`YT+qLw9k^ch|K'),tc 6ygIL8xI#LNz3v}T=4W "# #. .####:#######" lL27FZ0ij)7TQCI)P7u }RT5-iJbbG5P-DHB<. " ##### # :############" R,YvZ_rnv6ky-G+4U' $*are@b4U351Q-ug5 " #######################" 00x8RR%`Om7VDp4M5 PFixrPvl&<p[]1IJ " ############:#### %#####" EGgDt8Lm#;bc4zS^ y]0`_PstfUxOC(q " .#############:##% .## ." /,}.YOIFj(k&q_V
...
-
1
69.factorial
-
1 2 3 4 5 6 7 8 9
import math def time2(h,n): g=9.8 v=0 dy = -h/n t=0 for i in range(n): y = y+dy v = -math.sqrt(2*g*(h-y))
...
-
1 2 3 4 5 6 7 8 9
import math def time2(h,n): g=9.8 # gravitational field y=h # Initialize the height. v=0 # Initialize the velocity. dy = -h/n # Divide h into n equal parts. t=0 # Initialize the time. for i in range(n): y = y+dy # Change y. (Note dy<0.)
...
-
1 2 3 4 5 6 7 8 9
import math def time2(h,n): g=9.8 # gravitational field y=h # Initialize the height. v=0 # Initialize the velocity. dy = -h/n # Divide h into n equal parts. t=0 # Initialize the time. for i in range(n): y = y+dy # Change y. (Note dy<0.)
...
-
1
puts "hello world"
-
1
puts "hello"
-
1
puts 'hello'
-
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
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
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
i = 0 while i<10 puts i i++ end
-
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
