Accumulate Value in Reverse

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

Accumulate value starting from the last element

Options

exec is denied

rejudge feature is enabled

1day(s) and 17:16:25 before deadline (05/24 09:51:12 JST), all source codes will be revealed after the deadline

Sample input:_

1
2
3
4
5

Sample output:

5
9
12
14
15

Sample input:_

16
5
20
7
10
1
8
2
7
8
9
13
22
17
25
8
16
12
21
1
21
6
7
2
16

Sample output:

16
18
25
31
52
53
74
86
102
110
135
152
174
187
196
204
211
213
221
222
232
239
259
264
280

Sample input:_

6
24
23
0
1
24
13
2
17
17
3
7
24
23
18
21
0
18
3
7
21
5
8
18
10
24
1
24
23
10
20
3
14
5
8
1
22
17
21
17
23
25
3
1
3
6
13
21
15
2

Sample output:

2
17
38
51
57
60
61
64
89
112
129
150
167
189
190
198
203
217
220
240
250
273
297
298
322
332
350
358
363
384
391
394
412
412
433
451
474
498
505
508
525
542
544
557
581
582
582
605
629
635

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1Dingledooper320.05312022/05/10 14:34:370B / 17B / 12B
2rotary-o320.05632022/05/11 22:31:070B / 17B / 13B

Ruby2 _

RankUserSizeTimeDateStatistics
1Sisyphus190.18212022/05/10 14:39:500B / 6B / 10B
2Dingledooper190.18032022/05/10 14:43:000B / 6B / 11B
3rotary-o190.20882022/05/12 21:04:510B / 6B / 10B
4lynn190.17462022/05/13 20:33:060B / 6B / 11B
5Histocrat330.17932022/05/10 22:47:100B / 12B / 18B

Perl _

RankUserSizeTimeDateStatistics
1Sisyphus270.05572022/05/10 14:36:520B / 16B / 10B
2Dingledooper270.04502022/05/10 14:38:360B / 16B / 10B
3tails270.04492022/05/10 14:59:360B / 16B / 10B
4teebee270.04442022/05/11 01:13:340B / 16B / 10B
5Hydrazer270.07402022/05/22 07:05:280B / 16B / 10B

Python _

RankUserSizeTimeDateStatistics
1Sisyphus580.10522022/05/10 10:15:280B / 31B / 22B
2Dingledooper580.09722022/05/10 14:30:440B / 31B / 22B
3hallvabo580.09212022/05/10 15:56:140B / 31B / 22B
4xnor580.09242022/05/13 06:34:570B / 31B / 22B

Python3 _

RankUserSizeTimeDateStatistics
1Dingledooper510.23702022/05/10 14:32:330B / 27B / 19B
2Sisyphus510.14002022/05/10 14:36:180B / 27B / 19B
3hallvabo510.14592022/05/10 16:05:570B / 25B / 21B
4orthoplex510.16192022/05/11 14:56:400B / 29B / 18B
5xnor510.13502022/05/13 12:07:510B / 29B / 18B

JavaScript _

RankUserSizeTimeDateStatistics
1Irratix490.06222022/05/12 15:46:450B / 28B / 19B
2KrausRaus620.06202022/05/12 14:57:460B / 31B / 30B
3emplv630.06022022/05/11 17:25:020B / 34B / 28B
4Bedstorm740.06012022/05/13 07:23:270B / ?B / ?B

SNOBOL _

RankUserSizeTimeDateStatistics
1teebee690.04762022/05/15 00:08:030B / 31B / 22B

Perl6 _

RankUserSizeTimeDateStatistics
1Fleur271.74832022/05/10 11:05:520B / 18B / 6B
2teebee271.24762022/05/11 03:40:250B / 18B / 6B

K _

RankUserSizeTimeDateStatistics
1teebee120.04712022/05/11 03:55:210B / 3B / 9B
2Hendrik120.04362022/05/12 19:51:230B / 3B / 9B

C _

RankUserSizeTimeDateStatistics
1rotary-o550.04282022/05/22 09:26:210B / 27B / 28B
2chocobi620.04262022/05/21 22:39:120B / 30B / 32B

Haskell _

RankUserSizeTimeDateStatistics
1lynn620.04942022/05/13 20:35:080B / 49B / 11B
2xnor620.05442022/05/16 16:52:530B / 49B / 11B
3Sakisan630.05252022/05/13 17:08:250B / 51B / 10B
4Shanethegamer670.04762022/05/13 07:48:020B / 53B / 12B

Java _

RankUserSizeTimeDateStatistics
1rotary-o1590.19292022/05/11 23:08:510B / 102B / 51B

Octave _

RankUserSizeTimeDateStatistics
1Fleur410.43582022/05/11 08:19:090B / 26B / 15B
2teebee410.43422022/05/11 14:51:200B / 27B / 14B
3Hendrik410.43572022/05/11 20:55:390B / 27B / 14B

AWK _

RankUserSizeTimeDateStatistics
1teebee380.04252022/05/11 01:45:020B / 22B / 15B
2Fleur380.04562022/05/11 08:29:590B / 21B / 16B
3McBusLuck390.04222022/05/21 19:22:080B / 18B / 21B

jq _

RankUserSizeTimeDateStatistics
1teebee350.05202022/05/11 02:36:280B / 19B / 15B
2eban550.04882022/05/10 19:18:180B / 33B / 21B

jq 1.6 _

RankUserSizeTimeDateStatistics
1eban510.05362022/05/10 19:49:130B / 29B / 21B

Bash _

RankUserSizeTimeDateStatistics
1tails140.03242022/05/10 13:15:070B / 10B / 3B
2Fleur140.02772022/05/10 13:26:200B / 10B / 3B
3teebee140.02892022/05/11 01:19:520B / 10B / 3B
4eban180.02302022/05/10 18:59:320B / 9B / 8B
5McBusLuck180.02262022/05/11 13:39:490B / 9B / 8B

dc _

RankUserSizeTimeDateStatistics
1tails170.04542022/05/10 13:32:420B / 12B / 5B
2Fleur180.05012022/05/10 10:45:380B / 10B / 8B

gs2 _

RankUserSizeTimeDateStatistics
1tails60.21462022/05/10 14:36:541B / 3B / 1B
2whio60.20492022/05/11 04:11:401B / 4B / 1B

Nibbles _

RankUserSizeTimeDateStatistics
1tails30.08772022/05/10 14:28:241B / 1B / 1B

Scala _

RankUserSizeTimeDateStatistics
1rotary-o689.53132022/05/11 22:30:500B / 44B / 21B

Logo _

RankUserSizeTimeDateStatistics
1teebee570.04942022/05/17 08:21:380B / 42B / 5B

Language Ranking_

RankLangUserSizeScore
1Nibblestails310000
2gs2tails65000
3Kteebee122500
4Bashtails142142
5dctails171764
6Ruby2Sisyphus191578
7Perl6Fleur271111
8PerlSisyphus271111
9RubyDingledooper32937
10jqteebee35857
11AWKteebee38789
12OctaveFleur41731
13JavaScriptIrratix49612
14Python3Dingledooper51588
15jq 1.6eban51588
16Crotary-o55545
17Logoteebee57526
18PythonSisyphus58517
19Haskelllynn62483
20Scalarotary-o68441
21SNOBOLteebee69434
22Javarotary-o159188

return to the top page