Zigzag

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 zigzag patterns.

Options

exec is denied

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

Sample input:_

3 %

Sample output:

%   %   %
 % % % % %
  %   %   %

Sample input:_

5 $

Sample output:

$       $       $       $       $
 $     $ $     $ $     $ $     $ $
  $   $   $   $   $   $   $   $   $
   $ $     $ $     $ $     $ $     $
    $       $       $       $       $

Sample input:_

8 #

Sample output:

#             #             #             #             #             #             #             #
 #           # #           # #           # #           # #           # #           # #           # #
  #         #   #         #   #         #   #         #   #         #   #         #   #         #   #
   #       #     #       #     #       #     #       #     #       #     #       #     #       #     #
    #     #       #     #       #     #       #     #       #     #       #     #       #     #       #
     #   #         #   #         #   #         #   #         #   #         #   #         #   #         #
      # #           # #           # #           # #           # #           # #           # #           #
       #             #             #             #             #             #             #             #

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1yvl740.00372010/06/06 22:57:400B / 34B / 35B
2mendo860.01362010/06/18 20:16:240B / 44B / 38B
3shinh970.01442010/06/13 00:52:140B / 47B / 47B
4uru1520.02712010/06/17 21:19:250B / 67B / 79B

Perl _

RankUserSizeTimeDateStatistics
1tybalt89610.00282010/06/19 02:30:120B / ?B / ?B
2ySas640.00302010/06/06 22:40:250B / 24B / 38B
3shinh800.00262010/06/06 21:51:320B / 25B / 53B
4dcutter1360.00262010/06/15 22:03:200B / 40B / 94B

Python _

RankUserSizeTimeDateStatistics
1recursive920.07072010/06/11 13:09:010B / 41B / 44B
2hallvabo1100.07512010/06/06 23:55:520B / 62B / 38B
3croyal1760.06982010/06/08 05:30:120B / ?B / ?B
4recursive910.07462010/06/19 23:23:430B / 42B / 44B

PHP _

RankUserSizeTimeDateStatistics
1o-cn960.10362010/06/15 21:22:361B / 35B / 60B

Common LISP _

RankUserSizeTimeDateStatistics
1youz1370.14982010/06/07 18:16:310B / 62B / 60B
2quijote1450.16842010/06/06 17:53:261B / 73B / 58B

Arc _

RankUserSizeTimeDateStatistics
1youz1155.98622010/06/15 17:56:290B / 53B / 48B

JavaScript _

RankUserSizeTimeDateStatistics
1nn960.00652010/06/09 23:51:450B / 45B / 49B
2murky-satyr990.01112010/06/09 06:46:130B / 49B / 50B
3xulapp1030.00692010/06/08 02:51:340B / 50B / 52B
4nn930.00652010/06/21 10:12:070B / 46B / 46B
5_960.00632010/06/20 01:18:471B / ?B / ?B

J _

RankUserSizeTimeDateStatistics
1pooq870.08272010/06/18 14:43:150B / 34B / 51B
2pooq820.14322011/01/30 10:25:040B / 32B / 48B

C _

RankUserSizeTimeDateStatistics
1inaniwa930.00722010/06/08 09:06:390B / 47B / 46B
2not1070.00172010/06/19 12:15:250B / 49B / 58B
3nn1070.00152010/06/19 13:44:390B / 55B / 52B
4not(inaniwa)890.00062010/06/21 20:09:540B / 47B / 42B
5csanders1320.03202010/12/02 08:36:130B / 70B / 61B

OCaml _

RankUserSizeTimeDateStatistics
1m.ukai2900.15922010/10/12 19:24:120B / 144B / 101B

Haskell _

RankUserSizeTimeDateStatistics
1notogawa1110.00652010/06/10 23:41:140B / ?B / ?B
2tanakh1120.00292010/06/17 08:53:370B / 59B / 51B
3rst761150.01122010/06/13 00:30:520B / 60B / 49B
4rst761070.00672010/06/20 01:42:230B / 57B / 45B

Pascal _

RankUserSizeTimeDateStatistics
1uru2080.00262010/06/17 23:27:330B / 128B / 63B

AWK _

RankUserSizeTimeDateStatistics
1nn830.00322010/06/12 21:39:340B / 37B / 45B

GolfScript _

RankUserSizeTimeDateStatistics
1nn520.29402010/06/13 11:40:400B / 9B / 42B

gs2 _

RankUserSizeTimeDateStatistics
1mitchs250.24782015/05/13 15:01:4711B / 4B / 8B
2mitchs (nooodl)290.27032015/05/13 09:29:0211B / 6B / 9B
3mitchs (alt)290.35062015/05/13 23:20:0813B / 4B / 9B
4nooodl320.25192015/05/13 07:01:0812B / ?B / ?B

Vim _

RankUserSizeTimeDateStatistics
1nn610.14422010/06/12 22:30:494B / 44B / 11B

Groovy _

RankUserSizeTimeDateStatistics
1nn1076.34252010/06/13 00:31:080B / 57B / 44B
2murky-satyr1016.36722010/09/19 18:55:060B / 58B / 38B

Language Ranking_

RankLangUserSizeScore
1gs2mitchs2510000
2GolfScriptnn524807
3Vimnn614098
4Perltybalt89614098
5Rubyyvl743378
6Jpooq823048
7AWKnn833012
8Cnot(inaniwa)892808
9Pythonrecursive912747
10JavaScriptnn932688
11PHPo-cn962604
12Groovymurky-satyr1012475
13Haskellrst761072336
14Arcyouz1152173
15Common LISPyouz1371824
16Pascaluru2081201
17OCamlm.ukai290862

return top