rad math

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

Your radiator valve is labeled 0*12345 and it's currently set to 0.
Output what values it will be set to when you perform the steps in the input sequence.
If a step is impossible, your radiator will break :(

Options

exec is denied

rejudge feature is enabled

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

Sample input:_

++++++-------++

Sample output:

*123454321*0

Sample input:_

++-++-++++--++-+-+-+--+-+-++----++-+-+--++-+--+---+++--++-++--++--+---++++--+--+-+-+--++-+-+--++++-++-++-+----+-+---++--+++-++++--++----++-+++--++-+-+--+--+-++-+--++--++---+++-+-+-+---+++--+-+-+++-+---++--+++-+-----+--++-+-++-+-+---++++-++-++---+++-+--++---+++-+-+--+-++-+-+-+-+-+-+-+---+-++--+----++-++---+-+-+-++-+++-+++-+-+-----++---+-++++++-+-+-+-+---+-++-++-----+-++++-----+-+-+-++-++++---++-++-----+++---++-+--+++-+++-+--++-++-+-+---+---++--+--+-+-++++++--++-----++--++-+--+-+--++-+--++-++-+--+

Sample output:

*1*121234543454545454343434543212323232123232121*0*121*1212321232121*0*1232121*1*1*1*0*1*1*1*0*1232343454543212121*0*1*0*121234543454321232345434545454343232343432343234321234343434321234323232345454323432345454321*1*0*1*1*1212121*0*123234345432345454345432345454543434545454545454545432323432321*0*1*121*0*0*0*0*1*123234545454321*121*0*0*123454545454543232343454321*1*1234321*0*0*0*0*1*123432123234321*0*121*0*1*1*0*1212343432343454545432321*121*1*0*0*0*1234543454321*121*12121*1*1*0*1*1*0*1*12121*1

Sample input:_

++-++-++++--++-+-+-+--+-+-++----++-+-+--++-+--+---+++--++-++--++--+---++++--+--+-+-+--++-+-+--++++-++-++-+----+-+---++--+++-++++--++----++-+++--++-+-+--+--+-++-+--++--++---+++-+-+-+---+++--+-+-+++-+---++--+++-+-----+--++-+-++-+-+---++++-++-++---+++-+--++---+++-+-+--+-++-+-+-+-+-+-+-+---+-++--+----++-++---+-+-+-++-++++-+++-+-+-----++---+-++++++-+-+-+-+---+-++-++-----+-++++-----+-+-+-++-++++---++-++-----+++---++-+--+++-+++-+--++-++-+-+---+---++--+--+-+-++++++--++-----++--++-+--+-+--++-+--++-++-+--+

Sample output:

*1*121234543454545454343434543212323232123232121*0*121*1212321232121*0*1232121*1*1*1*0*1*1*1*0*1232343454543212121*0*1*0*121234543454321232345434545454343232343432343234321234343434321234323232345454323432345454321*1*0*1*1*1212121*0*123234345432345454345432345454543434545454545454545432323432321*0*1*121*0*0*0*0*1*1234345

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1rotary-o320.04162023/01/10 21:28:260B / 19B / 12B
2Dingledooper320.04152023/01/13 08:10:580B / 19B / 12B
3Sisyphus350.05262023/01/09 09:50:000B / 20B / 15B
4Andriamanitra440.04232023/01/16 11:49:500B / 26B / 18B

Ruby2 _

RankUserSizeTimeDateStatistics
1Sisyphus370.17012023/01/09 09:50:150B / 19B / 18B
2rotary-o370.18652023/01/09 13:37:520B / 19B / 18B
3Andriamanitra490.16862023/01/16 12:07:380B / 22B / 27B
44hg600.16782023/01/16 09:34:330B / 23B / 37B

Perl _

RankUserSizeTimeDateStatistics
1Sisyphus430.04592023/01/08 19:35:091B / 13B / 29B
2tails450.04562023/01/08 14:37:040B / 17B / 26B
3Hydrazer540.04592023/01/09 09:03:260B / 20B / 32B

Python3 _

RankUserSizeTimeDateStatistics
1Dingledooper560.13802023/01/13 08:03:500B / 34B / 18B
2xnor560.16012023/01/13 15:55:020B / 34B / 18B
3Sisyphus570.13842023/01/13 08:40:510B / 35B / 18B
4Andriamanitra590.13952023/01/16 08:51:220B / 36B / 19B
5Steffan590.20192023/01/17 03:34:130B / 36B / 19B
6anter69730.13712023/01/13 04:58:040B / 35B / 36B
7anter69630.13832023/01/23 20:42:200B / 33B / 28B

JavaScript _

RankUserSizeTimeDateStatistics
1ZED.CWT560.06792023/01/09 01:13:170B / 33B / 21B
2Irratix560.06772023/01/09 08:37:150B / 34B / 20B
3teebee560.06692023/01/11 10:38:020B / 35B / 18B
4Sisyphus580.06802023/01/09 08:05:230B / 36B / 19B
5Dingledooper580.06672023/01/09 09:48:440B / 36B / 19B
6KrausRaus670.07092023/01/09 16:23:490B / 38B / 27B
7_700.06762023/01/09 21:15:110B / ?B / ?B

Crystal _

RankUserSizeTimeDateStatistics
1DestyNova490.04752023/01/17 02:26:520B / 32B / 16B
2Sisyphus500.04792023/01/16 13:33:560B / 32B / 16B
3Andriamanitra520.03592023/01/16 08:59:290B / 32B / 19B

Perl6 _

RankUserSizeTimeDateStatistics
1Fleur451.89782023/01/12 12:40:250B / 28B / 15B

Atlas _

RankUserSizeTimeDateStatistics
1tails260.37482023/01/13 17:16:350B / 11B / 14B
2youz280.35872023/01/13 16:05:040B / 12B / 15B

C _

RankUserSizeTimeDateStatistics
1rotary-o530.04192023/01/08 15:37:100B / 31B / 22B
2tails530.04132023/01/08 16:35:300B / 31B / 22B

Java _

RankUserSizeTimeDateStatistics
1rotary-o1080.17702023/01/08 15:27:220B / 69B / 35B
2teebee1080.18202023/01/11 21:07:140B / 69B / 35B

C# _

RankUserSizeTimeDateStatistics
1rotary-o1010.14312023/01/08 23:20:360B / 67B / 29B

AWK _

RankUserSizeTimeDateStatistics
1Fleur560.04202023/01/12 16:56:140B / 20B / 35B

sed _

RankUserSizeTimeDateStatistics
1tails480.04602023/01/10 00:18:330B / 16B / 29B
2McBusLuck1080.60362023/01/14 02:59:380B / 30B / 72B

Bash _

RankUserSizeTimeDateStatistics
1Fleur400.03312023/01/09 17:05:370B / 21B / 15B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1tails521.49622023/01/09 02:51:170B / 24B / 20B
2McBusLuck560.21952023/01/21 20:08:000B / 26B / 26B

R _

RankUserSizeTimeDateStatistics
1ludo770.38982023/01/22 00:52:480B / 44B / 32B

Whitespace _

RankUserSizeTimeDateStatistics
1rotary-o1250.04222023/01/08 16:27:370B / 0B / 0B

GolfScript _

RankUserSizeTimeDateStatistics
1tails250.09802023/01/09 08:43:230B / 12B / 12B

gs2 _

RankUserSizeTimeDateStatistics
1whio190.22082023/01/21 07:24:267B / 6B / 6B
2tails200.36962023/01/17 10:27:366B / 9B / 4B

Nibbles _

RankUserSizeTimeDateStatistics
1tails150.06752023/01/08 17:21:068B / 5B / 2B

Lazy-K _

RankUserSizeTimeDateStatistics
1tails3980.32552023/01/08 15:11:040B / 216B / 182B

z80 _

RankUserSizeTimeDateStatistics
1tails230.33622023/01/14 21:54:0410B / 8B / 4B
2McBusLuck280.34212023/01/14 03:52:2414B / 9B / 2B

Scala _

RankUserSizeTimeDateStatistics
1rotary-o497.41352023/01/10 21:59:180B / 27B / 21B

Language Ranking_

RankLangUserSizeScore
1Nibblestails1510000
2gs2whio197894
3z80tails236521
4GolfScripttails256000
5Atlastails265769
6Rubyrotary-o324687
7Ruby2Sisyphus374054
8BashFleur403750
9PerlSisyphus433488
10Perl6Fleur453333
11sedtails483125
12Scalarotary-o493061
13CrystalDestyNova493061
14Bash (builtins)tails522884
15Crotary-o532830
16JavaScriptZED.CWT562678
17AWKFleur562678
18Python3Dingledooper562678
19Rludo771948
20C#rotary-o1011485
21Javarotary-o1081388
22Whitespacerotary-o1251200
23Lazy-Ktails398376

return to the top page