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
local read, write = io.read, io.write local num, nl = '*n', '\n' while true do local a = read(num) if a == 42 then return end write(a, nl) end
-
1 2 3 4 5 6 7 8
using System; public module HelloWorld { public Main() : void { Console.WriteLine("Hello world!"); } }
-
1 2 3 4 5
def x = (if (true) Some(System.Guid.Empty) else None()) : System.Guid?;
-
1 2 3 4 5 6
def x = if (true) Some(Guid.Empty) else None();
-
1
-
1 2 3 4
using System; def list = $[0..9]; Console.WriteLine(list);
-
1 2 3 4
using System; def list = $[0..9]; list.iter( x=>Console.WriteLine(x));
-
1 2
def list = $[0..9]; list.iter( x=>Console.WriteLine(x));
-
1 2 3 4 5 6
var p:pointer; begin getmem (p,100*1024*1024); fillchar (p^,100*1024*1024,77); readln; end.
-
1 2 3 4 5 6
var p:pointer; begin p:=allocmem (100*1024*1024); fillchar (p^,100*1024*1024,77); readln; end.
-
1 2 3 4 5 6 7 8 9
class Multithreaddemo /*why capital letter for constructor*/ { public static void fun1() { new Thread() { int i for(i=0;i<10000;i++)
...
-
1 2 3 4 5 6 7 8
using System; public module HelloWorld { public Main() : void { Console.WriteLine("Hello world!"); } }
-
1 2 3 4 5 6 7
class A[K,V] { } class B { a = A.[int,int](); } _=()
-
1 2 3 4 5 6 7
class A[K,V] { } class B { a : A[int, int] = A.[int,int](); } _=()
-
1 2 3 4 5 6 7 8
int main() { string s=Stdio.stdin->gets(); while (s!="42") { write(s+"\n"); s=Stdio.stdin->gets(); } return 0; }
-
1 2 3 4 5 6 7 8
using System; public module HelloWorld { public Main() : void { Console.WriteLine("Hello world!"); } }
-
1 2 3 4 5 6 7 8
using System; public module HelloWorld { public Main() : void { Console.WriteLine("Hello world!"); } }
-
1 2 3 4 5 6 7
class A { static F(a : int, b : int) : int { a + b }; static i : int = F(1 , 2 ); } _=();
-
1 2 3 4 5 6
class A { static F() : int { 1 }; static i : int = F(); }
-
1 2 3 4 5 6
class A { static F() : int { 1 }; static i = F(); }
-
1 2 3 4 5 6 7 8
using System; public module HelloWorld { public Main() : void { Console.WriteLine("What?"); } }
-
1 2 3 4 5 6 7 8
using System; public module HelloWorld { public Main() : void { Console.WriteLine("Dupa!"); } }
-
1 2
def f(g) {} f('=>');
-
1 2
def f(g) {} f('=>');
-
1
def x = _=>_;
-
1 2 3 4 5 6 7 8 9
using System; public class Test { public static Main() : void { def solve() : void { def i = int.Parse(Console.ReadLine()); unless (i == 42) { Console.WriteLine(i);
...
-
1 2 3 4 5 6 7 8 9
Private static void ShowCoordinates() { string dummy = "5320432941379723768723456"; int a = 0x34; int b = 3; AddOne(b); string c = Regex.Replace(dummy, "(?:9?[^8]0*)", ""); int d = 1 << 3; int e = 1 ^ 2;
...
-
1 2 3 4 5 6 7 8 9
using System; public class Test { public static Main() : void { def solve() : void { def i = int.Parse(Console.ReadLine()); unless (i == 42) { Console.WriteLine(i);
...
-
1 2
class A{} class B:A{} def c = A() : object == B();
-
1 2
class A{} class B:A{} def c = A() == B();


