Recent public codes are listed below. You can filter them by the following programming languages:
- view
- All
- Ada
- Assembler
- Assembler
- AWK (gawk)
- AWK (mawk)
- Bash
- bc
- Brainf**k
- C
- C#
- C++
- C++0x
- 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
- Objective-C
- Ocaml
- Oz
- Pascal (fpc)
- Pascal (gpc)
- Perl
- Perl 6
- PHP
- Pike
- Prolog (gnu)
- Prolog (swi)
- Python
- Python 3
- R
- Ruby
- Scala
- Scheme (guile)
- Smalltalk
- SQL
- Tcl
- Text
- Unlambda
- VB.NET
- Whitespace
-
1 2 3 4 5 6 7 8 9
class Fact def fact(a) f=1 while(a>1) f=f*a a=a-1 end return f end
...
-
1 2 3 4 5 6 7 8 9
class Fact def fact(a) f=1 while(a>1) f=f*a a=a-1 end return f end
...
-
1 2 3 4 5 6 7 8 9
class Fact def fact(a) f=1 while(a>1) f=f*a a=a-1 end return f end
...
-
1 2 3 4 5 6 7 8 9
class Fact def fact(a) f=1 while(a>1) f=f*a a=a-1 end return f end
...
-
1 2 3 4 5 6 7 8 9
class Fact def fact(n) f=1 while(a>1) f=f*a a=a-1 end return f end
...
-
1 2 3 4 5 6 7 8 9
class Fact def fact(n) f=1 while(a>1) f=f*a a=a-1 end return f end
...
-
1 2 3 4 5 6 7 8 9
class Fact def fact(n) f=1 while(a>1) f=f*a a=a-1 end return f end
...
-
1 2 3 4 5 6 7 8 9
class fact def fact(n) f=1 while(a>1) f=f*a a=a-1 end return f end
...
-
1 2 3 4 5 6 7 8 9
#!/usr/bin/ruby class Integer MAPPING = [" |\n |\n", " |/\n |\n", " |_\n |\n", " |\n |\\\n", " |\n/|\n", "_|\n |\n", "\\|\n |\n", "\\|/\n |\n", "\\|_\n |\n", "\\|\n |\\\n"] def to_pss
...
-
1 2 3 4 5 6 7 8 9
t=gets.to_i while(t>0) a=gets.to_i f=1 while(a>1) f=f*a a=a-1 end t=t-1
...
-
1 2 3 4 5 6 7 8 9
t = Integer(gets) while t > 0 a4 = [] a7 = [] n = Integer(gets) i = 1 while i <= n a4 << i.to_s.count("4")
...
-
1 2 3 4 5 6 7 8 9
t = Integer(gets) while t > 0 a4 = [] a7 = [] n = Integer(gets) i = 1 while i <= n a4 << i.to_s.count("4")
...
-
1 2 3 4 5 6 7 8 9
t = Integer(gets) while t > 0 a4 = [] a7 = [] n = Integer(gets) i = 1 while i <= n a4 << i.to_s.count("4")
...
-
1 2 3 4 5 6 7 8 9
t = Integer(gets) while t > 0 a4 = [] a7 = [] n = Integer(gets) i = 1 while i <= n a4 << i.to_s.count("4")
...
-
1 2 3 4 5 6 7 8 9
t = Integer(gets) while t > 0 a4 = [] a7 = [] n = Integer(gets) i = 1 while i <= n a4 << i.to_s.count("4")
...
-
1 2 3 4 5 6 7 8 9
t = Integer(gets) while t > 0 a4 = [] a7 = [] n = Integer(gets) i = 1 while i <= n a4 << i.to_s.count("4")
...
-
1 2 3 4 5 6 7 8 9
t = Integer(gets) while t > 0 a4 = [] a7 = [] n = Integer(gets) i = 1 while i <= n a4 << i.to_s.count("4")
...
-
1 2 3 4 5 6 7 8 9
t = Integer(gets) while t > 0 a4 = [] a7 = [] n = Integer(gets) i = 1 while i <= n a4 << i.to_s.count("4")
...
-
1 2 3 4 5 6 7 8 9
t = Integer(gets) while t > 0 a4 = [] a7 = [] n = Integer(gets) i = a4.length + 1 if n > a4.length while i <= n a4 << i.to_s.count("4")
...
-
1 2 3 4 5 6 7 8 9
t = Integer(gets) while t > 0 a4 = [] a7 = [] n = Integer(gets) i = a4.length + 1 if n > a4.length while i <= n a4 << i.to_s.count("4")
...
-
1 2 3 4 5 6 7 8 9
t = Integer(gets) while t > 0 a4 = [] a7 = [] n = Integer(gets) i = a4.length + 1 if n > a4.length while i <= n a4 << i.to_s.count("4")
...
-
1 2 3 4 5 6 7 8 9
t = Integer(gets) while t > 0 a4 = [] a7 = [] n = Integer(gets) i = a4.length + 1 if n > a4.length while i <= n a4 << i.to_s.count("4")
...
-
1 2 3 4 5 6 7 8 9
t = Integer(gets) while t > 0 a4 = [] a7 = [] n = Integer(gets) i = a4.length + 1 if n > a4.length while i <= n a4 << i.to_s.count("4")
...
-
1 2 3 4 5 6 7 8 9
t = Integer(gets) while t > 0 a4 = [] a7 = [] n = Integer(gets) i = a4.length + 1 if n > a4.length while i <= n a4 << i.to_s.count("4")
...
-
1 2 3 4 5 6 7 8 9
t = Integer(gets) while t > 0 a4 = [] a7 = [] n = Integer(gets) i = 1 while i <= n a4 << i.to_s.count("4") a7 << i.to_s.count("7")
...
-
1 2 3 4 5 6 7 8 9
t = Integer(gets) while t > 0 a4 = [] a7 = [] n = Integer(gets) i = 1 while i <= n a4 << i.to_s.count("4") a7 << i.to_s.count("7")
...
-
1 2 3 4 5 6 7 8 9
t = Integer(gets) while t > 0 a4 = [] a7 = [] n = Integer(gets) i = 1 while i <= n a4 << i.to_s.count("4") a7 << i.to_s.count("7")
...
-
1 2 3 4 5 6 7 8 9
t = Integer(gets) while t > 0 a4 = [] a7 = [] n = Integer(gets) i = 1 while i <= n a4 << i.to_s.count("4") a7 << i.to_s.count("7")
...
-
1 2 3 4 5 6 7 8 9
n=gets.to_i ma=-999999;c=0.0 n.times do c=gets.to_f if c>ma ma=c end end puts "%.4f"%ma
-
1 2 3 4 5 6 7 8 9
n=gets.to_i ma=-999999;c=0.0 n.times do c=gets.to_f if c>ma m=c end end puts "%.4f"%m


