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
#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)
...
-
1 2 3 4 5 6 7 8 9
import java.util.SortedSet ; import java.util.TreeSet ; import java.util.Scanner ; import java.util.Arrays ; /** * * @author Ashu * Recursive method to find all permutations of a String without any duplicates
...
-
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
#include<iostream> using namespace std; int functie(int x) { if(x>=12)return x-1; else return functie(functie(x+2)); }
...
-
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)
...
-
1 2 3 4 5 6 7 8 9
import java.util.SortedSet ; import java.util.TreeSet ; import java.util.Scanner ; import java.util.Arrays ; /** * * @author Ashu * Recursive method to find all permutations of a String without any duplicates
...
-
1 2 3 4 5 6 7 8 9
#include<iostream> using namespace std; int functie(int x) { if(x>=12)return x-1; else return functie(functie(x+2)); }
...
-
1 2 3 4 5 6 7 8 9
#include <iostream> using namespace std; int squared(int a) { return a * a; } int main() {
...
-
1 2 3 4 5 6 7 8 9
import java.util.SortedSet ; import java.util.TreeSet ; import java.util.Scanner ; import java.util.Arrays ; /** * * @author Ashu * Recursive method to find all permutations of a String without any duplicates
...
-
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<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
#include<iostream> using namespace std; int functie(int n) { return n*functie(n-1); } int main() {int n; cout<<"n="; //cin>>n;
...
-
1 2 3 4
a=['at','','','','ball','','','','car'] b=raw_input()#accept string to be found s=a.index(b) print s
-
1 2 3 4
a=['at','','','','ball','','','','car'] b=raw_input()#accept string to be found s=a.index(b) print s
-
1 2 3 4 5 6 7 8 9
#include<iostream> using namespace std; int functie(int n) { return n*functie(n-1); } int main() {int n; cout<<"n="; cin>>n;
...
-
1 2 3 4 5 6 7 8 9
#include<iostream> using namespace std; int functie(int n) { return n*functie(n-1); } int main() { cout<<"n="; cin>>n;
...
-
1 2 3 4
a=['at','','','','ball','','','','car'] b=raw_input()#accept string to be found s=a.index(b) print s
-
1 2 3 4 5 6 7 8 9
#include <iostream> using namespace std; int main() { cout << " YOU \b" <<endl; return 0; }
-
1 2 3 4
a=['at','','','','ball','','','','car'] b=raw_input()#accept string to be found s=a.index(b) print s
-
1 2 3 4 5 6 7 8 9
#include <stdio.h> int main() { int t,i; scanf("%d",&t); for(i=0;i<t;i++) { int j,n,num=0; scanf("%d",&n); int p[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
#include <stdio.h> int main() { int t,i,count; char str[100005],str1[100000]; scanf("%d",&t); while(t--) { scanf("%s",str);
...
-
1 2 3 4 5 6 7 8 9
#include <stdio.h> int main() { int t,i; scanf("%d",&t); for(i=0;i<t;i++) { int j,n,num=0; scanf("%d",&n); int p[n];
...
-
1 2 3 4 5 6 7 8 9
#include <stdio.h> int main() { int t,i; scanf("%d",&t); for(i=0;i<t;i++) { int j,n,num=0; scanf("%d",&n); int p[n];
...
-
1 2 3 4 5 6 7 8 9
#include<stdio.h> #define swap(a,b,c) c t;t=a;a=b;b=t; int main() { int g=1,h=2; swap(g,h,int); }
-
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
#include<iostream> #include<stdio.h> #include<string> using namespace std; void solve(); int main() {
...


