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.util.*; import java.io.*; public class Main { public static void main (String[]args)throws Exception{ BufferedReader read = new BufferedReader(new InputStreamReader(System.in)); long []Primes=new long[(int)Math.sqrt(1000000002)];
...
-
1 2 3 4 5 6 7 8 9
/* CSC110 Assignment:_Lab04.java__ Programmer: Phillip Sherman Due Date: 2/13/12 Points: 35 Description of Application: Four methods (harmonic, sum, triangle, parellelogram) Description of Inputs: Class constants N, SIZE, HEIGHT
...
-
1 2 3 4 5 6 7 8 9
/* CSC110 Assignment:_Lab04.java__ Programmer: Phillip Sherman Due Date: 2/13/12 Points: 35 Description of Application: Four methods (harmonic, sum, triangle, parellelogram) Description of Inputs: Class constants N, SIZE, HEIGHT
...
-
1 2 3 4 5 6 7 8 9
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; //s = r.readLine(); //while (!(s.startsWith("42"))) {
...
-
1 2 3 4 5 6 7 8 9
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; //s = r.readLine(); //while (!(s.startsWith("42"))) {
...
-
1 2 3 4 5 6 7 8 9
/* CSC110 Assignment:_Lab04.java__ Programmer: Phillip Sherman Due Date: 2/13/12 Points: 35 Description of Application: Four methods (harmonic, sum, triangle, parellelogram) Description of Inputs: Class constants N, SIZE, HEIGHT
...
-
1 2 3 4 5 6 7 8 9
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; //s = r.readLine(); //while (!(s.startsWith("42"))) {
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.io.*; public class Main { public static void main (String[]args)throws Exception{ BufferedReader read = new BufferedReader(new InputStreamReader(System.in)); long []Primes=new long[(long)Math.sqrt(1000000002)];
...
-
1 2 3 4 5 6 7 8 9
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; //s = r.readLine(); //while (!(s.startsWith("42"))) {
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.io.*; public class Main { public static void main (String[]args)throws Exception{ BufferedReader read = new BufferedReader(new InputStreamReader(System.in)); long []Primes=new long[(long)Math.sqrt(1000000002];
...
-
1 2 3 4 5 6 7 8
//Um primeiro programa em Java class BemVindo2{ //o método main inicia a execução do aplicativo Java public static void main(String args[]) {System.out.print("Bem Vindo a"); System.out.println(" Programacao Java!"); }//fim do método main }//fim da classe BemVindo1
-
1 2 3 4 5 6 7 8 9
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; //s = r.readLine(); //while (!(s.startsWith("42"))) {
...
-
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)); long start,end; int t = Integer.parseInt(read.readLine()),sum,i,k; int []Primes = new int[(int)Math.sqrt(1000000000)]; Primes[0] = 2; boolean flag=true;
...
-
1 2 3 4 5 6 7 8
//Um primeiro programa em Java public class BemVindo2{ //o método main inicia a execução do aplicativo Java public static void main(String args[]) {System.out.print("Bem Vindo a"); System.out.println(" Programacao Java!"); }//fim do método main }//fim da classe BemVindo1
-
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. */ 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 7 8 9
/* CSC110 Assignment:_Lab04.java__ Programmer: Phillip Sherman Due Date: 2/13/12 Points: 35 Description of Application: Four methods (harmonic, sum, triangle, parellelogram) Description of Inputs: Class constants N, SIZE, HEIGHT
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.io.*; public class Main { public static void main (String[]args)throws Exception{ BufferedReader read = new BufferedReader(new InputStreamReader(System.in)); long []Primes=new long[10000000];
...
-
1 2 3 4 5 6 7
import javax.swing.JOptionPane; public class BemVindo4 { public static void main(String[] args) { JOptionPane.showMessageDialog(null,"Bem Vindo ao Java!"); System.exit(0); } }
-
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)); long start,end; int t = Integer.parseInt(read.readLine()),sum,i,k; int []Primes = new int[(int)Math.sqrt(1000000000)]; Primes[0] = 2; boolean flag=true;
...
-
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. */ 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 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. */ import org.apache.commons.codec.binary.Base64; class Main { public static void main (String[] args) throws java.lang.Exception {
...
-
1 2 3 4 5 6 7
import javax.swing.JOptionPane; public class BemVindo4 { public static void main(String[] args) { JOptionPane.showMessageDialog(null,"Bem Vindo ao Java!"); System.exit(0); } }
-
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. */ 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 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. */ class Main { public static void main (String[] args) throws java.lang.Exception { String encodedBytes ="LyJwNh9iPil3MyMSGRhWCCpXBExXAWZBGg1eFjNcShpSCmZxCwJSAC9TBDxbBTRfCw9KRDNbHkxHCzISBwNBAyNcRkxJAWZfBQlHASgSDgkTEilAAwtWRCRTHg9bATUSBANURCRXHg1fASg=";
...
-
1 2 3 4 5 6 7 8 9
/* CSC110 Assignment:_Lab04.java__ Programmer: Phillip Sherman Due Date: 2/13/12 Points: 35 Description of Application: Four methods (harmonic, sum, triangle, parellelogram) Description of Inputs: Class constants N, SIZE, HEIGHT
...
-
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. */ 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 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. */ 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 7 8 9
import java.util.*; import java.lang.*; class Main { public static void main (String[] args) throws java.lang.Exception { System.out.println("1231231234".matches("^[0-9]{6,21}$"));
...
-
1 2 3 4 5 6 7 8 9
if(currentTutor == null) { throw new ShellError("Error! no tutor exists"); } else if(commandSplit[1].matches("\\d+")) { throw new ShellError("Error! a name doesn't have number(s)"); } else if(!commandSplit[2].matches("\\d+")) { throw new ShellError("Error! a matnr. doesn't have letter(s)"); } else if(prakto.findStudent(Integer.parseInt(commandSplit[2])) != null) { throw new ShellError("Error! a student with matnr. " + commandSplit[2] + " already exists");
...
-
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. */ 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;
...


