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
import java.io.*; public class Main { public static void main (String[]args)throws Exception{ BufferedReader read = new BufferedReader(new InputStreamReader(System.in)); String[] []recipes = new String [100][]; String[] ing_bought; String empty; int []B = new int [100];
...
-
1 2 3 4 5 6 7 8 9
#include <iostream> using namespace std; int main() { int intNum = 0; cin >> intNum; while (intNum != 42) {
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.lang.*; class Main { public static void main (String[] args) throws java.lang.Exception { double base = 10; double altura = 15;
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.lang.*; class Main { public static void main (String[] args) throws java.lang.Exception { double base = 10; double altura = 15;
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.lang.*; class Main { public static void main (String[] args) throws java.lang.Exception { double base = 10; double altura = 15;
...
-
1 2 3 4 5 6 7 8 9
//This is an example for problem id FCTRL2 in SPOJ.. import java.math.BigInteger; import java.io.*; import java.util.Arrays; class FCTRL2 { public static BigInteger expval(int a,int b) { BigInteger res=BigInteger.ONE;
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.lang.*; class Main { public static void main (String[] args) throws java.lang.Exception { double base = 10; double altura = 15;
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.lang.*; class Main { public static void main (String[] args) throws java.lang.Exception { double base = 10; double altura = 15;
...
-
1 2 3 4 5 6 7 8 9
import javax.swing.*; class Main { public static void main(String[] args) { JFrame myFrame = new JFrame(); myFrame.setSize(300, 250); myFrame.setLocation(450, 250); myFrame.setVisible(true); }
-
1 2 3 4 5 6 7 8 9
import javax.swing.*; class Main { public static void main(String[] args) { JFrame myFrame = new JFrame(); myFrame.setSize(300, 250); myFrame.setPosition(450, 250); myFrame.setVisible(true); }
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.lang.*; class Main { public static void main (String[] args) throws java.lang.Exception { System.out.println("Hola Mundo"); }
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.lang.*; class Main { public static void main (String[] args) throws java.lang.Exception { System.out.prinln("hola mundo"); }
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.lang.*; class Main { public static void main (String[] args) throws java.lang.Exception { System.Out.println("Hola mundo"); }
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.lang.*; class Main { public static void main (String[] args) throws java.lang.Exception { Sytem.out.println("Hola mundo"); }
-
1 2 3 4 5 6 7 8 9
import java.util.Arrays; import java.io.*; public class Main { public static void main (String[]args)throws Exception{ BufferedReader read = new BufferedReader(new InputStreamReader(System.in)); int cases = Integer.parseInt(read.readLine()); int words;
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.lang.*; class Main { public static void main (String[] args) throws java.lang.Exception { } sisten.out.printin
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.lang.*; class Main { public static void main (String[] args) throws java.lang.Exception { Sytem.out.println("Hola Mundo"); }
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.lang.*; class Main { public static void main (String[] args) throws java.lang.Exception { System.out.println("Hola mundo"); }
-
1 2 3 4 5 6 7 8 9
import java.util.Arrays; import java.io.*; public class Main { public static void main (String[]args)throws Exception{ BufferedReader read = new BufferedReader(new InputStreamReader(System.in)); int cases = Integer.parseInt(read.readLine()); int words;
...
-
1 2 3 4 5 6 7 8 9
class Caesar { public static final int ALPHASIZE = 26; public static final char[] alpha = {'A', 'B', 'C', 'D','E', 'F','G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R','S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'}; protected char[] encrypt = new char[ALPHASIZE]; protected char[] decrypt = new char[ALPHASIZE]; public Caesar(){
...
-
1 2 3 4 5 6 7 8 9
class HarmonicSeries{ public static void main(String args[]){ int num = Integer.parseInt(args[0]); double result = 0.0; while(num > 0){
...
-
20 minutes 6 seconds ago view (lines: 18, size: 595, inputs: 1) Java Compilation error publicstaticvoid
1 2 3 4 5 6 7 8 9
class HarmonicSum { public static void main(String[] args) { int maximumDenominator = 50000; double rightToLeft = 0.00; double leftToRight = 0.00; for (int number = 1; number <= maximumDenominator; number++) { leftToRight += 1.0 / number; }
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.lang.*; class Main { public static void main (String[] args) throws java.lang.Exception { int x = 1; x += x++ * x++ * x++;
...
-
1 2 3 4 5
class Main { public static void main(String[] args) throws java.lang.Exception { System.out.println("Hello, World!"); } }
-
1 2 3 4 5
class Main { public static void main(String[] args) throws java.lang.exception { System.out.println("Hello, World!"); } }
-
1 2 3 4 5 6 7 8 9
/* package whatever; // don't place package name! */ /* The class name doesn't have to be Main, as long as the class is not public. */ 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;
...
-
1 2 3 4 5 6
class Main { public static void main(String[] args) { System.out.println("Hello, World!"); for (int i = 0; i < 100000000; ++i); } }
-
1 2 3 4 5
class Main { public static void main(String[] args) { System.out.println("Hello, World!"); } }
-
1 2 3 4 5 6 7 8 9
//This is an example for problem id FCTRL2 in SPOJ.. import java.math.BigInteger; import java.io.*; import java.util.Arrays; class FCTRL2 { public static BigInteger expval(int a,int b) { BigInteger res=BigInteger.ONE;
...
-
1 2 3 4 5 6 7 8 9
public class Caesar { public static final int ALPHASIZE = 26; public static final char[] alpha = {'A', 'B', 'C', 'D','E', 'F','G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R','S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'}; protected char[] encrypt = new char[ALPHASIZE]; protected char[] decrypt = new char[ALPHASIZE]; public Caesar(){
...


