show the way

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

read a number of goal and a map having 10*10 characters, output "top", "bottom", "left" and "right".

Options

exec is denied

no deadline, the server will not save your submission

Sample input:_

3
0        1
          
          
          
          
          
          
          
          
3        2

Sample output:

right
bottom
left

Sample input:_

6
          
    0     
          
          
 4     3  
          
    1  2  
          
 5    6   
          

Sample output:

bottom
right
top
left
bottom
right

Sample input:_

9
 1   2    
          
          
 0 6   5  
          
     3 4  
   7  8   
          
          
      9   

Sample output:

top
right
bottom
right
top
left
bottom
right
bottom

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1leonid680.06132010/12/03 04:52:100B / 34B / 29B
2fsystem800.05902007/11/06 00:50:150B / ?B / ?B
3kaki800.05162011/05/12 17:07:520B / 50B / 24B
4flagitious840.23092007/02/18 01:58:0518B / 35B / 25B
5shinh860.20112007/02/18 07:20:5318B / 43B / 19B
6eban970.22212007/02/18 01:41:440B / 50B / 41B
7shinh(cheatless)1020.21222007/02/18 07:54:150B / ?B / ?B
8steelydon1040.00602010/07/24 01:27:240B / ?B / ?B
9niha1080.21872007/02/18 23:28:340B / ?B / ?B
10flagitious(unembeded)1470.34732007/02/18 14:02:001B / 70B / 65B

Perl _

RankUserSizeTimeDateStatistics
1tails690.02592011/05/12 05:28:560B / 38B / 31B
2ySas(embed)760.12272007/06/06 23:33:160B / 43B / 33B
3tybalt89870.00382010/08/20 09:35:170B / ?B / ?B
4ott880.39572008/01/01 22:56:540B / 37B / 48B
5ySas1010.20482007/02/20 17:55:500B / 53B / 46B
6eban1030.11412007/02/18 02:14:530B / 59B / 44B
7TAKO/j0nKI1150.00132010/03/15 00:45:140B / ?B / ?B
8BioFALSE1630.03712013/01/28 02:21:035B / 66B / 87B

Python _

RankUserSizeTimeDateStatistics
1leonid820.06712011/10/18 08:30:410B / 50B / 30B
2twobit820.11192012/06/01 06:33:500B / 55B / 22B
3niisaka840.06122011/10/18 08:16:380B / 52B / 30B
4hallvabo870.04762010/10/20 16:54:490B / 54B / 30B
5recursive900.11662008/09/19 00:28:050B / 53B / 37B
6pbx940.32522007/03/08 05:18:310B / ?B / ?B
7nooodl1160.07122010/08/21 03:51:530B / ?B / ?B
8Mark Byers1410.92862007/02/19 22:09:402B / ?B / ?B
90s0ss01760.21962008/05/03 00:27:103B / ?B / ?B
10zetamatta2120.49802007/02/18 12:00:510B / ?B / ?B
11hirose4000.33352007/05/01 17:06:3617B / ?B / ?B

PHP _

RankUserSizeTimeDateStatistics
1o-cn840.06162009/12/08 02:53:4034B / 36B / 14B
2murky-satyr1040.96642008/12/07 14:51:120B / 63B / 40B
3nuko1310.48582007/03/28 21:11:300B / ?B / ?B

Scheme _

RankUserSizeTimeDateStatistics
1ma(embed)1020.23942007/03/03 13:42:090B / ?B / ?B
2hirofummy(embed)1050.20562007/02/25 21:59:340B / ?B / ?B
3ma2370.51952007/03/02 16:12:120B / ?B / ?B
4hirofummy2400.38252007/02/21 05:34:450B / ?B / ?B

Common LISP _

RankUserSizeTimeDateStatistics
1kozima(embed)1082.00912007/03/05 15:27:170B / 54B / 37B
2kozima2390.38602007/05/01 14:58:421B / 124B / 102B

Arc _

RankUserSizeTimeDateStatistics
1murky-satyr823.37572009/12/29 13:06:2218B / 33B / 27B
2pooq8910.92492009/10/31 00:19:150B / 52B / 33B

Io _

RankUserSizeTimeDateStatistics
1murky-satyr982.36242008/03/10 05:20:1118B / 59B / 12B
2poop1543.22622007/08/14 07:34:140B / 108B / 28B

JavaScript _

RankUserSizeTimeDateStatistics
1murky-satyr860.07092008/04/03 01:41:430B / 52B / 33B
2nn860.00032010/01/08 23:32:330B / 52B / 33B
3ktt920.13682008/12/26 22:32:560B / 56B / 35B
4Dashiva1060.10192007/04/21 02:54:400B / 60B / 40B
5nanto_vi1150.14402007/02/24 18:14:040B / 67B / 48B

Lua _

RankUserSizeTimeDateStatistics
1clock1060.03212012/08/13 12:33:200B / 63B / 39B
2twobit1060.03202013/02/14 10:19:310B / 63B / 39B
3murky-satyr1070.09182008/07/05 09:30:510B / 67B / 36B

Tcl _

RankUserSizeTimeDateStatistics
1clock1040.04542012/08/27 08:41:590B / 71B / 17B
2murky-satyr1290.10352008/07/11 02:59:2518B / 68B / 24B

Xtal _

RankUserSizeTimeDateStatistics
1pooq1050.06502012/11/03 14:03:580B / 61B / 43B

Icon _

RankUserSizeTimeDateStatistics
1clock990.06222012/04/22 23:34:080B / 67B / 28B
2pooq1000.04872012/04/03 06:42:310B / 67B / 29B

REXX _

RankUserSizeTimeDateStatistics
1pooq1130.05232012/04/15 07:48:450B / 80B / 19B

PARI/GP _

RankUserSizeTimeDateStatistics
1teebee770.10612012/05/14 10:48:180B / 52B / 25B
2clock770.07192012/05/17 01:13:090B / 52B / 25B

Cyan _

RankUserSizeTimeDateStatistics
1murky-satyr9013.73402008/12/07 08:21:350B / 56B / 33B
2pooq13413.19922008/11/10 05:36:460B / 71B / 63B

Smalltalk _

RankUserSizeTimeDateStatistics
1clock970.05932013/01/07 07:31:3018B / 51B / 22B
2murky-satyr1050.57992008/07/03 07:56:4218B / 48B / 38B
3sumim1310.67662007/02/21 17:24:420B / 84B / 36B

Prolog _

RankUserSizeTimeDateStatistics
1mskzzzz1450.23052007/05/28 02:46:110B / 85B / 51B

BASIC _

RankUserSizeTimeDateStatistics
1*yuko*940.02392011/05/29 03:31:110B / 67B / 18B
2poop1130.17222007/11/24 03:59:320B / 71B / 26B
3yt1160.14312007/05/25 20:02:330B / ?B / ?B

J _

RankUserSizeTimeDateStatistics
1I., S.(embed)680.11062012/06/01 21:37:340B / 42B / 21B
2pooq730.16772008/09/15 21:16:450B / 38B / 29B
3poop750.62612008/04/04 23:11:060B / ?B / ?B
4I., S.770.12092012/06/01 21:33:060B / 29B / 45B

K _

RankUserSizeTimeDateStatistics
1twobit470.04002012/03/20 09:03:110B / 35B / 10B
2pooq610.05562012/03/19 21:41:330B / 30B / 29B

Mind _

RankUserSizeTimeDateStatistics
1poop1780.06452007/10/11 17:26:1041B / 90B / 29B

C _

RankUserSizeTimeDateStatistics
1kurimura930.06872007/02/18 02:10:1010B / 52B / 31B
2hinoe(hidoi)930.19442007/02/23 01:04:584B / 53B / 36B
3Nyhx1240.00092009/12/16 21:24:030B / 68B / 56B
4hinoe1310.06832007/02/18 15:37:500B / 69B / 62B

OCaml _

RankUserSizeTimeDateStatistics
1m.ukai(embed)1100.31032007/03/06 20:10:350B / 62B / 42B
2ksk(embed)1100.24572007/03/18 00:45:370B / 62B / 42B
3suiginto(embed) 1250.25312007/02/24 13:04:2018B / 61B / 44B
4suiginto(embed)1270.84622007/02/23 03:59:4118B / 62B / 45B
5suiginto2300.31652007/02/23 04:22:490B / 142B / 72B
6m.ukai2850.31062007/02/21 11:17:140B / 167B / 90B

Haskell _

RankUserSizeTimeDateStatistics
1henkma1000.04832012/03/01 20:40:330B / 74B / 18B
2notogawa(embed)1000.03432012/07/18 22:22:130B / 74B / 18B
3rst76(embed)1110.00192010/04/30 01:17:500B / 80B / 22B
4pooq1130.18082009/11/11 12:25:260B / 82B / 27B
5_(embed)1150.52232007/02/21 22:18:280B / 64B / 39B
6b2ox(embed)1160.13922007/02/22 01:24:070B / 77B / 38B
7_1640.12292007/02/18 12:20:340B / 92B / 63B
8Icewing1690.02882011/06/11 23:34:360B / 93B / 69B
9tanakh1710.08962007/02/18 06:56:550B / ?B / ?B
10m1720.09832007/02/18 09:41:192B / ?B / ?B
11b2ox1960.09892007/02/22 01:32:220B / 100B / 92B
12blue2010.09342007/02/17 23:10:590B / ?B / ?B

Ada _

RankUserSizeTimeDateStatistics
1yt2110.10832007/05/25 19:59:340B / ?B / ?B
2D4600.12642007/04/05 14:41:550B / 314B / 110B

Pascal _

RankUserSizeTimeDateStatistics
1*yuko*1230.04892011/05/29 04:23:122B / 86B / 24B
2uru1350.07942009/07/01 22:01:370B / 84B / 43B
3yt1600.09272007/05/25 20:04:380B / ?B / ?B

COBOL _

RankUserSizeTimeDateStatistics
1*yuko*2200.06972011/11/03 22:44:030B / 171B / 26B

Curry _

RankUserSizeTimeDateStatistics
1pooq1280.07722009/11/15 15:16:390B / 76B / 37B

Maxima _

RankUserSizeTimeDateStatistics
1clock1010.26072012/10/31 18:01:440B / 56B / 45B
2pooq1200.28622010/01/24 21:54:210B / 82B / 31B

Octave _

RankUserSizeTimeDateStatistics
1pooq920.67452011/10/22 10:19:260B / 57B / 34B

REBOL _

RankUserSizeTimeDateStatistics
1clock1030.06592012/07/18 15:04:520B / 74B / 19B
2pooq1140.17312009/02/15 21:27:210B / 80B / 23B

Asymptote _

RankUserSizeTimeDateStatistics
1pooq1213.17852009/04/05 12:25:330B / 65B / 49B

AWK _

RankUserSizeTimeDateStatistics
1nn830.05802008/07/11 23:57:150B / 50B / 30B
2usa970.06462007/02/19 15:03:450B / 51B / 34B
3eban1040.85152007/06/04 22:42:210B / 50B / 35B

sed _

RankUserSizeTimeDateStatistics
1clock790.04632011/12/05 02:31:450B / 53B / 21B
2emoken850.46732007/02/22 09:04:010B / ?B / ?B
3shinh900.07492007/02/18 07:31:2722B / 36B / 25B
4eban900.07332007/03/11 21:42:320B / 60B / 24B
5kanitawa1030.03152014/10/06 14:14:170B / 62B / 32B

Bash _

RankUserSizeTimeDateStatistics
1eban1380.13252007/02/18 02:16:540B / 74B / 52B

wake _

RankUserSizeTimeDateStatistics
1clock780.04962011/11/23 03:29:300B / 40B / 22B

dc _

RankUserSizeTimeDateStatistics
1tails790.02942011/05/12 05:58:240B / 55B / 24B

Postscript _

RankUserSizeTimeDateStatistics
1ySas(embed)730.87852007/06/06 23:02:0117B / 39B / 15B
2ySas1400.86002007/04/11 22:06:0243B / 58B / 38B

R _

RankUserSizeTimeDateStatistics
1poop1063.71692008/04/14 18:00:500B / 55B / 50B

Brainfuck _

RankUserSizeTimeDateStatistics
1mitchs (cheat)1040.07832015/10/04 16:57:2525B / 20B / 54B
2nuko(cheat)1920.04382008/01/31 05:20:423B / ?B / ?B

Befunge _

RankUserSizeTimeDateStatistics
1ySas1200.04852007/02/26 17:48:480B / ?B / ?B
2ySas(cheatless)1230.02272007/02/24 15:45:290B / 43B / 65B

GolfScript _

RankUserSizeTimeDateStatistics
1twobit560.08102012/06/01 06:49:430B / 42B / 9B
2tails570.08852012/03/02 02:46:120B / 39B / 13B
3clock570.12182012/05/13 23:54:290B / 34B / 20B
4flagitious610.41932007/12/15 14:58:050B / 42B / 15B
5leonid610.17962010/12/03 05:38:400B / 27B / 30B

Burlesque _

RankUserSizeTimeDateStatistics
1clock710.03962012/09/20 15:30:250B / 47B / 19B

z80 _

RankUserSizeTimeDateStatistics
1kodera(embed)650.03122007/12/24 01:53:2649B / 12B / 3B
2ySas(embed)690.03972007/12/19 23:58:4057B / 8B / 3B

Vim _

RankUserSizeTimeDateStatistics
1clock690.08502012/01/02 20:26:081B / 37B / 27B
2nn760.08562012/01/02 15:35:327B / 40B / 19B
3doug870.11082010/07/26 06:41:011B / 54B / 24B
4eban1510.37832008/01/28 19:22:4432B / 93B / 25B

goruby _

RankUserSizeTimeDateStatistics
1murky-satyr640.08212009/12/29 12:53:400B / 41B / 18B
2leonid650.17812010/12/03 05:23:510B / 34B / 30B

Groovy _

RankUserSizeTimeDateStatistics
1murky-satyr943.38262009/12/16 07:47:220B / 64B / 26B
2nn979.40992009/04/15 16:49:430B / 62B / 32B

Scala _

RankUserSizeTimeDateStatistics
1pooq9910.68012011/02/20 15:08:560B / 65B / 30B
2tarhashi24016.32662012/06/14 19:04:080B / ?B / ?B
327914.32262012/06/14 00:35:280B / ?B / ?B

Logo _

RankUserSizeTimeDateStatistics
1pooq760.00382011/03/22 19:48:010B / 59B / 8B
2clock760.03342013/01/26 17:53:230B / 59B / 8B

Language Ranking_

RankLangUserSizeScore
1Ktwobit4710000
2GolfScripttwobit568392
3gorubymurky-satyr647343
4z80kodera(embed)657230
5Rubyleonid686911
6JI., S.(embed)686911
7Perltails696811
8Vimclock696811
9Burlesqueclock716619
10PostscriptySas(embed)736438
11Logopooq766184
12PARI/GPteebee776103
13wakeclock786025
14dctails795949
15sedclock795949
16Arcmurky-satyr825731
17Pythonleonid825731
18AWKnn835662
19PHPo-cn845595
20JavaScriptmurky-satyr865465
21Cyanmurky-satyr905222
22Octavepooq925108
23Ckurimura935053
24Groovymurky-satyr945000
25BASIC*yuko*945000
26Smalltalkclock974845
27Iomurky-satyr984795
28Scalapooq994747
29Iconclock994747
30Haskellhenkma1004700
31Maximaclock1014653
32Schemema(embed)1024607
33REBOLclock1034563
34Tclclock1044519
35Brainfuckmitchs (cheat)1044519
36Xtalpooq1054476
37Rpoop1064433
38Luaclock1064433
39Common LISPkozima(embed)1084351
40OCamlm.ukai(embed)1104272
41REXXpooq1134159
42BefungeySas1203916
43Asymptotepooq1213884
44Pascal*yuko*1233821
45Currypooq1283671
46Basheban1383405
47Prologmskzzzz1453241
48Mindpoop1782640
49Adayt2112227
50COBOL*yuko*2202136

Referer

Note that, they may contain spoilers.

return top