MRMCD12 write squared
Submit
Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.
Problem
https://frab.mrmcd.net/mrmcd12/public/events/44
Print the input as a square. Start from the left, go down, then backwards to the right and up again. The space between the borders of the square must be filled with spaces. If the word does not evenly fit in a square format, use the next bigger square and fill up with spaces at the end.
Options
exec is denied
now post-mortem time, all source codes will be revealed
Sample input:_
Chaos Computer Club
Sample output:
Chaos
C
b o
u m
l p
C retu
Sample input:_
bellybuttons
Sample output:
bell
s y
n b
ottu
Sample input:_
The Game
Sample output:
The
e
maG
Ranking
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 107 | 0.0342 | 2012/09/09 10:01:10 | 0B / 48B / 53B |
2 | maufl | 135 | 0.0393 | 2012/09/09 09:12:39 | 0B / 74B / 52B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | Merovius | 100 | 0.0346 | 2012/09/09 00:16:50 | 0B / 49B / 16B |
2 | z-cheated | 116 | 0.0363 | 2012/09/08 21:38:50 | 0B / ?B / ?B |
3 | z | 138 | 0.0328 | 2012/09/08 20:42:14 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | hallvabo | 104 | 0.0647 | 2012/09/10 05:04:44 | 0B / 50B / 24B |
2 | clock | 116 | 0.0655 | 2012/09/10 12:33:44 | 0B / 58B / 49B |
3 | samohT | 125 | 0.1126 | 2012/09/09 07:59:34 | 0B / 64B / 47B |
4 | ch3ka | 175 | 0.0537 | 2012/09/08 22:43:48 | 6B / 91B / 57B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | BenBE | 302 | 0.1474 | 2012/09/08 07:32:36 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | pooq | 109 | 0.2127 | 2013/05/04 11:23:22 | 0B / 59B / 14B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | pooq | 115 | 0.0354 | 2013/03/02 15:31:57 | 0B / 61B / 29B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | pooq | 114 | 0.0333 | 2013/06/10 17:36:35 | 0B / 57B / 15B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | I., S. | 69 | 0.0938 | 2012/09/08 07:09:48 | 0B / 17B / 51B |
2 | I., S. | 68 | 0.0723 | 2012/10/06 18:25:22 | 0B / 17B / 50B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | Merovius | 125 | 0.0327 | 2012/09/09 20:08:13 | 0B / 67B / 33B |
2 | archi(cheated) | 146 | 0.0318 | 2012/09/10 19:28:36 | 0B / 79B / 40B |
3 | krisha&architekt | 155 | 0.0323 | 2012/09/11 01:08:21 | 0B / 80B / 74B |
4 | cheatOo | 158 | 0.0492 | 2012/09/10 16:05:05 | 0B / 79B / 52B |
5 | krisha | 161 | 0.0350 | 2012/09/10 16:21:16 | 0B / 80B / 80B |
6 | Ro0mquy | 178 | 0.0344 | 2012/09/08 04:34:15 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | henkma | 121 | 0.0508 | 2012/09/09 20:51:48 | 0B / 69B / 27B |
2 | the_nihilant | 128 | 0.0380 | 2012/09/08 21:31:02 | 0B / ?B / ?B |
3 | nomeata | 210 | 0.0332 | 2012/09/08 22:30:23 | 9B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | pooq | 97 | 0.5306 | 2012/10/26 21:21:07 | 0B / 47B / 15B |
Language Ranking_
Rank | Lang | User | Size | Score |
1 | J | I., S. | 68 | 10000 |
2 | R | pooq | 97 | 7010 |
3 | Perl | Merovius | 100 | 6800 |
4 | Python | hallvabo | 104 | 6538 |
5 | sed | Merovius | 106 | 6415 |
6 | Ruby | clock | 107 | 6355 |
7 | Io | pooq | 109 | 6238 |
8 | BASIC | pooq | 114 | 5964 |
9 | PARI/GP | pooq | 115 | 5913 |
10 | OCaml | m.ukai | 119 | 5714 |
11 | Bash | Merovius | 120 | 5666 |
12 | Haskell | henkma | 121 | 5619 |
13 | C | Merovius | 125 | 5440 |
14 | D | macik (embed) | 148 | 4594 |
15 | PHP | BenBE | 302 | 2251 |
return to the top page