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
-module(prog). -export([main/0]). main() -> print_ips({1, 1, 1, 1}, {2, 2, 2, 2}). print_ips(A, A) -> ok;
...
-
1 2 3 4 5 6 7 8
-module(prog). -export([main/0]). main() -> print_ips({1, 1, 1, 1}, {2, 2, 2, 2}). print_ips(A, A) -> ok;
...
-
1 2 3 4 5 6 7 8
-module(prog). -export([main/0]). main() -> print_ips({1, 1, 1, 1}, {2, 2, 2, 2}). print_ips(A, A) -> ok;
...
-
1 2 3 4 5 6 7 8 9
-module(prog). -export([main/0]). main() -> loop(). loop() -> case io:fread( "","~d" ) of eof -> true;
...
-
1 2 3 4 5
-module(prog). -export([main/0]). main() -> true.
-
1 2 3
Terms = [Terms || File <- Files, {ok, Bin} <- [file:read_file(File)], {ok, Terms} <- [bertconf_lib:decode(Bin)]],
-
1 2
> c(hello). > hello:hello_world().
-
1 2 3 4 5 6 7 8 9
#include<iostream.h> // use to #include<stdlib.h> // used to use exit function,,,, void main() { int matrix[3][3],k,i,j,z,count=0; for(k=0;k<5;k++) //will execute the inner loop 5 times, which is already executing 2 times i.e inner loop is executed 10 times { for(z=1;z<=2;z++) { count++;
...
-
1 2 3 4 5 6 7 8 9
(defn bottles [n & [capitalize]] (str (if (> n 0) n (if capitalize "No more" "no more")) " bottle" (if (= 1 n) "" "s") " of beer" )) (defn bot-wall [n & cap] (str (bottles n cap) " on the wall")) (defn sing ; Default is 99 times. ([] (sing 99))
...
-
1
Mfp ey zwvo fvat rjx hwprdrr lb nawzh tnfpc: Anj icvlu, hjgy Kbffhg, zk hjp gm nso nntjj, phf sw vawwhnwer, pcum nu oeq ewllxqmqit
-
1 2 3 4 5 6 7 8 9
import java.util.Scanner; import java.io.*; class student { String student_name; String Ali; String Abu; double setMatricNo;
...
-
1 2 3 4 5 6 7 8 9
#include <string.h> #include <stdio.h> void incremente( char compteur[] ) { int c=1,p=0; for (p=0;c && compteur[p];p++) { if (compteur[p]=='z')
...
-
1 2 3 4 5 6 7 8 9
-module(prog). -export([main/0]). main() -> loop(). loop() -> case io:fread( "","~d" ) of eof -> true;
...
-
1 2 3 4 5 6 7 8 9
-module(prog). -export([main/0]). main() -> loop(). loop() -> case io:fread( "","~d" ) of eof -> true;
...
-
1 2
[First |TheRest] = [1,2,3,4,5]. First
-
1 2 3 4 5 6 7 8 9
import java.util.*; public class Lotto.java { public static void main(String[] args) { Random rg = new Random(); int[] zuf = new int[6];
...
-
1 2 3 4 5 6 7 8 9
-module(prog). -export([main/0]). main() -> substr1("abcd",2). substr1(List,N) -> substr1(List,N,[]). substr1(_,0,SubList) -> SubList;
...
-
1 2 3 4 5 6 7 8 9
-module(prog). -export([main/0]). main() -> substr1("abcd",2). substr1(List,N) -> substr1(List,N,[]). substr1(_,0,SubList) -> SubList;
...
-
1 2 3 4 5 6 7 8 9
-module(prog). -export([main/0]). main() -> loop(). loop() -> case io:fread( "","~d" ) of eof -> true;
...
-
1 2 3 4 5 6 7 8 9
-module(function). -compile(export_all). substr1(_,0,SubList) -> SubList; substr1([],_,SubList) -> SubList; substr1([H|T],N,SubList) when N>0 -> substr1(T,N-1,[H|SubList]). sublist1("abcd",1).
-
1 2 3 4 5 6
substr1(_,0,SubList) -> SubList; substr1([],_,SubList) -> SubList; substr1([H|T],N,SubList) when N>0 -> substr1(T,N-1,[H|SubList]). sublist1("abcd",1).
-
1
-
1 2 3 4 5 6 7 8 9
-module(prog). -export([main/0]). main() -> loop(). loop() -> case io:fread( "","~d" ) of eof -> true;
...
-
1 2 3 4 5 6 7 8 9
-module(myserver). -behaviour(gen_server). -define(SERVER, ?MODULE). %% ------------------------------------------------------------------ %% API Function Exports %% ------------------------------------------------------------------ -export([start_link/1, info/0, release/0]).
...
-
1 2 3 4 5 6 7 8 9
-module(myserver). -behaviour(gen_server). -define(SERVER, ?MODULE). %% ------------------------------------------------------------------ %% API Function Exports %% ------------------------------------------------------------------ -export([start_link/1, info/0, release/0]).
...
-
1
-
1 2 3 4 5 6 7 8 9
-module(prog). -export([main/0]). main() -> loop(). loop() -> case io:fread( "","~d" ) of eof -> true;
...
-
1 2
start() -> io:format("haha").
-
1 2 3 4 5 6 7 8 9
-module(seq). -export([seq/1, seq/3]). seq(N) -> seq(0, N, []). seq(Current, End, Accumulator) -> case Current =:= End of
...
-
1 2 3 4 5 6 7 8 9
seq(N) -> seq(0, N, []). seq(Current, End, Accumulator) -> case Current =:= End of true -> Accumulator; false -> Accumulator1 = Accumulator ++ Current,
...


