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 SqlDateTime { public static void main(String[] args) { java.util.Date javaDate = new java.util.Date(); long javaTime = javaDate.getTime(); System.out.println("The Java Date is: " + javaDate.toString()); java.sql.Date sqlDate = new java.sql.Date(javaTime); System.out.println("The SQL DATE is: " + sqlDate.toString());
...
-
1 2 3 4
procedure main () while (l := read()) ~= 42 do write(l); end
-
1 2 3 4 5 6 7 8 9
public class asdf { private int i; private class asdf2 { public void a() { System.out.println(i); } } public static void main(String args[]) { asdf2 b = new asdf2();
...
-
1 2 3 4 5 6 7 8 9
import javax.swing.*; import java.awt.*; import java.awt.event.*; public class PianoPanel extends JPanel { private JLabel label1; public void paintComponent(Graphics g) { ImageIcon background = new ImageIcon("Underwater.jpg");
...
-
1 2 3 4 5 6 7 8 9
import java.io.*; import javax.servlet.*; import javax.servlet.http.*; class serv extends HttpServlet{ public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, Servlet Exception { response.SetContentType("text/html");
...
-
1 2 3 4 5 6 7 8 9
import java.io.*; import java.servlet.*; import javax.servlet.http.*; class serv extends HttpServlet{ public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, Servlet Exception { response.SetContentType("text/html");
...
-
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
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
procedure main () while (l := read()) ~= 42 do write(l); end
-
1 2 3 4 5 6
importPackage(java.io); importPackage(java.lang); var stdin = new BufferedReader(new InputStreamReader(System['in'])); System.out.println("Hello, world!");
-
1 2 3 4 5 6 7 8 9
import Data.Char import Data.Map -- return a tuple of words, punctuation splitUp :: String -> ([String], [String]) splitUp s = (words s, dewords s) where dewords s = filter (not . isAlpha) s -- map: key is word, value is another map: key is second word, val is freq: 1/n
...
-
1 2 3 4 5 6 7 8 9
using System; public class Test { public static void Main() { int n; while ((n = int.Parse(Console.ReadLine()))!=42) Console.WriteLine(n); }
-
1 2 3 4 5 6 7
class Figure { public static void main(String[] args) { System.out.println("Hello World!"); } }
-
1 2 3
procedure main () write ( "Hello World" ); end
-
1
C:\Users\Public\Pictures\as.jpg
-
1 2 3 4
procedure main () while (l := read()) ~= 42 do write(l); end
-
1 2 3 4 5 6 7 8 9
procedure main () long lStart=((long)System.currentTimeMillis()); int sum = 0; int n = 5; for(i=0; i < n; i++) for(j=0; j < n*n; j++)
...
-
1 2 3 4 5 6 7 8 9
procedure main () long lStart = (long)System.currentTimeMillis(); int sum = 0; int n = 5; for(i=0; i < n; i++) for(j=0; j < n*n; j++)
...
-
1 2 3 4 5 6 7 8 9
procedure main () long lStart = (long)System.currentTimeMillis(); int sum = 0; int n = 5; for(i=0; i < n; i++) for(j=0; j < n*n; j++)
...
-
1 2 3 4 5 6 7 8 9
procedure main () long lStart = System.currentTimeMillis(); int sum = 0; int n = 5; for(i=0; i < n; i++){ for(j=0; j < n*n; j++){
...
-
1 2 3 4 5 6 7 8 9
procedure main () long lStart = System.currentTimeMillis(); int sum = 0; int n = 5; for(i=0 ; i < n; i++){ for(j=0; j < n * n; j++){
...
-
1 2 3 4 5 6 7 8 9
long lStart = System.currentTimeMillis(); int sum = 0; int n = 5; for(i=0 ; i < n; i++){ for(j=0; j < n * n; j++){ sum++;
...
-
1 2 3 4 5 6 7 8 9
long lStart = System.currentTimeMillis(); int sum = 0; int n = 5; for(i=0 ; i < n; i++){ for(j=0; j < n * n; j++){
...
-
1 2 3 4 5 6 7 8 9
class Test{ public static void main(String [ ] args){ long lStart = System.currentTimeMillis(); int sum = 0; int n = 5;
...
-
1 2 3 4 5 6 7 8 9
public static void main(String [ ] args){ long lStart = System.currentTimeMillis(); int sum = 0; int n = 5; for(i=0 ; i < n; i++){
...
-
1 2 3 4 5 6 7 8 9
public class test{ public static void main(String [ ] args){ long lStart = System.currentTimeMillis(); int sum = 0; int n = 5;
...
-
1 2 3 4
procedure main () while (l := read()) ~= 42 do write(l); end
-
1 2 3 4 5 6 7 8 9
xb1lIHRvIG5lYnlsbyB0xJvFvmvDqT8gSmVuIHBybyDDunBsbm9zdCBwcm8gbm9ybcOhbG7DrSAo dGVkeSBuZXBvxI3DrXRhxI1vdsO9KSAgbGlkIC0gcHJvxI0gUG/FoXRvdm7DrT8gIEvDs2QgQmFz ZTY0LCBrdGVyw71tIGplIHRlbmhsZSB0ZXh0IHpha8OzZG92w6FuLCBwb3XFvsOtdsOhdGUgbWou ICAoYW5pxb4gdG8gdMWZZWJhIHbDrXRlKSB2ZSB2xaFlY2ggdmHFoWljaCBlbWFpbG92w71jaCB6 cHLDoXbDoWNoIGsgdG9tdSwgYWJ5IHNlIGsgdsOhbSBuZWJvIG9kIHbDoXMgZG9ixZllIHDFmWVu ZXNseSB2xaFlY2hueSBWYcWhZSBmb3RreSwgdmlkZWEsIHRleHR5IHMgxI1lc2tvdSBkaWFrcml0 aWtvdSBhIGppbsOpIHZ5Y2h5dMOhdmt5IChvYmVjbsOhIGJpbsOhcm7DrSBkYXRhIHNlIGvDs2R1 asOtIHBvIDYgYml0ZWNoIGRvIHRpc2tudXRlbG7DvWNoIDY0IHpuYWvFrywga3RlcsOpIGpzb3Ug cMWZZW5vc2l0ZWxuw6EgcG/FoXRvdm7DrW0gIE1JTUUgcHJvdG9rb2xlbSkuIFRha8W+ZSAgdGFr
...
-
1 2 3 4 5 6 7 8 9
import java.io.*; import java.math.BigInteger; class Main { public static void main(String[] args) throws IOException { String a,b; int i; InputStreamReader ir=new InputStreamReader(System.in);
...
-
1


