ascii diagonal

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

Output the diagonal of a given matrix of ASCII characters.

Options

exec is denied

now post-mortem time, all source codes will be revealed

Sample input:_

27yqHBT
GvmDcbE
LHfRD8h
tZ4ZBrP
1y2rg0U
MfIo7aD
M3wXVFE

Sample output:

2vfZgaE

Sample input:_

Z7erGiX2M2wXQ9
C4x7hMYZx7XDfa
Ef55WflP5E5OQS
VfowI0yWJ7zs0A
hTDYG3q9oliSUV
ZetdTNmLNPZu1b
q3MfQUIHxaXdBO
g33txBmdSQl5Hu
RLTAsIrUnzeX7R
kClonT3vGgYtCI
ThlBHJ6p35S7yI
Uwl4FgMqAJbGNl
AhdoppUZHHbz8T
67f1Orj6PJAZ3D

Sample output:

Z45wGNIdngSG8D

Sample input:_

v70YH7wweaxCR2v4AxiN5
lpbGgmvsMUzjna7pc300J
jBmLm1D3yRykymSeJaQ0u
xBJh8YPgSSX1bVkuSud4a
ipRJKjaxK4zzZrMkkM3W2
OQ6144bYPaJIx3EDoDqm3
mjeYOsusosXBpGKM2TTV9
VWtspeirlmQnXr5VJRc2X
TuXcJHJMnwOMy2eM3hCV6
kltdIYiUir1KT7KcOV0tY
jETFVMQJJ9ZsAfAIvW4Bg
quvW6CjlUSgvTuSD6hGzw
yfX92BgtHsjSaBGN4hPk7
wXhFf67pGIpqjV98akDnR
8t4LxBaxSYEB4KDaWhm4V
PmxOn11x0qp23ekoMifNt
K1v7Z5SDUB1hPnW56T4Ey
KDqUhnw1Uh8FAlA71tqdS
LfWOGNGCG1b70vZGtfIcP
oIQUMaymfBEgpbWNxhHVz
es95hduampjBY5PD7sbKy

Sample output:

vpmhK4urnrZvaVDo6tIVy

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1leonid210.04742014/09/16 08:15:100B / 13B / 7B
2teebee210.04062014/09/16 11:27:330B / 13B / 7B
3Histocrat210.03852014/09/16 23:06:490B / 13B / 7B
4jpl210.03652014/09/22 23:54:280B / ?B / ?B
5nooodl220.03182014/09/29 03:19:250B / ?B / ?B

Perl _

RankUserSizeTimeDateStatistics
1teebee230.04452014/09/16 10:06:400B / 9B / 12B
2corruptio230.03282014/09/16 20:28:450B / 10B / 13B
3brx230.03292014/09/17 00:29:000B / 10B / 13B
4jonathan camacho230.03282014/09/17 17:20:090B / ?B / ?B
5tails230.03432014/09/21 21:23:120B / 10B / 13B
6Phocine_Panacea260.03562014/09/24 12:04:240B / ?B / ?B
7BioFALSE270.03242014/09/18 06:34:570B / 16B / 11B
8mute280.03482014/09/27 19:08:210B / 16B / 9B
9jamesaxl460.03282014/09/21 00:10:320B / ?B / ?B

Python _

RankUserSizeTimeDateStatistics
1teebee390.10232014/09/16 10:28:130B / 22B / 14B
2xsot390.11532014/09/16 13:39:120B / 22B / 14B
3corruptio390.10362014/09/16 21:01:300B / 22B / 15B
4rolf390.09452014/09/17 02:46:500B / 22B / 14B
5leonid390.09892014/09/18 04:17:520B / 22B / 15B
6twobit390.10332014/09/24 22:46:350B / 22B / 15B
7nooodl390.08272014/09/29 03:12:460B / ?B / ?B
8recursive390.07912014/09/30 01:50:020B / 22B / 14B
9hallvabo (luck)430.09382014/09/16 08:46:420B / ?B / ?B
10hallvabo500.09662014/09/16 08:40:570B / 22B / 27B
11croyal640.09072014/09/24 03:44:513B / ?B / ?B
12test740.13262014/09/28 12:15:430B / 44B / 18B
13xnor390.08572015/06/14 13:11:190B / ?B / ?B

PHP _

RankUserSizeTimeDateStatistics
1teebee370.06672014/09/16 11:22:500B / 20B / 17B

Io _

RankUserSizeTimeDateStatistics
1teebee540.24352014/09/20 11:05:250B / 42B / 10B

JavaScript _

RankUserSizeTimeDateStatistics
1madshall330.04892014/09/18 03:02:080B / 20B / 13B
2teebee330.04512014/09/18 03:09:000B / 20B / 13B

Lua _

RankUserSizeTimeDateStatistics
1teebee450.03302014/09/16 11:19:000B / 30B / 12B
2AndoDaan450.03292014/09/20 11:15:180B / 30B / 12B
3twobit450.03272014/09/24 22:50:330B / 30B / 12B
4Hendrik450.03592014/09/25 08:27:580B / 30B / 12B

Xtal _

RankUserSizeTimeDateStatistics
1teebee590.05072014/09/20 10:44:140B / 34B / 24B

REXX _

RankUserSizeTimeDateStatistics
1teebee470.03772014/09/16 11:15:330B / 30B / 16B

BASIC _

RankUserSizeTimeDateStatistics
1teebee450.03562014/09/16 10:46:030B / 29B / 13B

J _

RankUserSizeTimeDateStatistics
1pooq230.07652014/09/20 00:20:470B / 9B / 12B
2medialuna330.06812014/09/18 17:10:230B / 11B / 21B

K _

RankUserSizeTimeDateStatistics
1twobit130.03632014/09/24 22:52:020B / 4B / 9B
2teebee130.03232014/09/25 02:10:040B / 4B / 9B

Jelly _

RankUserSizeTimeDateStatistics
1Erik the Outgolfer50.56102021/04/22 09:33:195B / 0B / 0B

C _

RankUserSizeTimeDateStatistics
1nu410.51042014/09/17 03:18:090B / 23B / 18B
2teebee420.03422014/09/16 10:36:120B / 23B / 19B
30mg420.03442014/09/23 15:31:510B / 23B / 19B
4lpha420.02382014/09/27 01:29:310B / 23B / 19B
5pandamonium430.03432014/09/16 21:24:060B / 24B / 19B
6twobit430.03412014/09/25 01:01:260B / 24B / 19B
7inaniwa430.03422014/09/29 09:29:380B / 23B / 19B
8corruptio510.03212014/09/16 21:54:050B / 31B / 19B
9chocobi510.03242014/09/16 23:15:560B / 29B / 21B
10_520.03172014/09/26 15:00:450B / 28B / 24B
11yukim520.03212014/09/26 15:01:060B / 28B / 24B

Haskell _

RankUserSizeTimeDateStatistics
1henkma400.03412014/09/16 20:39:090B / ?B / ?B

Java _

RankUserSizeTimeDateStatistics
1teebee1180.24812014/09/26 06:06:400B / 78B / 34B
2croyal4870.18952014/09/26 05:46:2717B / ?B / ?B

Asymptote _

RankUserSizeTimeDateStatistics
1teebee490.59042014/09/16 11:01:140B / 32B / 15B
2chocobi550.27202014/09/17 17:56:040B / 38B / 15B

AWK _

RankUserSizeTimeDateStatistics
1teebee210.03142014/09/16 11:04:460B / 11B / 10B
2llhuii210.03172014/09/16 22:12:510B / 10B / 11B
3mute250.03572014/09/28 12:07:070B / 15B / 9B

Bash _

RankUserSizeTimeDateStatistics
1mute330.02502014/09/27 18:58:160B / 19B / 10B

xgawk _

RankUserSizeTimeDateStatistics
1teebee210.05822014/09/16 11:05:360B / 11B / 10B
2llhuii210.03262014/09/16 22:13:200B / 15B / 6B

R _

RankUserSizeTimeDateStatistics
1teebee460.41902014/09/26 09:12:100B / 26B / 20B
2NikNakk530.41952014/09/19 01:06:230B / ?B / ?B
3vlo620.44402014/10/01 03:52:030B / ?B / ?B

Brainfuck _

RankUserSizeTimeDateStatistics
1mitchs310.03262014/09/16 10:34:140B / 0B / 31B

Whitespace _

RankUserSizeTimeDateStatistics
1lpha930.03942014/09/27 21:57:230B / 0B / 0B
2%201120.05742014/09/28 07:43:340B / ?B / ?B

GolfScript _

RankUserSizeTimeDateStatistics
1whio60.05082014/09/19 08:05:200B / 1B / 5B
2nooodl60.05462014/09/19 08:14:560B / ?B / ?B
3tails60.06982014/09/22 23:58:220B / 2B / 4B
4twobit60.04982014/09/24 23:06:030B / 1B / 5B
5narb60.05082014/09/28 03:03:460B / 1B / 5B
6leonid70.05562014/09/16 08:17:170B / 1B / 6B

gs2 _

RankUserSizeTimeDateStatistics
1nooodl50.22962014/09/19 07:01:482B / ?B / ?B
2whio50.24832015/07/11 06:49:551B / 1B / 3B

FlogScript _

RankUserSizeTimeDateStatistics
1milieu60.10762014/09/17 14:17:200B / ?B / ?B

Burlesque _

RankUserSizeTimeDateStatistics
1mroman130.06392014/09/18 00:19:250B / 7B / 6B
2teebee130.03612014/09/18 03:06:470B / 7B / 6B
3mroman (alternative)130.04512014/09/18 04:02:270B / ?B / ?B
4Hendrik130.03782014/09/18 11:19:440B / 7B / 6B

z80 _

RankUserSizeTimeDateStatistics
1twobit220.05732014/09/27 06:14:5511B / ?B / ?B

Vim _

RankUserSizeTimeDateStatistics
1nooodl190.06492014/09/29 03:27:561B / ?B / ?B
2twobit200.05212014/09/27 05:41:461B / 18B / 1B
3udioica170.05342016/12/03 11:42:512B / ?B / ?B

Groovy _

RankUserSizeTimeDateStatistics
1teebee374.06182014/09/16 11:07:360B / 26B / 10B

Scala _

RankUserSizeTimeDateStatistics
1Hendrik358.30352014/09/30 04:09:080B / 23B / 10B
2teebee357.73482014/09/30 04:13:510B / 23B / 10B
3croyal968.72232014/09/30 01:41:264B / ?B / ?B

Logo _

RankUserSizeTimeDateStatistics
1teebee390.03552014/09/30 06:58:510B / 26B / 7B

Language Ranking_

RankLangUserSizeScore
1gs2nooodl510000
2JellyErik the Outgolfer510000
3FlogScriptmilieu68333
4GolfScriptwhio68333
5Burlesquemroman133846
6Ktwobit133846
7Vimudioica172941
8Rubyleonid212380
9AWKteebee212380
10xgawkteebee212380
11z80twobit222272
12Perlteebee232173
13Jpooq232173
14Brainfuckmitchs311612
15JavaScriptmadshall331515
16Bashmute331515
17ScalaHendrik351428
18Groovyteebee371351
19PHPteebee371351
20Pythonteebee391282
21Logoteebee391282
22Haskellhenkma401250
23Cnu411219
24BASICteebee451111
25Luateebee451111
26Rteebee461086
27REXXteebee471063
28Asymptoteteebee491020
29Ioteebee54925
30Xtalteebee59847
31Whitespacelpha93537
32Javateebee118423

return to the top page