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
public class StringDemo{ public static void main(String args[]){ String palindrome = "Dot saw I was Tod"; int len = palindrome.length(); System.out.println( "String Length is : " + len ); } }
-
1 2 3 4 5 6 7
public class StringDemo{ public static void main(String args[]){ char[] helloArray = { 'h', 'e', 'l', 'l', 'o', '.'}; String helloString = new String(helloArray); System.out.println( helloString ); } }
-
1 2 3 4 5 6
public class StringDemo{ public static void main(String args[]){ char[] helloArray = { 'h', 'e', 'l', 'l', 'o', '.'}; String helloString = new String(helloArray); System.out.println( helloString ); }
-
1 2 3 4 5 6 7 8 9
/*Gwendolyn Buchanan *2-9-12 *This program is the first that will have user input. Kind of a prologue *of the text-based RPG I plan on making.*/ import java.util.*; public class turnLeftOrRight {
...
-
1 2 3 4 5 6
public class Main { public static void main(String[] args) { System.out.println("Das ist ein Test"); } }
-
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
/* 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
import java.io.*; public class Main { public static void main (String[]args)throws Exception{ BufferedReader read = new BufferedReader(new InputStreamReader(System.in)); String[] []A = new String [20][100]; String result="",input; int Y=0,c,i=0,columns,length; Character temp;
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; class sponge { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int tc = scan.nextInt(); scan.useDelimiter("\n"); for(int i=0; i<tc; i++) { int count = 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)); String[] []A = new String [20][100]; String result=""; int Y=0,c,i=0; Character temp;
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; public class sponge { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int tc = scan.nextInt(); scan.useDelimiter("\n"); for(int i=0; i<tc; i++) { int count = 0;
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; public Class sponge { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int tc = scan.nextInt(); scan.useDelimiter("\n"); for(int i=0; i<tc; i++) { int count = 0;
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; public Class sponge { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int tc = scan.nextInt(); scan.useDelimiter("\n"); for(int i=0; i<tc; i++) { int count = 0;
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; public class sponge { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int tc = scan.nextInt(); scan.useDelimiter("\n"); for(int i=0; i<tc; i++) { int count = 0;
...
-
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 sortingstuff; // @Author Damien Bell import java.awt.Color; import javax.swing.JButton; import javax.swing.JLabel; import javax.swing.Timer; import java.awt.event.ActionListener; import java.awt.event.ActionEvent;
...
-
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
System.out.println("Hello");
-
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.io.*; import java.util.*; class FreqAnalysisM { class FreqAnalysis { String[] letters=new String[26]; int[] count=new int[26]; String count(String str) {
...
-
1 2 3 4 5 6 7 8 9
class HelloRunnable implements Runnable { public void run() { System.out.println("Hello from a thread!"); } public static void main(String args[]) { Thread sayHello = new Thread(new HelloRunnable()); sayHello.start(); }
-
1 2 3 4 5 6 7 8 9
class HelloRunnable implements Runnable { public void run() { System.out.println("Hello from a thread!"); } public static void main(String args[]) { Thread sayHello = new Thread(new HelloRunnable()).start(); } }
-
1 2 3 4 5 6 7 8 9
class HelloRunnable implements Runnable { public void run() { System.out.println("Hello from a thread!"); } public static void main(String args[]) { Thread sayHello = new Thread(new HelloRunnable(); sayHello.start(); }
-
1 2 3 4 5 6 7 8 9
class HelloRunnable implements Runnable { public void run() { System.out.println("Hello from a thread!"); } public static void main(String args[]) { Thread sayHello = new Thread(new HelloRunnable()).start(); } }
-
1 2 3 4 5 6 7 8 9
class FreqAnalysisM { public static void main(String[] args) { String ciph= "26280366802108037380208077805280373802628020802080210804580203802358026280124805 280366805780131802678010480346801318037380458026780373802158052803468036680235801 318077805280235802358052803468036680262804580136801048034680131803738023580242805 280346805280262804580262807780578036680210803668021080366805280262803668057804580 131803218057801318026780346802628045803668032180528034680104801318034680235802428 0210803668020803468013180215807780528037380210803668026280458026280778057803668021080366 "; FreqAnalysis fa=new FreqAnalysis(); String str=ciph.replaceAll("80", " "); System.out.println(str); str=fa.count(str); System.out.println(str); fa.count(str, 2);
...
-
1 2 3 4 5 6 7 8 9
class FreqAnalysisM { public static void main(String[] args) { String ciph= "26280366802108037380208077805280373802628020802080210804580203802358026280124805 280366805780131802678010480346801318037380458026780373802158052803468036680235801 318077805280235802358052803468036680262804580136801048034680131803738023580242805 280346805280262804580262807780578036680210803668021080366805280262803668057804580 131803218057801318026780346802628045803668032180528034680104801318034680235802428 0210803668020803468013180215807780528037380210803668026280458026280778057803668021080366 "; FreqAnalysis fa=new FreqAnalysis(); String str=ciph.replaceAll("80", " "); System.out.println(str); str=fa.count(str); System.out.println(str); fa.count(str, 2);
...
-
1 2 3 4 5 6 7 8 9
class FreqAnalysisM { public static void main(String[] args) { String ciph= "26280366802108037380208077805280373802628020802080210804580203802358026280124805 280366805780131802678010480346801318037380458026780373802158052803468036680235801 318077805280235802358052803468036680262804580136801048034680131803738023580242805 280346805280262804580262807780578036680210803668021080366805280262803668057804580 131803218057801318026780346802628045803668032180528034680104801318034680235802428 0210803668020803468013180215807780528037380210803668026280458026280778057803668021080366 "; FreqAnalysis fa=new FreqAnalysis(); String str=ciph.replaceAll("80", " "); System.out.println(str); str=fa.count(str); System.out.println(str); fa.count(str, 2);
...


