print file
Submit
Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.
Problem
Please display contents of the file.
/* ファイルの中身を見られると都合が悪いのであれば、問題を消してくれても構いません > shinh さん */
Options
now post-mortem time, all source codes will be revealed
Sample input:_
/usr/include/errno.h
Sample output:
/* Copyright (C) 1991,92,93,94,95,96,97,2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
The GNU C Library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
/*
* ISO C99 Standard: 7.5 Errors <errno.h>
*/
#ifndef _ERRNO_H
/* The includer defined __need_Emath if he wants only the definitions
of EDOM and ERANGE, and not everything else. */
#ifndef __need_Emath
# define _ERRNO_H 1
# include <features.h>
#endif
__BEGIN_DECLS
/* Get the error number constants from the system-specific file.
This file will test __need_Emath and _ERRNO_H. */
#include <bits/errno.h>
#undef __need_Emath
#ifdef _ERRNO_H
/* Declare the `errno' variable, unless it's defined as a macro by
bits/errno.h. This is the case in GNU, where it is a per-thread
variable. This redeclaration using the macro still works, but it
will be a function declaration without a prototype and may trigger
a -Wstrict-prototypes warning. */
#ifndef errno
extern int errno;
#endif
#ifdef __USE_GNU
/* The full and simple forms of the name with which the program was
invoked. These variables are set up automatically at startup based on
the value of ARGV[0] (this works only if you use GNU ld). */
extern char *program_invocation_name, *program_invocation_short_name;
#endif /* __USE_GNU */
#endif /* _ERRNO_H */
__END_DECLS
#endif /* _ERRNO_H */
/* The Hurd <bits/errno.h> defines `error_t' as an enumerated type so
that printing `error_t' values in the debugger shows the names. We
might need this definition sometimes even if this file was included
before. */
#if defined __USE_GNU || defined __need_error_t
# ifndef __error_t_defined
typedef int error_t;
# define __error_t_defined 1
# endif
# undef __need_error_t
#endif
Sample input:_
/golf/local/befunge.rb
Sample output:
#!/usr/bin/env ruby
def step
@x = (@vx + @x) % @mx
@y = (@vy + @y) % @my
end
def push(x)
@s << x
end
def pop
@s.pop || 0
end
def scanint
c = STDIN.getc
r = 0
while c >= ?0 && c <= ?9
r = r * 10 + c - ?0
c = STDIN.getc
end
STDIN.ungetc(c)
r
end
ops = {
?< => proc { @vx=-1; @vy=0 },
?> => proc { @vx=1; @vy=0 },
?^ => proc { @vx=0; @vy=-1 },
?v => proc { @vx=0; @vy=1 },
?_ => proc { @vy = 0; pop == 0 ? @vx=1 : @vx=-1 },
?| => proc { @vx = 0; pop == 0 ? @vy=1 : @vy=-1 },
?? => proc {
r=rand(4)
ops[r<1??v:r<2??^:r<3??<:?>].call
},
?\ => proc {},
?# => proc { step },
?@ => proc { exit },
?" => proc {
step
while (c=@c[@y][@x]) != ?"
push(c)
step
end
},
?& => proc { push(scanint) },
?~ => proc { push(STDIN.getc) },
?. => proc { print(pop) },
?, => proc { putc(pop) },
?+ => proc { push(pop+pop) },
?- => proc { y=pop; push(pop-y) },
?* => proc { push(pop*pop) },
?/ => proc { y=pop; push(pop/y) },
?% => proc { y=pop; push(pop%y) },
?` => proc { push(pop-pop<0?1:0) },
?! => proc { push(pop==0?1:0) },
?: => proc { t=pop; push(t); push(t) },
?\\=> proc { y=pop; x=pop; push(y); push(x) },
?$ => proc { pop },
?g => proc { y=pop; x=pop; push(@c[y][x]) },
?p => proc { y=pop; x=pop; @c[y][x] = pop },
}
@c = ARGF.read.split(/\n/)
@mx = @c.map{|l|l.size}.max
@my = @c.size
@c = @c.map{|l|l.ljust(@mx)}
@x=@y=@vy=0
@vx=1
@s = []
while true
opc = @c[@y][@x]
op = ops[opc]
if op
op.call
elsif opc.chr =~ /\d/
push(opc-?0)
else
if opc
raise "unknown command #{opc.chr}(#{opc})"
else
raise "out of bounds"
end
end
step
# puts "x=#@x y=#@y vx=#@vx vy=#@vy"
end
Ranking
Rank | User | Size | Time | Date | Statistics |
---|
1 | eban(cheat) | 13 | 0.2084 | 2007/08/03 11:08:03 | 0B / 8B / 5B |
2 | kurimura | 13 | 0.2092 | 2007/08/03 20:23:14 | 0B / 8B / 5B |
3 | shinh | 14 | 0.1792 | 2007/08/03 11:20:21 | 0B / 10B / 3B |
4 | yvl | 15 | 0.1575 | 2007/08/05 00:01:14 | 0B / 11B / 3B |
5 | niha | 21 | 0.1619 | 2007/08/03 22:43:32 | 0B / 16B / 4B |
6 | eban | 22 | 0.1614 | 2007/08/03 11:28:22 | 0B / 18B / 2B |
7 | tabasa | 17 | 0.0773 | 2007/10/01 09:43:54 | 0B / 11B / 5B |
8 | inaniwa | 47 | 0.0349 | 2012/04/12 17:04:45 | 1B / 28B / 14B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | shinh | 12 | 0.0991 | 2007/08/03 11:37:02 | 0B / 6B / 5B |
2 | eban(cheat) | 12 | 0.1042 | 2007/08/03 12:27:05 | 0B / 6B / 6B |
3 | ott | 12 | 0.1185 | 2007/08/04 07:39:44 | 0B / 6B / 6B |
4 | ott(cheat) | 12 | 0.0920 | 2007/08/04 07:40:22 | 0B / 6B / 6B |
5 | eban | 18 | 0.0694 | 2007/08/03 11:20:41 | 0B / 11B / 6B |
6 | ott(nocheat) | 18 | 0.0998 | 2007/08/04 07:58:48 | 0B / 9B / 8B |
7 | nuko | 12 | 0.0586 | 2008/02/18 10:51:26 | 0B / ?B / ?B |
8 | brx(test) | 12 | 0.0635 | 2013/09/10 05:58:37 | 0B / 6B / 5B |
9 | it | 23 | 0.0227 | 2013/04/25 18:44:04 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | kt3k | 30 | 0.6782 | 2007/08/03 13:32:31 | 0B / 21B / 8B |
2 | Defenestrator | 30 | 0.2171 | 2007/08/03 14:32:02 | 0B / 21B / 8B |
3 | Mark Byers | 30 | 0.2193 | 2007/08/04 14:50:53 | 0B / 21B / 8B |
4 | hirose | 30 | 0.2514 | 2007/08/04 16:18:03 | 0B / 21B / 8B |
5 | zetamatta | 30 | 0.2220 | 2007/08/04 21:40:52 | 0B / 21B / 8B |
6 | ch3ka | 30 | 0.0524 | 2010/12/11 23:22:08 | 0B / 21B / 8B |
7 | inaniwa | 30 | 0.1117 | 2013/02/19 22:24:27 | 0B / 21B / 8B |
8 | a | 49 | 0.1436 | 2013/09/16 14:19:36 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | daira | 30 | 0.4085 | 2007/08/07 19:36:12 | 0B / 19B / 10B |
2 | o-cn | 15 | 0.1283 | 2009/12/04 02:04:26 | 0B / ?B / ?B |
3 | vos | 17 | 0.0410 | 2009/11/21 23:15:35 | 0B / 6B / 10B |
4 | ideo | 22 | 0.3365 | 2007/09/14 14:46:12 | 0B / ?B / ?B |
5 | tamanegi | 22 | 0.2474 | 2008/01/02 21:11:30 | 0B / ?B / ?B |
6 | tazyamah | 29 | 0.4391 | 2007/08/22 03:05:03 | 0B / 18B / 10B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | kt3k | 21 | 0.1988 | 2007/08/04 08:59:24 | 0B / 13B / 7B |
2 | pla | 22 | 0.1680 | 2007/08/10 23:49:42 | 0B / 14B / 7B |
3 | pla(no exec) | 49 | 0.8625 | 2007/08/17 05:20:56 | 0B / 36B / 13B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | pooq | 17 | 7.1913 | 2009/10/06 22:05:30 | 0B / 10B / 6B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | nn | 24 | 0.0475 | 2011/10/15 16:03:26 | 0B / 17B / 6B |
2 | madshall | 24 | 0.0821 | 2013/07/24 05:59:46 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | kt3k | 19 | 0.1222 | 2007/08/03 13:08:21 | 0B / 13B / 5B |
2 | eban | 19 | 0.1347 | 2007/08/03 21:47:20 | 0B / 13B / 6B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | kt3k | 24 | 0.0985 | 2007/11/25 05:10:23 | 0B / 16B / 4B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | kt3k | 47 | 0.2386 | 2007/08/26 20:35:57 | 0B / 30B / 17B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | pooq | 38 | 0.1321 | 2012/04/04 18:45:06 | 0B / 26B / 8B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | pooq | 9 | 0.0758 | 2012/04/12 19:09:16 | 0B / 4B / 4B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | kt3k | 20 | 0.2109 | 2007/08/03 21:00:59 | 0B / 10B / 9B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | 51b(sh) | 10 | 0.6920 | 2007/08/06 12:15:35 | 0B / 6B / 3B |
2 | 51b | 68 | 0.0843 | 2007/08/06 19:46:02 | 0B / 42B / 9B |
3 | kt3k | 10 | 0.1695 | 2007/11/12 16:29:41 | 0B / 6B / 2B |
4 | 51b | 34 | 0.1088 | 2010/04/03 23:28:27 | 0B / 27B / 3B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | yt | 27 | 0.0912 | 2007/08/06 11:22:47 | 0B / ?B / ?B |
2 | yt | 17 | 0.1817 | 2007/08/23 18:31:57 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | kt3k | 15 | 0.6517 | 2007/08/03 13:00:01 | 0B / 10B / 4B |
2 | kt3k_ | 17 | 1.1019 | 2007/08/12 17:40:51 | 0B / 12B / 4B |
3 | murky-satyr | 13 | 4.4482 | 2010/08/08 09:44:10 | 0B / 11B / 0B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | 51b | 78 | 1.6945 | 2007/08/28 15:04:29 | 0B / 42B / 33B |
2 | 51b(no exec) | 92 | 0.5828 | 2007/12/10 19:42:37 | 0B / 49B / 40B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | pooq | 20 | 0.2581 | 2007/08/09 20:52:41 | 0B / 11B / 9B |
2 | kt3k | 13 | 0.2513 | 2008/02/23 21:04:47 | 0B / 6B / 6B |
3 | pooq | 18 | 0.3699 | 2007/08/19 21:30:43 | 0B / 9B / 9B |
4 | pooq(exec) | 21 | 0.4034 | 2007/08/28 21:15:33 | 0B / 9B / 11B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | kt3k | 8 | 0.4700 | 2007/09/05 00:46:38 | 0B / 4B / 3B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | pooq | 8 | 0.1893 | 2012/03/20 17:25:02 | 0B / 4B / 3B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | kurimura | 26 | 0.1108 | 2007/08/03 20:24:26 | 0B / 14B / 12B |
2 | 51b | 26 | 0.1305 | 2007/08/04 23:03:30 | 0B / 14B / 12B |
3 | 51b(no exec) | 55 | 0.0453 | 2007/08/05 00:48:31 | 0B / 32B / 23B |
4 | 51b(no exec) | 49 | 0.0612 | 2009/08/30 02:29:55 | 0B / 29B / 20B |
5 | inaniwa | 49 | 0.0006 | 2009/12/03 08:22:56 | 0B / 29B / 20B |
6 | tabasa | 107 | 0.0505 | 2007/10/01 10:19:15 | 1B / 66B / 36B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | kt3k | 39 | 0.2733 | 2007/08/04 08:58:50 | 0B / 23B / 14B |
2 | inaniwa | 44 | 0.0481 | 2010/02/17 08:28:41 | 0B / 27B / 15B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | kt3k | 26 | 0.1117 | 2007/08/03 12:53:13 | 0B / 14B / 11B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | pooq | 67 | 0.1426 | 2009/01/25 11:34:23 | 0B / 49B / 15B |
2 | uru | 82 | 0.0781 | 2009/01/29 22:48:06 | 0B / 62B / 17B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | kt3k | 26 | 0.2201 | 2007/08/03 13:02:52 | 0B / 17B / 6B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | kt3k | 71 | 0.2098 | 2007/08/03 13:01:35 | 0B / 56B / 12B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | pooq | 32 | 0.1044 | 2009/11/14 00:46:54 | 0B / 25B / 7B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | pooq | 18 | 0.6636 | 2009/02/11 02:24:25 | 0B / 10B / 8B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | leonid | 30 | 0.1300 | 2009/02/11 17:45:35 | 0B / 24B / 3B |
2 | oofoe | 37 | 0.0594 | 2009/02/11 17:31:07 | 0B / 30B / 4B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | kt3k | 15 | 0.1244 | 2007/08/03 20:53:26 | 0B / 9B / 5B |
2 | eban | 15 | 0.0919 | 2007/08/03 21:33:02 | 0B / 8B / 7B |
3 | waldner | 15 | 0.0610 | 2008/11/09 22:41:40 | 0B / 9B / 6B |
4 | yamaya | 21 | 0.0609 | 2008/12/26 03:24:05 | 0B / 12B / 9B |
5 | tabasa | 33 | 0.0541 | 2007/11/21 11:40:13 | 0B / 21B / 10B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | eban(cheat) | 9 | 0.1004 | 2007/08/03 18:05:55 | 0B / 4B / 5B |
2 | emoken | 9 | 0.1243 | 2007/08/14 17:35:39 | 0B / 7B / 2B |
3 | hirose | 53 | 0.0508 | 2007/08/03 16:18:20 | 0B / 39B / 12B |
4 | tabasa | 10 | 0.0698 | 2007/11/21 12:32:56 | 0B / 5B / 4B |
5 | waldner | 10 | 0.0646 | 2008/11/09 22:37:28 | 0B / 5B / 4B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | eban | 7 | 0.5523 | 2007/08/03 10:44:30 | 0B / 4B / 3B |
2 | kt3k | 7 | 0.1290 | 2007/08/03 12:49:04 | 0B / 4B / 2B |
3 | shinh | 7 | 0.1464 | 2007/08/03 22:45:27 | 0B / 4B / 2B |
4 | waldner | 7 | 0.0759 | 2008/11/09 22:45:54 | 0B / 4B / 3B |
5 | kurimura | 7 | 0.0952 | 2009/03/22 14:34:48 | 0B / 4B / 2B |
6 | zzo38 | 7 | 0.0614 | 2010/03/20 09:45:04 | 0B / ?B / ?B |
7 | KEN3 | 9 | 0.0696 | 2007/10/03 16:14:02 | 0B / 8B / 0B |
8 | vos | 9 | 0.0249 | 2009/11/21 23:12:24 | 0B / 6B / 2B |
9 | r00t | 10 | 0.0634 | 2010/12/29 09:54:39 | 0B / 6B / 3B |
10 | tabasa | 13 | 0.4498 | 2007/10/01 09:59:12 | 0B / 9B / 2B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | eban | 5 | 0.3309 | 2010/02/13 02:55:31 | 0B / 2B / 3B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | kt3k | 15 | 0.1047 | 2007/08/03 20:47:08 | 0B / 9B / 5B |
2 | eban | 15 | 0.1001 | 2007/08/03 22:40:35 | 0B / 9B / 6B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | 51b(exec) | 19 | 0.1062 | 2008/01/01 05:06:27 | 0B / 10B / 9B |
2 | 51b | 56 | 0.1255 | 2008/08/22 18:35:30 | 2B / 39B / 14B |
3 | tabasa | 144 | 0.0376 | 2007/11/21 18:47:33 | 2B / 93B / 46B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 16 | 0.0721 | 2013/07/25 08:59:47 | 0B / 3B / 12B |
2 | leonid | 18 | 0.3962 | 2007/12/15 12:23:52 | 0B / 7B / 10B |
3 | irori | 27 | 0.2480 | 2007/12/15 21:53:54 | 0B / 7B / 19B |
4 | tabasa | 30 | 0.1912 | 2008/02/22 23:35:34 | 0B / ?B / ?B |
5 | kt3k | 4199 | 0.4907 | 2007/12/15 12:11:17 | 0B / 2493B / 724B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | eban | 9 | 0.2089 | 2008/01/07 03:15:04 | 1B / 8B / 0B |
2 | pla | 10 | 0.3040 | 2008/01/07 03:08:25 | 2B / 8B / 0B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | nn | 38 | 7.3001 | 2008/05/05 02:00:46 | 0B / 25B / 11B |
2 | murky-satyr | 42 | 5.8663 | 2008/02/19 00:47:26 | 0B / 30B / 10B |
3 | tabasa | 150 | 6.3558 | 2008/02/15 08:12:02 | 4B / ?B / ?B |
Language Ranking_
Rank | Lang | User | Size | Score |
1 | Zsh | eban | 5 | 10000 |
2 | Bash | eban | 7 | 7142 |
3 | A+ | kt3k | 8 | 6250 |
4 | K | pooq | 8 | 6250 |
5 | sed | eban(cheat) | 9 | 5555 |
6 | Vim | eban | 9 | 5555 |
7 | goruby | murky-satyr | 9 | 5555 |
8 | REXX | pooq | 9 | 5555 |
9 | Forth | 51b(sh) | 10 | 5000 |
10 | Perl | shinh | 12 | 4166 |
11 | Ruby | eban(cheat) | 13 | 3846 |
12 | J | kt3k | 13 | 3846 |
13 | Perl6 | murky-satyr | 13 | 3846 |
14 | xgawk | kt3k | 15 | 3333 |
15 | AWK | kt3k | 15 | 3333 |
16 | PHP | o-cn | 15 | 3333 |
17 | Common LISP | kozima | 16 | 3125 |
18 | GolfScript | tails | 16 | 3125 |
19 | BASIC | yt | 17 | 2941 |
20 | R | m-satyr(exec) | 17 | 2941 |
21 | Arc | pooq | 17 | 2941 |
22 | Maxima | pooq | 18 | 2777 |
23 | Lua | kt3k | 19 | 2631 |
24 | m4 | 51b(exec) | 19 | 2631 |
25 | Prolog | kt3k | 20 | 2500 |
26 | Scheme | kt3k | 21 | 2380 |
27 | Tcl | kt3k | 24 | 2083 |
28 | Io | murky-satyr | 24 | 2083 |
29 | JavaScript | nn | 24 | 2083 |
30 | Clojure | murky-satyr | 25 | 2000 |
31 | ObjC | kt3k | 26 | 1923 |
32 | Fortran | kt3k | 26 | 1923 |
33 | C | kurimura | 26 | 1923 |
34 | Smalltalk | murky-satyr | 26 | 1923 |
35 | Python | kt3k | 30 | 1666 |
36 | OCaml | m.ukai(exec) | 30 | 1666 |
37 | Postscript | yshl(pipe)(bin) | 30 | 1666 |
38 | REBOL | leonid | 30 | 1666 |
39 | Haskell | notogawa | 32 | 1562 |
40 | Curry | pooq | 32 | 1562 |
41 | Kite | teebee(exec) | 32 | 1562 |
42 | Logo | teebee | 33 | 1515 |
43 | Octave | inaniwa | 34 | 1470 |
44 | Groovy | nn | 38 | 1315 |
45 | Icon | pooq | 38 | 1315 |
46 | C++ | kt3k | 39 | 1282 |
47 | Xtal | kt3k | 47 | 1063 |
48 | D | kurimura | 49 | 1020 |
49 | Nemerle | murky-satyr | 66 | 757 |
50 | Pascal | pooq | 67 | 746 |
51 | COBOL | kt3k | 71 | 704 |
52 | Erlang | 51b | 78 | 641 |
53 | Brainfuck | kimiyuki | 5305 | 9 |
Referer
Note that, they may contain spoilers.
return to the top page