Tak y

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

Calcurate Takeuchi's tarai functon:
tak(x,y,z)=y ;for x<=y,
=tak(tak(x-1,y,z),tak(y-1,z,x),tak(z-1,x,y)) ;for x>y.

Options

no deadline, the server will not save your submission

Sample input:_

0 50.5 100.75
0 100.75 50.5
50.5 0 100.25
49.5 99.75 0
99.25 0 49.5
99.25 49.5 0

Sample output:

50.5
100.75
100.25
99.75
49.5
99.25

Sample input:_

123456789 98765432 0

Sample output:

123456789

Sample input:_

-3 -7 -6

Sample output:

-6

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1leonid240.04852010/10/09 17:07:540B / ?B / ?B
2usa(cheat)340.37452007/02/21 17:21:560B / 15B / 18B
3eban(cheat)360.23532007/02/21 17:27:440B / 15B / 18B
4usa(t0)560.67252007/02/21 17:05:040B / 32B / 19B
5ksk570.23892007/02/21 11:07:580B / 20B / 31B
6b2ox600.21142007/02/21 12:59:390B / 25B / 33B
7oto-oto-oto650.26172007/02/26 02:08:330B / ?B / ?B
8shinh660.24582007/02/21 04:35:490B / 36B / 26B

Perl _

RankUserSizeTimeDateStatistics
1tails250.03652011/05/26 06:07:550B / 13B / 9B
2teebee250.03902011/05/27 05:51:080B / 13B / 9B
3leonid250.06622012/03/05 00:45:390B / 13B / 9B
4eban(cheat)400.13072007/02/21 12:39:370B / 18B / 19B
5ySas420.14752007/02/25 22:54:260B / 9B / 32B
6ott(embed)450.12242007/08/11 09:36:280B / 15B / 28B
7ott470.12532007/08/11 09:34:060B / 16B / 29B
8ksk500.13182007/02/21 11:20:350B / 15B / 31B
9dankogai800.26392007/02/24 06:47:320B / ?B / ?B

Python _

RankUserSizeTimeDateStatistics
1leonid510.11992012/03/04 19:59:110B / ?B / ?B
2xsot510.08882015/08/23 10:40:410B / 32B / 16B
3llhuii510.08522015/08/24 00:21:000B / ?B / ?B
4twobit550.07992011/01/06 08:55:210B / 34B / 17B
5kt3k570.31572007/06/03 14:31:410B / 35B / 19B
6hirose570.12862007/10/03 19:23:340B / 33B / 21B
7hallvabo700.06832011/01/06 09:20:200B / 43B / 22B
8SeeNoEvil851.15622007/03/10 07:20:340B / 54B / 24B

Python3 _

RankUserSizeTimeDateStatistics
1llhuii490.15862015/08/24 00:29:020B / ?B / ?B

PHP _

RankUserSizeTimeDateStatistics
1xulapp640.09622011/02/13 17:12:147B / 27B / 30B
2o-cn650.04642010/01/10 11:24:561B / 30B / 34B
3pooq760.37842008/10/06 19:50:240B / 34B / 40B
4beton820.44472007/05/05 21:53:050B / 35B / 44B

Scheme _

RankUserSizeTimeDateStatistics
1ma600.80442007/03/03 18:43:520B / ?B / ?B

Common LISP _

RankUserSizeTimeDateStatistics
1kozima750.37622009/02/22 13:38:330B / 42B / 25B

Arc _

RankUserSizeTimeDateStatistics
1murky-satyr573.44732009/12/21 18:44:200B / 30B / 19B
2youz5810.15932009/10/17 01:51:550B / 32B / 20B

Clojure _

RankUserSizeTimeDateStatistics
1murky-satyr655.24792010/06/30 06:09:090B / 34B / 24B

Io _

RankUserSizeTimeDateStatistics
1pooq800.22282013/02/04 20:15:240B / 57B / 17B
2murky-satyr1063.45212008/08/05 23:52:240B / 70B / 29B
3poop1072.49982008/03/25 01:08:080B / 75B / 28B
451b1072.67152008/04/02 01:05:480B / 78B / 25B

JavaScript _

RankUserSizeTimeDateStatistics
1xulapp550.00292010/03/15 09:31:450B / 29B / 25B
2murky-satyr550.00882010/03/15 09:51:490B / 29B / 25B
3nn550.01742010/03/27 14:57:290B / 29B / 25B
4Dashiva730.13392007/04/21 03:39:570B / 37B / 35B
5nanto_vi(cheat)740.11502007/02/22 02:06:270B / 40B / 33B

Lua _

RankUserSizeTimeDateStatistics
1planque740.39792007/05/29 22:10:180B / 47B / 20B

Tcl _

RankUserSizeTimeDateStatistics
1clock630.04512012/08/27 19:30:080B / 34B / 21B
2pooq830.00802009/11/21 06:06:550B / 53B / 19B

Xtal _

RankUserSizeTimeDateStatistics
1pooq760.07072010/08/22 20:11:300B / 49B / 22B

SNOBOL _

RankUserSizeTimeDateStatistics
1clock1020.03892013/02/04 19:32:060B / 44B / 33B

Icon _

RankUserSizeTimeDateStatistics
1clock940.04952012/09/26 18:21:000B / 51B / 36B

REXX _

RankUserSizeTimeDateStatistics
1pooq540.05062012/05/05 18:17:550B / 30B / 14B

Smalltalk _

RankUserSizeTimeDateStatistics
1murky-satyr1060.53812008/07/13 11:15:080B / 56B / 45B
2sumim1300.64072007/02/21 13:54:330B / 85B / 36B

Prolog _

RankUserSizeTimeDateStatistics
1todo890.14742011/02/11 15:27:300B / ?B / ?B
2mskzzzz990.20572007/06/12 02:46:190B / 60B / 34B

BASIC _

RankUserSizeTimeDateStatistics
1*yuko*540.03842013/03/28 21:58:400B / 27B / 25B
2clock560.03742013/03/28 22:20:100B / 28B / 27B
3poop820.02412007/11/03 15:54:070B / 55B / 14B

Erlang _

RankUserSizeTimeDateStatistics
151b1820.91902007/12/10 17:01:040B / 92B / 84B

J _

RankUserSizeTimeDateStatistics
1poop780.15642008/04/07 12:13:520B / 29B / 46B
2kinaba(cheat)1020.17402007/11/11 22:58:210B / 28B / 66B
3kinaba1840.52362007/11/11 22:48:050B / 62B / 70B

K _

RankUserSizeTimeDateStatistics
1teebee160.03352012/07/04 05:40:340B / 4B / 12B

C _

RankUserSizeTimeDateStatistics
1llhuii590.03222015/08/24 02:20:412B / ?B / ?B
2inaniwa650.00182011/03/08 20:55:422B / 32B / 31B
3Reputeless770.00182011/03/08 12:22:020B / 41B / 36B
451b870.06312007/03/04 01:47:300B / 48B / 38B
5kotatsugame870.03212017/02/27 01:58:310B / 46B / 40B
6atetubou1000.00192011/03/08 12:56:130B / ?B / ?B

D _

RankUserSizeTimeDateStatistics
151b1020.07482007/09/27 13:51:280B / 64B / 34B

OCaml _

RankUserSizeTimeDateStatistics
1ksk(cheat)450.33802007/02/24 16:15:420B / 22B / 22B
2ksk1140.26972007/02/26 19:05:050B / 68B / 30B
3m.ukai1200.30712007/02/26 18:13:160B / 70B / 38B

Haskell _

RankUserSizeTimeDateStatistics
1henkma730.03352013/06/11 22:26:120B / 45B / 26B
2cojna740.03262013/06/11 19:51:270B / 47B / 22B
3rst76(invalid?cheat?)800.00552010/05/04 12:16:300B / 51B / 23B
4notogawa800.00242010/05/04 14:34:310B / ?B / ?B
5b2ox(invalid)820.11802007/02/22 16:40:580B / 52B / 26B
6b2ox831.28152007/02/22 13:01:230B / 52B / 27B
7emoken1080.11902007/02/21 18:47:250B / 64B / 43B

ObjC _

RankUserSizeTimeDateStatistics
1llhuii590.03212015/08/24 03:02:002B / 28B / 29B

Java _

RankUserSizeTimeDateStatistics
1Klemmbrett1190.19192016/03/24 18:09:400B / ?B / ?B

Pascal _

RankUserSizeTimeDateStatistics
1uru1080.01672009/04/17 11:42:560B / 76B / 24B
2*yuko*1080.04862011/06/06 06:17:560B / 76B / 23B

Fortran _

RankUserSizeTimeDateStatistics
1*yuko*1180.04402011/06/06 06:50:360B / 63B / 55B

C# _

RankUserSizeTimeDateStatistics
1mho1440.60982007/04/07 00:14:030B / ?B / ?B
2snFB3400.85632007/03/10 05:51:1313B / ?B / ?B

COBOL _

RankUserSizeTimeDateStatistics
1*yuko*1860.14892011/07/01 17:13:350B / 140B / 23B

Maxima _

RankUserSizeTimeDateStatistics
1clock1010.37992012/10/31 18:18:150B / 53B / 38B
2pooq1990.74852009/02/25 21:21:090B / 119B / 71B

Octave _

RankUserSizeTimeDateStatistics
1pooq890.64152011/11/01 10:41:010B / 54B / 35B

Asymptote _

RankUserSizeTimeDateStatistics
1teebee780.46622011/12/20 08:23:110B / 48B / 24B
2xulapp852.74662011/02/13 18:57:550B / 42B / 41B

AWK _

RankUserSizeTimeDateStatistics
1nn(cheat)180.05812008/07/04 00:04:340B / 6B / 12B
2llhuii190.03342015/08/24 00:43:380B / ?B / ?B
3usa(cheat)220.07692007/02/21 01:14:510B / 8B / 14B
4eban(cheat)230.06042007/02/21 01:14:300B / 8B / 14B

sed _

RankUserSizeTimeDateStatistics
1clock350.04372011/12/04 22:30:520B / 6B / 23B
2eban(cheat)450.07002007/02/21 11:05:090B / 8B / 30B

Bash _

RankUserSizeTimeDateStatistics
1llhuii(cheat)250.01742015/08/24 03:01:000B / ?B / ?B
2eban(cheat)870.16842007/02/21 12:56:420B / 47B / 27B

Zsh _

RankUserSizeTimeDateStatistics
1llhuii(cheat)250.04192015/08/24 03:05:220B / ?B / ?B

Fish _

RankUserSizeTimeDateStatistics
1llhuii(cheat)250.05522015/08/24 03:05:130B / ?B / ?B

wake _

RankUserSizeTimeDateStatistics
1murky-satyr600.01172010/07/30 01:48:170B / 15B / 42B
2eban720.02352010/07/29 14:48:200B / 33B / 35B

dc _

RankUserSizeTimeDateStatistics
1tails560.01292011/05/13 01:42:190B / 42B / 14B

xgawk _

RankUserSizeTimeDateStatistics
1llhuii(cheat)190.03952015/08/24 00:50:200B / ?B / ?B

Postscript _

RankUserSizeTimeDateStatistics
1yshl(bin)510.53922007/11/03 13:32:3116B / 22B / 13B
2ySas560.87872007/04/12 12:41:5122B / 19B / 15B
3yshl800.51142007/11/03 13:31:540B / 58B / 12B

R _

RankUserSizeTimeDateStatistics
1pooq713.59892008/06/25 17:15:250B / 46B / 20B
2NikNakk920.40682014/07/06 07:05:300B / ?B / ?B

QCL _

RankUserSizeTimeDateStatistics
1pooq1650.04432008/10/21 11:08:470B / 113B / 38B

Brainfuck _

RankUserSizeTimeDateStatistics
1g33k2670.03192012/12/20 07:50:590B / ?B / ?B

GolfScript _

RankUserSizeTimeDateStatistics
1flagitious160.22492007/12/16 03:00:390B / 7B / 8B
2leonid160.14212010/10/09 12:54:030B / ?B / ?B
3nooodl580.14212010/07/27 18:14:175B / ?B / ?B

z80 _

RankUserSizeTimeDateStatistics
1*yuko*410.10872010/09/18 01:17:0125B / 6B / 10B

Vim _

RankUserSizeTimeDateStatistics
1clock280.15372011/12/09 03:04:070B / 19B / 7B
2nn280.11382011/12/17 22:33:370B / 9B / 13B

Groovy _

RankUserSizeTimeDateStatistics
1nn543.38012009/12/25 09:34:120B / 30B / 20B
2murky-satyr733.37742009/12/21 18:25:410B / 50B / 22B

Scala _

RankUserSizeTimeDateStatistics
1tarhashi1419.29332012/06/15 10:58:050B / ?B / ?B

Logo _

RankUserSizeTimeDateStatistics
1clock530.04492013/01/28 07:24:170B / 29B / 20B

Language Ranking_

RankLangUserSizeScore
1GolfScriptflagitious1610000
2Kteebee1610000
3AWKnn(cheat)188888
4xgawkllhuii(cheat)198421
5Rubyleonid246666
6Perltails256400
7Bashllhuii(cheat)256400
8Fishllhuii(cheat)256400
9Zshllhuii(cheat)256400
10Vimclock285714
11sedclock354571
12z80*yuko*413902
13OCamlksk(cheat)453555
14Python3llhuii493265
15Postscriptyshl(bin)513137
16Pythonleonid513137
17Logoclock533018
18Groovynn542962
19REXXpooq542962
20BASIC*yuko*542962
21JavaScriptxulapp552909
22dctails562857
23Arcmurky-satyr572807
24Cllhuii592711
25ObjCllhuii592711
26Schemema602666
27wakemurky-satyr602666
28Tclclock632539
29PHPxulapp642500
30Clojuremurky-satyr652461
31Rpooq712253
32Haskellhenkma732191
33Luaplanque742162
34Common LISPkozima752133
35Xtalpooq762105
36Jpoop782051
37Asymptoteteebee782051
38Iopooq802000
39Prologtodo891797
40Octavepooq891797
41Iconclock941702
42Maximaclock1011584
43D51b1021568
44SNOBOLclock1021568
45Smalltalkmurky-satyr1061509
46Pascaluru1081481
47Fortran*yuko*1181355
48JavaKlemmbrett1191344
49Scalatarhashi1411134
50C#mho1441111
51QCLpooq165969
52Erlang51b182879
53COBOL*yuko*186860
54Brainfuckg33k267599

Referer

Note that, they may contain spoilers.

return top