flipped chessboard

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

pick a square on the chessboard, then rotate the board 180 around its midpoint. what square is it now?

Options

exec is denied

rejudge feature is enabled

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

Sample input:_

h6
c7
f6
g4
a2
g8
f8
d5
e1
h4
e3
b5
f4
f2
a5
c8
b4
b6
b1
a1
d4
e7
g6
g3
e2
e8
e5
d7
d2
b2
d3
a7
f1
h7
g5
h8
h1
f7
d1
f5
g7
c2
b7
e4
a4
d8
c6
g2
b8
f3

Sample output:

a3
f2
c3
b5
h7
b1
c1
e4
d8
a5
d6
g4
c5
c7
h4
f1
g5
g3
g8
h8
e5
d2
b3
b6
d7
d1
d4
e2
e7
g7
e6
h2
c8
a2
b4
a1
a8
c2
e8
c4
b2
f7
g2
d5
h5
e1
f3
b7
g1
c6

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1rotary-o260.02332024/07/11 00:32:392B / 14B / 9B
2Sisyphus300.01102024/07/07 17:52:400B / 18B / 11B

Ruby2 _

RankUserSizeTimeDateStatistics
1Sisyphus310.05622024/07/07 19:48:220B / 14B / 16B
2rotary-o310.05552024/07/13 00:16:580B / 18B / 12B
3x670.05692024/07/12 10:12:100B / 48B / 18B

Perl _

RankUserSizeTimeDateStatistics
1teebee240.01482024/07/10 05:52:272B / 13B / 8B
2Sisyphus240.01532024/07/10 12:58:251B / 14B / 8B
3tails240.01532024/07/10 15:28:282B / 13B / 8B
4fuzzylojik250.01502024/07/10 01:07:200B / 12B / 12B
5teebee (alnum)560.02272024/07/06 16:05:380B / 53B / 0B
6tails (alnum)560.01512024/07/07 15:38:510B / 53B / 0B
7fuzzylojik(alnum)560.01522024/07/10 00:06:150B / 53B / 0B

Python3 _

RankUserSizeTimeDateStatistics
1xnor520.05272024/07/06 18:03:130B / 28B / 21B
2orthoplex520.04972024/07/07 07:23:490B / 28B / 21B
3mrapricot530.15342024/07/05 21:31:000B / 29B / 21B
4Steffan530.04792024/07/06 05:47:210B / 28B / 22B
5fuzzylojik530.07592024/07/13 00:42:220B / 35B / 18B
6lelbal850.04842024/07/17 14:39:570B / ?B / ?B
7lelbal660.05202024/08/02 20:55:550B / ?B / ?B

JavaScript _

RankUserSizeTimeDateStatistics
1rucin93590.02172024/07/09 20:49:300B / ?B / ?B
2ovs590.02202024/07/09 22:09:040B / 41B / 18B
3fuzzylojik590.02152024/07/10 01:23:590B / 41B / 18B
4sean590.02172024/07/10 13:49:250B / 43B / 16B
5teebee590.02092024/07/11 04:52:290B / 41B / 18B
6fagn610.06232024/07/09 18:41:560B / ?B / ?B
7Steffan630.02132024/07/06 05:43:430B / 39B / 24B
8voytxt630.02112024/07/10 02:01:480B / 40B / 23B
9KrausRaus640.02262024/07/06 04:59:060B / 39B / 25B
10damn700.02162024/07/09 20:43:310B / ?B / ?B
11fuzzylojik570.02472024/07/20 04:07:030B / 41B / 16B

Perl6 _

RankUserSizeTimeDateStatistics
1Fleur330.56482024/07/11 10:37:060B / 25B / 5B

Atlas _

RankUserSizeTimeDateStatistics
1tails50.12512024/07/05 17:40:391B / 1B / 3B

C _

RankUserSizeTimeDateStatistics
1tails390.01352024/07/07 16:27:551B / 20B / 18B
2rotary-o390.01372024/07/07 16:28:431B / 20B / 18B
3fuzzylojik390.01362024/07/10 02:13:091B / 20B / 18B
4Sisyphus440.01372024/07/10 16:33:120B / 27B / 17B
5sean580.01432024/07/06 01:23:500B / 30B / 28B

Haskell _

RankUserSizeTimeDateStatistics
1lynn580.01952024/07/05 23:17:560B / 45B / 11B
2xnor580.01022024/07/09 12:45:010B / 42B / 16B
3stackofbears630.02032024/07/14 03:54:410B / ?B / ?B

Java _

RankUserSizeTimeDateStatistics
1rotary-o1020.17702024/07/14 11:06:230B / 64B / 34B

C# _

RankUserSizeTimeDateStatistics
1rotary-o1040.04992024/07/06 01:40:270B / 73B / 27B
2fuzzylojik1150.05242024/07/10 02:45:140B / 77B / 33B

AWK _

RankUserSizeTimeDateStatistics
1Fleur430.01542024/07/11 09:34:090B / 23B / 20B

sed _

RankUserSizeTimeDateStatistics
1tails360.01412024/07/05 22:23:550B / 33B / 3B
2rotary-o360.01452024/07/05 23:59:210B / 33B / 3B
3teebee360.01402024/07/06 04:03:480B / 33B / 3B
4Steffan360.01402024/07/06 04:25:350B / 33B / 3B
5McBusLuck360.01432024/07/06 06:24:170B / 33B / 3B
6fuzzylojik360.01452024/07/06 07:06:090B / 33B / 3B

Bash _

RankUserSizeTimeDateStatistics
1tails (gs2)190.06322024/07/08 14:07:115B / 7B / 5B
2tails250.00642024/07/08 13:57:550B / 21B / 2B
3Steffan260.00742024/07/06 04:26:250B / 22B / 2B
4fuzzylojik260.00552024/07/06 07:28:040B / 22B / 2B
5McBusLuck260.00562024/07/06 18:08:030B / 22B / 2B
6Fleur260.00542024/07/09 08:32:450B / 22B / 2B
7fuzzylojik(alnum)360.00562024/07/06 07:08:290B / 34B / 0B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1tails440.06002024/07/05 22:15:070B / 16B / 23B
2McBusLuck460.02292024/07/10 02:30:050B / 21B / 20B

Zsh _

RankUserSizeTimeDateStatistics
1McBusLuck260.03052024/07/06 18:08:200B / 22B / 2B

Fish _

RankUserSizeTimeDateStatistics
1McBusLuck260.03112024/07/06 18:08:380B / 22B / 2B

make _

RankUserSizeTimeDateStatistics
1tails1610.01062024/07/08 09:30:120B / 81B / 56B

Whitespace _

RankUserSizeTimeDateStatistics
1%20710.05352024/07/15 05:06:410B / 0B / 0B
2rotary-o750.02002024/07/11 23:44:490B / 0B / 0B

GolfScript _

RankUserSizeTimeDateStatistics
1tails110.02412024/07/08 12:19:560B / 2B / 9B
2Sisyphus120.02412024/07/08 09:06:460B / 1B / 11B

gs2 _

RankUserSizeTimeDateStatistics
1tails60.06852024/07/08 12:08:432B / 2B / 2B
2whio60.06952024/07/10 01:46:282B / 2B / 2B

Nibbles _

RankUserSizeTimeDateStatistics
1tails50.01892024/07/05 16:56:295B / 0B / 0B

Lazy-K _

RankUserSizeTimeDateStatistics
1tails2850.31372024/07/07 17:11:530B / 151B / 134B

Universal Lambda _

RankUserSizeTimeDateStatistics
1tails280.13112024/07/07 16:56:5018B / 5B / 5B

z80 _

RankUserSizeTimeDateStatistics
1tails130.07102024/07/07 15:22:2510B / 3B / 0B
2McBusLuck140.06922024/07/06 18:21:518B / 2B / 3B

Scala _

RankUserSizeTimeDateStatistics
1rotary-o505.17812024/07/11 01:07:290B / 33B / 17B

Logo _

RankUserSizeTimeDateStatistics
1teebee440.01592024/07/06 17:02:080B / 34B / 4B

Language Ranking_

RankLangUserSizeScore
1Nibblestails510000
2Atlastails510000
3gs2tails68333
4GolfScripttails114545
5z80tails133846
6Bashtails (gs2)192631
7Perlteebee242083
8ZshMcBusLuck261923
9FishMcBusLuck261923
10Rubyrotary-o261923
11Universal Lambdatails281785
12Ruby2Sisyphus311612
13Perl6Fleur331515
14sedtails361388
15Ctails391282
16AWKFleur431162
17Bash (builtins)tails441136
18Logoteebee441136
19Scalarotary-o501000
20Python3xnor52961
21JavaScriptfuzzylojik57877
22Haskelllynn58862
23Whitespace%2071704
24Javarotary-o102490
25C#rotary-o104480
26maketails161310
27Lazy-Ktails285175

return to the top page