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 8 9
class Main { static Class a; public static void main(String[] args) { System.out.println("Hello World!"); // Display the string. a = ClassA.class; System.out.println(a.foo()); } }
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.lang.*; class MyClass { } class Main {
...
-
1 2 3 4 5 6 7 8 9
table = [{res: -155721, kd: 1, tds: -155721, tdsn: -155721}, {res: 148893, kd: nil, tds: nil, tdsn: nil}, {res: 148893, kd: nil, tds: nil, tdsn: nil}, {res: 238339, kd: nil, tds: nil, tdsn: nil}, {res: 238339, kd: nil, tds: nil, tdsn: nil}, ] e = 1.0 4.times do |i| table[i+1][:kd] = (1/(1+e)**(i+1)).round(4)
...
-
1 2 3 4 5 6 7 8 9
table = [{res: -155721, kd: 1, tds: -155721, tdsn: -155721}, {res: 148893, kd: nil, tds: nil, tdsn: nil}, {res: 148893, kd: nil, tds: nil, tdsn: nil}, {res: 238339, kd: nil, tds: nil, tdsn: nil}, {res: 238339, kd: nil, tds: nil, tdsn: nil}, ] e = 1.1 4.times do |i| table[i+1][:kd] = (1/(1+e)**(i+1)).round(4)
...
-
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
#include <vector> #include <iostream> #include <algorithm> void findme (std::vector<std::string> &v) { for (size_t i=0; i<v.size(); i++) { if (v[i] == "a") {
...
-
1 2 3 4 5 6 7 8 9
#include<stdio.h> int main(void) { char a,b; printf("%d\n",12); printf("%d\n",printf("%d\n",143)); // printf("%d\n",scanf("%2d%3d",&a,&b));
...
-
1 2 3 4 5 6 7 8 9
table = [{res: -155721, kd: 1, tds: -155721, tdsn: -155721}, {res: 148893, kd: nil, tds: nil, tdsn: nil}, {res: 148893, kd: nil, tds: nil, tdsn: nil}, {res: 238339, kd: nil, tds: nil, tdsn: nil}, {res: 238339, kd: nil, tds: nil, tdsn: nil}, ] e = 0.8 4.times do |i| table[i+1][:kd] = (1/(1+e)**(i+1)).round(4)
...
-
1
-
1 2 3 4 5 6 7 8 9
table = [{res: -155721, kd: 1, tds: -155721, tdsn: -155721}, {res: 148893, kd: nil, tds: nil, tdsn: nil}, {res: 148893, kd: nil, tds: nil, tdsn: nil}, {res: 238339, kd: nil, tds: nil, tdsn: nil}, {res: 238339, kd: nil, tds: nil, tdsn: nil}, ] e = 1.3 4.times do |i| table[i+1][:kd] = (1/(1+e)**(i+1)).round(4)
...
-
1 2 3 4 5 6 7 8 9
class Main { static Class a; public static void main(String[] args) { System.out.println("Hello World!"); // Display the string. a = ClassA.getClass(); System.out.println(a.foo()); } }
...
-
1 2 3 4 5 6 7 8 9
#include <iostream> using namespace std; int main(){ char c; int i=0; while (cin >>c) {
...
-
1 2 3 4 5 6 7 8 9
# include <iostream> # pragma once using namespace std; class String { private: char * str_; size_t size_; size_t capacity_; void expand () {
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.lang.*; class MyClass { } class Main {
...
-
1 2 3 4 5
public class MyClass { public static void main(String[] args) { System.out.println("ivan gusic"); } }
-
1 2 3 4 5 6 7 8 9
/** * The HelloWorldApp class implements an application that * simply displays "Hello World!" to the standard output. */ class HelloWorldApp { public static void main(String[] args) { System.out.println("Hello World!"); // Display the string. } }
-
1 2 3 4 5 6 7 8 9
table = [{res: -155721, kd: 1, tds: -155721, tdsn: -155721}, {res: 148893, kd: nil, tds: nil, tdsn: nil}, {res: 148893, kd: nil, tds: nil, tdsn: nil}, {res: 238339, kd: nil, tds: nil, tdsn: nil}, {res: 238339, kd: nil, tds: nil, tdsn: nil}, ] e = 0.3 4.times do |i| table[i+1][:kd] = (1/(1+e)**(i+1)).round(4)
...
-
1 2 3 4 5 6 7 8
class Main { public static void main(String[] args) { System.out.println("Hello World!"); // Display the string. static Class a = ClassA.getClass(); System.out.println(a.foo()); } }
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.lang.*; class MyClass { } class Main {
...
-
1 2 3 4 5 6 7 8 9
#include <vector> #include <iostream> void findme (std::vector<std::string> &v) { for (size_t i=0; i<v.size(); i++) { if (v[i] == "a") { std::cout << "Position: " << i+1 << std::endl;
...
-
1 2 3 4 5 6 7 8 9
||#include <iostream> using namespace std; int main(){ char c; int i=0; while (cin >>c) {
...
-
1 2 3 4 5 6 7 8 9
import java.io.*; import java.util.*; enum PlayerActiveState {ACTIVE, INACTIVE}; enum UNORotate {FARWARD, REVERSE}; enum CardType {REGULAR, UNO}; class Input {
...
-
1 2 3 4 5 6 7 8
class Main { public static void main(String[] args) { System.out.println("Hello World!"); // Display the string. Class a = ClassA.getClass(); System.out.println(a.foo()); } }
...
-
1 2 3 4 5 6 7 8 9
#include<stdio.h> #define fun(k) a/*d-bc*/+bc int main() { int a,b,c,*d,bc; a=6; b=5; c=4;
...
-
1 2 3 4 5 6 7 8 9
#include <iostream> void test(const char* const & s) { std::cout << s << std::endl; } template <typename T> void template_test(const T& s);
...
-
1 2 3 4 5 6 7 8 9
program suma; var s1, s2, s3, a, b:real; begin s1:=0; s2:=0; s3:=0; begin read a; if a>0 s1:=s1+1; if a<0 s2:=s2+a; if a=0 s3:=s3+1;
...
-
1 2 3 4 5 6 7 8
#include <algorithm> #include <string> std::string shuffle1 (std::string const &str) { std::string tmp (str); std::random_shuffle (tmp.begin (), tmp.end ()); return tmp; }
...
-
1 2 3 4 5 6 7 8 9
#include<stdio.h> #define fun(k) /*d-bc*/a+bc int main() { int a,b,c,*d,bc; a=6; b=5; c=4;
...
-
1 2 3 4 5 6 7 8 9
balanced s = f s [] where f ('(':xs) ys = f xs (')':ys) f ('[':xs) ys = f xs (']':ys) f (')':xs) (')':ys) = f xs ys f (']':xs) (']':ys) = f xs ys f (']':xs) _ = False f (')':xs) _ = False f ( _ :xs) ys = f xs ys
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.lang.*; class MyClass { } class Main {
...


