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
// Calculate Nth Fibbionacci number in O(log N) object Milk{ // Matrix multiplication def matmul(mat1 : Array[ Array [Int] ], mat2 : Array[ Array [Int] ]): Array[ Array [Int] ] = { val n = mat.size; var res = new Array[ Array [Int]](n, n); for(i <- 0 until n){ for(j <- 0 until n){ res(i)(j) = 0;
...
-
1 2 3 4 5 6 7 8 9
// Calculate Nth Fibbionacci number in O(log N) object Milk{ // Matrix multiplication def matmul(mat1 : Array[ Array [Int] ], mat2 : Array[ Array [Int] ]): Array[ Array [Int] ] = { val n = mat.size; var res : Array[ Array [Int]](n, n); for(i <- 0 until n){ for(j <- 0 until n){ res(i)(j) = 0;
...
-
1 2 3 4 5 6 7 8 9
// Calculate Nth Fibbionacci number in O(log N) object Milk{ // Matrix multiplication def matmul(mat1 : Array[ Array [Int] ], mat2 : Array[ Array [Int] ]): Array[ Array [Int] ] = { val n = mat.size; var res : Array[ Array [Int](n) ](n); for(i <- 0 until n){ for(j <- 0 until n){ res(i)(j) = 0;
...
-
1 2 3 4 5 6 7 8 9
// Calculate Nth Fibbionacci number in O(log N) object Milk{ // Matrix multiplication def matmul(mat1 : Array[ Array [Int] ], mat2 : Array[ Array [Int] ]) = : Array[ Array [Int] ] { val n = mat.size; var res : Array[ Array [Int](n) ](n); for(i <- 0 until n){ for(j <- 0 until n){ res(i)(j) = 0;
...
-
1 2 3 4 5 6 7 8 9
<?xml version="1.0" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head> <title>Geocache GC... Für Informatiker - 2</title> </head>
...
-
1 2 3
object Main extends Application { println("Hello world") }
-
1 2 3 4 5 6 7 8 9
import java.io.{BufferedReader, InputStreamReader} object Main { def main(args: Array[String]) { var stdin = new BufferedReader(new InputStreamReader(System.in)); var line = stdin.readLine(); while(false == line.equals("42")) { System.out.println(line);
...
-
1
println "hello %s".format("larry")
-
1 2 3 4 5 6 7 8 9
begin 644 webutils_pl M8F5G:6X@-C0T(&EN9F\R+FAT;6P-"DTO(UU8.S900#U&-5(\5D5/.T-40BPR M6%`H0F!?+T)@0")#4$$Q)%TC-25%,#$R(4@])E5,*"4A-3!$42D-"DTP4F!" M*S)<3S53+2,K4ETD-20P0#8D030S-%!`+#)84"@E,5(X-EE3.C<Q23M664$[ M(EQ/,3180B)"8$(-"DTZ)S%4/"-(3RM7/5<]4EE7+%)93SQ&/$\U)2A//B9! M5#LV4%$K5#$T,2)=6#HG,4T[(R1-/2<I03M'+4D-"DT])D5/.T8E3"M&,50Y M(BA>(D!(0"@B8"DH8$1`(D)@0"A@1$`H8$0I(C!(7#HG,4T[(B%8.S913CQ3 M5$(-"DTZ)S%4/"-(3RM7/5<]4EE7+%)93SQ&/$\L,T19+C)=6#HG,4T[(BA> M+R9!13@V,%XH(F!`(C!$*2@B8"D-"DTB0U%4.C<Q3#DS62<Y-EU#.#8M2#DR
...
-
1
-
1 2 3 4 5 6 7 8 9
import java.io.{BufferedReader, InputStreamReader} object Main { def main(args: Array[String]) { var stdin = new BufferedReader(new InputStreamReader(System.in)); var line = stdin.readLine(); while(false == line.equals("42")) { System.out.println(line);
...
-
1 2 3 4 5 6 7 8 9
class Xorq(X: Array[Int]) { val N = X.length /** * findMax = { x | : x=max(for all y in X[p..q] : y^a=x) */ def findMax( a: Int, p: Int, q: Int ) : Int = { X.dropRight(N-q).takeRight(q-p+1).map(x=>x^a).max }
...
-
1 2 3 4 5 6 7 8 9
/** * Created by IntelliJ IDEA. * User: serkan * Date: 1/24/12 * Time: 1:11 PM * To change this template use File | Settings | File Templates. */ class Xorq(X: Array[Int]) {
...
-
1 2 3 4 5 6 7 8 9
/** * Created by IntelliJ IDEA. * User: serkan * Date: 1/24/12 * Time: 1:11 PM * To change this template use File | Settings | File Templates. */ class Xorq(X: Array[Int]) {
...
-
1 2 3 4 5 6 7 8
package com.mobilemagic.ngrams import java.io.File import scalax.io._ import Resource._ import com.twitter.querulous.evaluator.QueryEvaluator import akka.actor.{Props, ActorSystem, Actor} import akka.routing.RoundRobinRouter
...
-
1 2 3 4 5 6
object Main { def main(){ var a : String; } }
-
1 2 3 4 5 6
object Main { def main(){ var a : int; } }
-
1 2 3 4 5 6
object Main { def main(){ var a; } }
-
1 2 3 4 5 6
object Main { def main(String[] args){ var a; } }
-
1 2 3 4 5 6
def method(){ var a; val b; }
-
1 2 3 4 5 6 7 8 9
object Main { def main(args: Array[String]) { for(i: Long <- 0L until readLong()) println(gp(BigInt(readLine()) + 1)) } def gp(n: BigInt): BigInt = { var i = n while(i != reverse(i, 0)) i += 1 i } def reverse(n: BigInt, partial: BigInt): BigInt = if (n == 0) partial else reverse(n / 10, partial * 10 + n % 10) }
-
1 2 3 4 5 6 7 8 9
object Main { def main(args: Array[String]) { for(i: Long <- 0L until readLong()) println(gp(BigInt(readLine()) + 1)) } def gp(n: BigInt): BigInt = { var i = n while(i != reverse(i, 0)) i += 1 i } def reverse(n: BigInt, partial: BigInt): BigInt = if (n == 0) partial else reverse(n / 10, partial * 10 + n % 10) }
-
1 2 3 4 5
object Main { def main(args: Array[String]) { print(3 + 4) } }
-
1 2 3 4
object Main { def main(args: Array[String]) { print(3 + 4) }
-
1
3+4
-
1 2 3 4 5 6 7 8
object Main { def main(args: Array[String]) { def gcd(a: Int, b: Int): Int = if (b == 0) a else gcd(b, a % b) println(gcd(48, 180)); } }
-
1 2 3 4 5 6 7 8
object Main { def main(args: Array[String]) { def gcd(a: Int, b: Int): Int = if (b == 0) a else gcd(b, a % b) println(gcd(34643, 346624)); } }
-
1 2 3 4 5 6 7 8 9
import java.io.{BufferedReader, InputStreamReader} object Main { def main(args: Array[String]) { var stdin = new BufferedReader(new InputStreamReader(System.in)); var line = stdin.readLine(); while(false == line.equals("42")) { System.out.println(line);
...
-
1 2 3 4 5 6 7 8 9
import java.io.{BufferedReader, InputStreamReader} object Main { def main(args: Array[String]) { var stdin = new BufferedReader(new InputStreamReader(System.in)); var line = stdin.readLine(); while(false == line.equals("42")) { System.out.println(line);
...
-
1 2 3 4 5 6 7 8 9
object Main { def main(args: Array[String]) { val secret = List('3', '_', 'r', '@', '!', '?', 'a') // Just a Map from Char to Char val key = Map( '@' -> 'a', 'x' -> 'y',
...


