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
- Java7
- 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
function bin(a:integer):integer; begin if a<>0 THEN bin:=bin(a mod 2); end; BEGIN writeln(bin(13)); END.
-
1 2 3 4 5 6 7 8 9
#include<iostream> using namespace std; string s="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; void Print(int n,int base) { if(n>=base)Print(n/base,base); cout<<s[n%base]; }
...
-
1 2 3 4 5 6
function bin(a:integer):integer; begin if a<>0 THEN bin:=bin(a mod 2); BEGIN writeln(bin(13)); END.
-
1 2 3 4 5 6 7 8
#include <algorithm> #include <cstring> #include <cstdio> #include <vector> #include <map> using namespace std;
...
-
1
-
1 2 3 4 5 6 7 8 9
import java.io.*; import java.util.*; public class Main { public static void main (String[] args) throws java.lang.Exception { java.io.BufferedReader r = new java.io.BufferedReader (new java.io.InputStreamReader (System.in)); String s; while (!(s=r.readLine()).startsWith("0")) {
...
-
1 2 3 4 5 6 7 8
#include <cstring> #include <cstdio> #include <vector> using namespace std; const int base = 13331;
...
-
1 2 3 4 5 6 7 8 9
package bat; class batch { String name; int id; batch(String n,int i) { name=n; id=i;
...
-
1 2 3 4 5 6 7 8 9
#include <stdio.h> #define LL_BUF_SIZE 512 int main() { unsigned int outhead = 0; unsigned int bytes_written = 1; outhead = (outhead + bytes_written) % LL_BUF_SIZE;
...
-
1 2 3 4 5 6 7 8 9
package bat; class batch { String name int id; Batch(String n,int i) { name=n; id=i;
...
-
1 2 3 4 5 6 7 8 9
import java.math.*; public class MathLibraryExample { public static void main(String[] args) { { double x = 2; double y = 500; System.out.println("The ceiling of " + i + " is " + Math.ceil(x/y)); }
-
1 2 3 4 5 6 7 8 9
#include <stdio.h> #define LL_BUF_SIZE 512UL int main() { unsigned int outhead = 0; unsigned int bytes_written = 1; outhead = (outhead + bytes_written) % LL_BUF_SIZE;
...
-
1 2 3 4
<?php echo strtolower('MAcARooN pIe cARamEls. JeLLY-o CArrOt cAkE coOkIE cUPcaKE. piE GUMMI bEAarS. pUdDInG swEEt rOlL tART. aPpliCake swEet chOcoLATe.');
-
1 2 3 4 5 6 7 8 9
#include <iostream> using namespace std; main() { typedef char T[8][8]; T t; typedef char M[9]; M m; int i,j,k,nr,nR,x,y,q,w,a,b,c,d,z; nr=0;nR=0;
...
-
1 2 3 4
<?php echo strtolower('MAcARooN pIe cARamEls. JeLLY-o CArrOt cAkE coOkIE cUPcaKE. piE GUMMI bEAarS pUdDInG swEEt rOlL tART aPpliCake swEet chOcoLATe.');
-
1 2 3 4 5 6 7 8 9
class EvenException extends Exception { EvenException() { } } class OddException extends Exception { OddException()
...
-
1 2 3 4 5 6 7 8
function nwd(a,b:integer):integer; begin if b<>0 THEN nwd:=nwd(b, a mod b) else nwd:=a; end; BEGIN writeln(nwd(12,4)); END.
-
1 2 3 4 5 6 7 8 9
#include <algorithm> #include <cstring> #include <cstdio> using namespace std; int a[1000], b[1000], c[1000], axis[1000], l[1000000], r[1000000], s[1000000], loc[1000]; pair<int, int> item[1000], query[1000000];
...
-
1 2 3 4 5 6 7 8 9
class Main { public static void main(String[] args) { System.out.println("Hello World!"); // Display the string. } } class Point { private int x; private int y;
...
-
1 2 3 4 5 6 7 8 9
import java.io.*; import java.util.*; public class Main { public static void main (String[] args) throws java.lang.Exception { java.io.BufferedReader r = new java.io.BufferedReader (new java.io.InputStreamReader (System.in)); String s; while (!(s=r.readLine()).startsWith("0")) {
...
-
1 2 3 4 5 6 7 8 9
import java.io.*; import java.util.*; public class Main { public static void main (String[] args) throws java.lang.Exception { java.io.BufferedReader r = new java.io.BufferedReader (new java.io.InputStreamReader (System.in)); String s; while (!(s=r.readLine()).startsWith("0")) {
...
-
1 2 3 4
<?php echo strtolower('MAcARooN pIe cARamEls. JeLLY-o CArrOt cAkE coOkIE cUPcaKE. piE GUMMI bEAarS pUdDInG swEEt rOlL tART aPpliCake swEet chOcoLATe.');
-
1 2 3 4 5 6 7 8 9
#include <cstring> #include <cstdio> using namespace std; bool check[1000001], exist[1000001]; long long ans[1000000]; int start[1000001];
...
-
1 2 3 4 5 6 7 8 9
class Main { public static void main(String[] args) { System.out.println("Hello World!"); // Display the string. } } class Point { private int x; private int y;
...
-
1 2 3 4 5 6 7 8 9
#include<iostream> //#include<conio.h> #include<algorithm> using namespace std; int main() { int t,n,i,j,f=0,c,r; scanf("%d",&t); while (t--)
...
-
1 2 3 4 5 6 7 8 9
#include <set> #include <map> #include <list> #include <cmath> #include <ctime> #include <stack> #include <queue> #include <cctype> #include <cstdio>
...
-
1 2 3 4 5 6 7 8 9
with Ada.Text_IO; use Ada.Text_IO; procedure Main is function Mean (v : in Array of Float) return Float is sum : Integer := 0; begin for iter in 0..(v'length - 1) loop sum := sum + v(iter); end loop;
...
-
1 2 3 4 5 6 7 8 9
#include <stdio.h> void solve() { int n,m,d[100],ans=0,i,j,k,t; scanf("%d%d",&n,&m); for (i=0;i<n;i++) scanf("%d",&d[i]); for (i=0;i<n-2;i++) for (j=i+1;j<n-1;j++) for (k=j+1;k<n;k++) if ((t=d[i]+d[j]+d[k])<=m && t>ans) ans=t;
...
-
1 2 3 4 5 6 7 8 9
#include <algorithm> #include <cstring> #include <cstdio> using namespace std; struct node { int data, no;
...
-
1 2 3 4 5 6 7 8 9
import java.io.*; import java.util.*; public class Main { public static void main (String[] args) throws java.lang.Exception { java.io.BufferedReader r = new java.io.BufferedReader (new java.io.InputStreamReader (System.in)); String s; while (!(s=r.readLine()).startsWith("0")) {
...


