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
5sean560.08972024/04/03 09:07:170B / 34B / 19B
6kt3k570.31572007/06/03 14:31:410B / 35B / 19B
7hirose570.12862007/10/03 19:23:340B / 33B / 21B
8hallvabo700.06832011/01/06 09:20:200B / 43B / 22B
9SeeNoEvil851.15622007/03/10 07:20:340B / 54B / 24B

Python3 _

RankUserSizeTimeDateStatistics
1llhuii490.15862015/08/24 00:29:020B / ?B / ?B
2mypetlion750.13732020/02/15 03:07:130B / 42B / 32B

PHP _

RankUserSizeTimeDateStatistics
1xulapp640.09622011/02/13 17:12:147B / 27B / 30B
2o-cn650.04642010/01/10 11:24:561B / 30B / 34B
3sean730.26732024/04/03 09:23:160B / 41B / 28B
4pooq760.37842008/10/06 19:50:240B / 34B / 40B
5beton820.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
2sean760.09402024/04/03 10:33:530B / 46B / 26B

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
2sean790.07002024/04/03 10:36:240B / ?B / ?B

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

Kite _

RankUserSizeTimeDateStatistics
1sean990.07672024/04/03 10:44:190B / ?B / ?B

SNOBOL _

RankUserSizeTimeDateStatistics
1sean960.10282024/04/03 10:07:500B / 48B / 26B
2clock1020.03892013/02/04 19:32:060B / 44B / 33B

Icon _

RankUserSizeTimeDateStatistics
1clock940.04952012/09/26 18:21:000B / 51B / 36B
2sean980.07022024/04/03 10:45:050B / ?B / ?B

REXX _

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

PARI/GP _

RankUserSizeTimeDateStatistics
1sean790.08092024/04/03 10:46:330B / ?B / ?B

Smalltalk _

RankUserSizeTimeDateStatistics
1sean930.08872024/04/03 10:48:390B / ?B / ?B
2murky-satyr1060.53812008/07/13 11:15:080B / 56B / 45B
3sumim1300.64072007/02/21 13:54:330B / 85B / 36B

Prolog _

RankUserSizeTimeDateStatistics
1sean800.11282024/04/03 11:27:570B / ?B / ?B
2todo890.14742011/02/11 15:27:300B / ?B / ?B
3mskzzzz990.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

A+ _

RankUserSizeTimeDateStatistics
1sean680.11902024/04/04 02:46:110B / ?B / ?B

K _

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

Jelly _

RankUserSizeTimeDateStatistics
1Erik the Outgolfer120.46332021/03/30 06:46:328B / 3B / 1B

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

C++ _

RankUserSizeTimeDateStatistics
1sean1030.07282024/04/04 02:48:010B / ?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
3sean780.04362024/04/03 10:28:520B / ?B / ?B
4rst76(invalid?cheat?)800.00552010/05/04 12:16:300B / 51B / 23B
5notogawa800.00242010/05/04 14:34:310B / ?B / ?B
6b2ox(invalid)820.11802007/02/22 16:40:580B / 52B / 26B
7b2ox831.28152007/02/22 13:01:230B / 52B / 27B
8emoken1080.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
1sean1140.06742024/04/03 10:20:500B / ?B / ?B
2*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
2sean1910.07162024/04/03 10:24:590B / ?B / ?B

Maxima _

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

Octave _

RankUserSizeTimeDateStatistics
1sean800.49692024/04/03 10:27:420B / ?B / ?B
2pooq890.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

Euphoria _

RankUserSizeTimeDateStatistics
1sean790.07002024/04/03 10:42:390B / ?B / ?B

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

jq _

RankUserSizeTimeDateStatistics
1pooq680.03202018/02/08 16:25:300B / ?B / ?B

Bash _

RankUserSizeTimeDateStatistics
1llhuii(cheat)250.01742015/08/24 03:01:000B / ?B / ?B
2McBusLuck370.01742021/04/30 07:16:400B / 15B / 21B
3eban(cheat)870.16842007/02/21 12:56:420B / 47B / 27B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1McBusLuck470.01772021/04/30 06:29:460B / 21B / 21B

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

bc _

RankUserSizeTimeDateStatistics
1McBusLuck620.04212020/04/16 16:43:150B / 32B / 28B

dc _

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

xgawk _

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

m4 _

RankUserSizeTimeDateStatistics
1鳴神裁4.1号(w/ ifelse len)1040.04092021/09/24 22:25:230B / 71B / 28B

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
1rotary-o587.08112021/07/24 17:36:320B / 34B / 20B
2tarhashi1419.29332012/06/15 10:58:050B / ?B / ?B

Logo _

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

Language Ranking_

RankLangUserSizeScore
1JellyErik the Outgolfer1210000
2GolfScriptflagitious167500
3Kteebee167500
4AWKnn(cheat)186666
5xgawkllhuii(cheat)196315
6Rubyleonid245000
7Perltails254800
8Bashllhuii(cheat)254800
9Fishllhuii(cheat)254800
10Zshllhuii(cheat)254800
11Vimclock284285
12sedclock353428
13z80*yuko*412926
14OCamlksk(cheat)452666
15Bash (builtins)McBusLuck472553
16Python3llhuii492448
17Postscriptyshl(bin)512352
18Pythonleonid512352
19Logoclock532264
20Groovynn542222
21REXXpooq542222
22BASIC*yuko*542222
23JavaScriptxulapp552181
24dctails562142
25Arcmurky-satyr572105
26Scalarotary-o582068
27Cllhuii592033
28ObjCllhuii592033
29Schemema602000
30wakemurky-satyr602000
31bcMcBusLuck621935
32Tclclock631904
33PHPxulapp641875
34Clojuremurky-satyr651846
35jqpooq681764
36A+sean681764
37Rpooq711690
38Haskellhenkma731643
39Luaplanque741621
40Common LISPkozima751600
41Xtalpooq761578
42Jpoop781538
43Asymptoteteebee781538
44Euphoriasean791518
45PARI/GPsean791518
46Iopooq801500
47Octavesean801500
48Prologsean801500
49Smalltalksean931290
50Iconclock941276
51SNOBOLsean961250
52Kitesean991212
53Maximaclock1011188
54D51b1021176
55C++sean1031165
56m4鳴神裁4.1号(w/ ifelse len)1041153
57Pascaluru1081111
58Fortransean1141052
59JavaKlemmbrett1191008
60C#mho144833
61QCLpooq165727
62Erlang51b182659
63COBOL*yuko*186645
64Brainfuckg33k267449

Referer

Note that, they may contain spoilers.

return to the top page