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
#include <iostream> #include <cmath> float power(float, float); float fact(float); using namespace std; int main() {
...
-
1 2 3 4 5 6 7 8
float square (float number) | | defines that somefunction returns an int result. int is the default if not specified, but let's go with a float value here { float square_value;
...
-
1 2 3 4 5 6 7 8 9
#include <iostream> #include <cmath> float power(float, float); float fact(float); using namespace std; int main() {
...
-
1 2 3 4 5 6 7 8 9
#include <iostream> #include <cmath> using namespacestd; classGeoIznimka{ private: int a,b,c; public: GeoIznimka(int c_a,int c_b,int c_c): a(c_a), b(c_b), c(c_c){}
...
-
1 2 3 4
Print"hy dear how are you" x=5 y=6 x+5+y
-
1 2 3 4 5 6 7
#include <stdio.h> int main(void) { #define thrice(x) 3*x // gefährlich thrice (4+y) ==> 3*4+y return 0; }
-
1 2 3 4 5 6 7 8 9
/* 988 名前:デフォルトの名無しさん [sage]: 2012/02/04(土) 20:06:33.75 [1] 授業単元:C言語 [2] 問題文 初期状態をファイルより読み込みライフゲームを実行しなさい [3] 環境 [3.1] OS: Windows7 [3.2] コンパイラ名とバージョン: VisualStudio2010 [3.3] 言語: C言語 [4] 期限: 2/5
...
-
1 2 3 4 5 6 7 8 9
#include<iostream> using namespace std; #define M 1000000007 int main(){ long long n,sum=0,i,s=10,s1=10; cin>>n; if(n>=1 && n<=3){ cout<<n;
...
-
1 2 3 4 5 6 7 8 9
import java.util.Scanner; class CalDifference{ public static void main(String[] k){ int n, sumOfSq, sqOfSums, diff; int[] num; int[] numSq;
...
-
1 2 3 4 5 6 7 8 9
import java.util.Scanner; class CalDifference{ public static void main(String[] k){ int n, sumOfSq, sqOfSums, diff; int[] num; int[] numSq;
...
-
1 2 3 4 5 6 7 8 9
#include <cstdio> namespace NNamespace{ struct S{ friend void f(S) { puts("hello"); } };
...
-
1 2 3 4 5 6 7 8
float square (float number) | | defines that somefunction returns an int result. int is the default if not specified, but let's go with a float value here { float square_value;
...
-
1 2 3 4 5 6 7 8 9
#include <cstdio> namespace NNamespace{ struct S{ friend void f(S) { puts("hello"); } };
...
-
1 2 3 4 5 6 7 8 9
#include <iostream> using namespace std; int main() { const float PI = 3.14159F; cout << PI <<endl; return 0; }
-
1 2 3 4 5 6 7 8 9
#include<iostream> using namespace std; int nr=0; int functie(int x, int y) {int i,gasit=0; //cout<<x<<" "<<y<<" "<<endl; if((y==1 || y==x) && gasit==0) {nr=1; return 1;} else if(y>x && gasit==0) return 0; else
...
-
1 2 3 4 5 6 7 8 9
import java.util.Scanner; class CalDifference{ public static void main(String[] k){ int n, sumOfSq, sqOfSums, diff; int[] num; int[] numSq;
...
-
1 2 3 4 5 6 7 8 9
#include <iostream> using namespace std; int squared(int a) { return a * a; } double sqrt(double num) {
...
-
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 int multiplicity(int n, int p) { int q = n, m = 0;
...
-
1 2 3 4 5 6 7 8 9
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MathScripter.Engine { public class CodeBlock {
...
-
1 2 3 4 5 6 7 8 9
<?php $a = 1; /**** Look at memory ****/ /* _________________________________________ |pointer | value | variable's | -----------------------------------------
...
-
1 2 3 4 5 6 7 8 9
<?php $a = 1; /**** Look at memory ****/ /* _________________________________________ |pointer | value | variable's | -----------------------------------------
...
-
1 2 3 4 5 6 7 8 9
#include<stdio.h> #include<stdlib.h> #include<time.h> int n; void swap(int *x,int *y) { int temp;
...
-
1 2 3 4 5 6 7 8 9
class supcon { private int x,y; supcon(supcon obj) { x=obj.x; y=obj.y; } supcon(int a,int b)
...
-
1 2 3 4 5 6 7 8 9
program test; var x:byte; begin readln(x); while x<>42 do begin writeln(x);
...
-
1 2 3 4 5 6 7 8 9
class supcon { private int x,y; supcon(supcon obj) { x=obj.x; y=obj.y; } supcon(int a,int b)
...
-
1 2 3 4 5 6 7 8 9
#include<iostream> using namespace std; #define M 1000000007 int main(){ long long n,sum=0,i,s=10,s1=10; cin>>n; if(n>=1 && n<=3){ cout<<n;
...
-
1 2 3 4 5 6 7 8
#include <iostream> int main() { int a = 1, b = 2; int* p = &a; int counter = 0;
...
-
1 2 3 4 5 6 7 8 9
#include<iostream> using namespace std; #define M 1000000007 int main(){ long long n,sum=0,i,s=10,s1=10; cin>>n; if(n>=1 && n<=3){ cout<<n;
...
-
1
println("Looking");
-
1 2 3 4 5 6 7 8 9
#include<stdio.h> #include<math.h> int main(){ int i,j,l,a,k,rev=0,t,r[7]; scanf("%d\n",&t); i=0; while(i<t) { scanf("%d\n",&k); if(k<=1000000)
...


