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
#!/usr/bin/env rdmd import std.algorithm; import std.range; import std.stdio; import std.traits; import std.file; static import std.string;
...
-
1 2 3 4 5 6 7 8
#!/usr/bin/env rdmd import std.algorithm; import std.range; import std.stdio; import std.traits; import std.file; static import std.string;
...
-
1 2 3 4 5 6 7 8
#!/usr/bin/env rdmd import std.algorithm; import std.range; import std.stdio; import std.traits; import std.file; static import std.string;
...
-
1 2 3 4 5 6 7 8 9
#!/usr/bin/env rdmd import std.algorithm: equal; import std.range; template to(T) { import std.traits; static import std.conv; T to(S)(S s) if(!isArray!S && isInputRange!S) {
...
-
1 2 3 4 5 6 7
import std.c.stdio; int main() { int x; while (scanf("%d", &x) && x!=42) printf ("%d\n", x); return 0; }
-
1 2 3 4 5 6 7 8 9
import std.stdio; void call(int delegate() func, int count) { for(int i = 0 ; i < count ; i++) { writeln(func()); } } int main() {
...
-
1 2 3 4 5 6 7 8 9
import std.stdio; void call(int function() func, int count) { for(int i = 0 ; i < count ; i++) { writeln(func()); } } int main() {
...
-
1 2 3 4 5 6 7 8 9
import std.stdio; void call(int function() func, int count) { for(int i = 0 ; i < count ; i++) { writeln(func()); } } int main() {
...
-
35 days 11 hours ago view (lines: 251, size: 6522, inputs: 1) D (dmd) Compilation error michaellarouche
1 2 3 4 5 6 7 8 9
import std.stdio; import std.traits; import std.stream; import std.metastrings; private template SerializerParameterType(T) { enum SerializerParameterType = "ref " ~ T.stringof; }
...
-
1 2 3 4 5 6 7 8 9
import std.stdio; import std.conv; int main() { string s=readln(); int a=parse!(int)(s); s=readln(); int b=parse!(int)(s);
...
-
1 2 3 4 5 6 7 8 9
import std.stdio; import std.conv; int main() { string s=readln(); int a=toInt(s); s=readln(); int b=toInt(s);
...
-
1 2 3 4 5 6 7 8 9
import std.stdio; class A { int foo(int i) out (result) { } body { return 1; } } class B : A {
...
-
1 2 3 4 5 6 7 8 9
import std.stdio; interface I { int foo(int i) out (result) { }; } class A : I { int foo(int i)
...
-
1 2 3 4 5 6
import std.io; int main() { writeline("Hello World!"); }
-
1 2 3 4 5 6 7 8 9
// D (run time) // $ dmd -O -version=Runtime -run C.d > out.txt import std.array; import std.conv; import std.string; string solveAll(string s) { return s.splitLines().solveEach(1);
...
-
1 2 3 4 5 6 7 8 9
// D (compile time) // $ dmd -J`pwd` -o- B.d 2> out.txt import std.algorithm; import std.array; import std.conv; import std.string; string solveAll(string s) {
...
-
1 2 3 4 5 6 7 8 9
// D (compile time) // $ dmd -J`pwd` -o- A.d 2> out.txt import std.conv; import std.string; string solveAll(string s) { return s.splitLines().solveEach(1); }
...
-
1
-
1
-
1 2 3 4 5 6 7 8 9
import std.stdio; struct A { immutable int a = 10; } struct B {
...
-
1 2 3 4 5 6 7 8 9
#!/usr/bin/env rdmd version(unittest) { } else { void main() { // rdmd -main --unittest sample.d の場合には呼ばれない } }
...
-
1 2 3 4 5 6 7 8
#!/usr/bin/env rdmd version(unittest) { } else { void main() { // rdmd --main -unittest のときには呼ばれない } }
...
-
1 2 3 4 5 6 7 8 9
import std.algorithm; import std.stdio; enum INPUT = "cqrb lryqna rb fjh, fjh qjamna cqjw axc cqracnnw. qnan, hxd wnena twxf qxf oja cx bqroc! xq kh cqn fjh, cqn jwbfna rb mnjmvjwblqnbc."; void main() { foreach ( offset; 0..25 ) {
...
-
1 2 3 4 5 6 7 8 9
import std.algorithm; import std.stdio; enum INPUT = "cqrb lryqna rb fjh, fjh qjamna cqjw axc cqracnnw. qnan, hxd wnena twxf qxf oja cx bqroc! xq kh cqn fjh, cqn jwbfna rb mnjmvjwblqnbc."; void main() { foreach ( offset; 0..25 ) {
...
-
1 2 3 4 5 6 7 8 9
import std.algorithm; import std.stdio; enum INPUT = "cqrb lryqna rb fjh, fjh qjamna cqjw axc cqracnnw. qnan, hxd wnena twxf qxf oja cx bqroc! xq kh cqn fjh, cqn jwbfna rb mnjmvjwblqnbc."; void main() { foreach ( offset; 0..25 ) {
...
-
1 2 3 4 5 6 7 8 9
unit pi_; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type
...
-
1 2 3 4 5 6 7 8 9
import std.stdio; class A { public: void print() { writeln( "a" ); } // ここのコメントを外すと死ぬ ~this() { /*b.print();*/ } B b; }
...
-
1 2 3 4 5 6 7 8
import std.stdio; class A { public: void print() { writeln( "a" ); } ~this() { /*b.print();*/ } B b; }
...
-
1 2 3 4 5 6 7 8
import std.stdio; class A { public: void print() { writeln( "a" ); } ~this() { b.print(); } B b; }
...
-
1 2 3 4 5 6 7 8
import std.stdio; class A { public: void print() { /*writeln( "a" );*/ } ~this() { b.print(); } B b; }
...


