Split into multiples of 7

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

Split a sequence of digits into multiples of 7.

-- tails

Options

exec is denied

rejudge feature is enabled

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

Sample input:_

4472405236693644665983420862568438420825618508288779711120994789941014078369845219615895393225532660432872419949520618178813930939502161348581359464386608133375454950063596156417749884647525457055344210677010439688874081068925323902938793602648032316071384688578733497398637189670489272270162054790409747842956357355943319476822759798559482028528600444937644560369898401809227801261646387239798830150165380905834968398552621632576136914190549736020561043133852815541342548188270617928074979673891740309035213674977994297642235340768228895963756330175219992323564736072076849466155353565474246794373063195730405554917012700728485593593875529840297989833897225327797103985646030984611123064639035929570812613064496261910642994521970076248811776598312206775823768411410176867512116503105034250790896241647477665276246680485444132631780028316611446716319772661642271177814203314030616601648281616584912839981192775490910160604456757141889915785071392561421132561311889968269991386420504097877395067317502

Sample output:

4472405
2366
936446
659834
2086
25684384208
25618508288779
7
111209
9478
994
1014078369845219
615895
393225
532
6604328724
199495206181788139
3093950216
13485813594643866
0
81333
7
545495006
35
9615641
7
7
49
88464752545705534421067701
0
4396
8887408106892
532
39029387936
0
264803
231
607138
46885787334973986
371
896
7
0
489272
27016205479040974
7
84
2956357355
94331947682
2759798559
48202
8528600444
9376445603
698984018092278012616463872
397988301501
6538
0
9058
349683985
52621632
5761
369141905497360205
6104
3133852815541
34254818827061
7
928074
9796738
91
7
403090352
136749779942976422353407682
28
895963756330175219992323564
7
36072076849466
15535356547424
679
43730631
95730405554
91
7
0
127007284855935938755
298402979
898338
9722532779710398564
603098461
112
30646
3903592
95708126130644962619106429
945
21
97007624
881177659831
2206775823
7
68411
410176867512116503105034
25079089
624164747766
5276246680485444132
63
178002831661144
67163197726616422711
7
7
81420331403061
6601
6482
816165
84
91
28
399
8119277549091016
0
60445
67571
418899157850713925
614211325
6131188
9968
26999
1386
42
0
504
0
97877395
0
67317502

Sample input:_

6016850728877919748740134262810527895358715315098317369517446747780160320160231323591841620167762700268958033766472271344336357701193692773334789018525272212721141501325850525676403382924145293753545975359620267735683952607311551139181690296774895390911256512426822783158559903847757493117467210314971899374487629031884928095175172789308881199956445119829531219639823332704730012383443394376349789929710960798058963276336104670311885654198521625871984530265552089189375670872635261818801299934073312552564731044038969208120070578593239984841668994038469284686756469607224426433707653937883234346940106406275444153537275889294278747491429631245239299232893173794778405616334868439542331662112900628321264823689922519354857474418691075257879707528439100720098516107007290277173617697267207313245369361521374338267988610971454180313714877446043320376350178842269529661098355391501558906235373591992505125429063896739431333987966565887574567580972866188529799256432161154792411433814258493529323656561566

Sample output:

601685
0
7
28
877919
7
48740134262810527895358
7
1531509
831736951744674778016032
0
16023
1323
5918416
2016
7
7
6270026
8958033
7
66472
271344336357701193692
7
7
333478901
8525272
21
27211415
0
13258
505256764033
829241
4529
375354
59753596
2026773
56
83952607311551139
181690296774
8953
90911256512426
82278
315
85599038
47757493
11746
7
21
0
3149718993744876
290318
84
928095
175
172789308881
1999564
45119829531
21
9639
82333270473001238344339
4376349789
92971096079805896327633610467031
188565419
8521625
8719845302
655520891893
7
56
7
0
87263526
1818801299
934073
31255
256473
10440389692081200705
7
85932
399
84
84
166899403846
92846867564696
0
7
224
42
6433
7
0
7
6539378832
343
469
401064062
7
54441535372
7
588
9294278
7
4749142963124
523929
9232893173
7
9477840561
63
3486
84
395423
316621129006
28
3212648236
89922
51935485
7
474418
691075
25787970752843910072
0
0
98
51610700729
0
27717361
7
6972
672
0
7
31324536936
152137433
826
7
98
861
0
9714541803137148774460433
203
7
63
501788
42
2695
29661098355
391501558
9062353735919925
0
51254
2906389673943
133
39879
665
658
875
7
45675
809728661
88529
7
9925643
21
61154792411433
81425849352932
3656561566

Sample input:_

3317275652176957846197639924514769732677833971180199900498047978849491289772874301380005447755899011690651532760111422422224015711547728444000189087671558093502762822547796255105309064646958293487240090150553326498975126539859516902652996639713290791092461257338246305455402404821394529825642813479586873493439791578839524020990508225219590181645689781486668608316177587306609091663949565340914930518475854680894709942298947176102513289875119176614523786985505325617704853838367274757831459139628730730673468217794343663046690888619929105607944453200054334253664192638424439959062071841137858210056439176227325021847916842926581950939171475996870527321303362941512464152748665915626375019400421739490870314569456247762168683055645932322810609062034935666528273905425509609127730245567570245631472197859679791939556895888355595825859097673631125863315301359462988237774247068902309964156781207025290713029218647210924681609696478916873647100975283891573622945041216951770000653221537181949877786383134

Sample output:

33172756521769578
4619763992451476973267783397118019
99004980479788494912897728743013
800054477558
9901169065153276011142242222
4015711
54772844
4000189087671
5580935027628225477962551053
0
906464695829
348724009015055332649897512653985
9516902652996639713290791092461257338
24630545540240482139452982564281347958
68734934397915788395240209905082252195
90181
64568
97814866686083161775873066090916639495
6534091493051847585
468089470994229
8947176
102513289875119176614523786985
50532561770485383836727475783145913962873073067346821779434366
3046690888619
929105607944453200054334253664
192638424439959062071841137858210056439
1762273250218479168429
2658195093917147599687052732130336294151246415
274866591562637501
940042173
9490870314569
4562477621686830556459
3232281060906203493566652
827390542550960912773024556757024563147219785967979
1939
55689588835559
58258590976736311
25863315301359462988237774247068902
30996
415678120702529071302921864721092468
16096964789168736471009752838915736229450412
16951770000653221537181
949877786383134

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1Histocrat360.47792016/03/04 01:18:420B / 16B / 20B
2mitchs360.38582016/03/04 01:30:490B / 16B / 20B
3olf360.38982016/03/06 03:13:070B / 14B / 22B
4ludo360.38782016/03/17 01:36:280B / 13B / 23B
5gmk400.05442016/03/04 23:36:340B / 22B / 17B
6_640.06252016/03/08 09:54:220B / ?B / ?B

Ruby2 _

RankUserSizeTimeDateStatistics
1angel340.26102016/03/04 02:39:390B / ?B / ?B
2mitchs340.41282016/03/04 07:35:000B / 13B / 21B
3olf340.21812016/03/06 02:13:330B / 13B / 21B
4ludo340.32842016/03/17 01:35:480B / 13B / 21B
5kimiyuki420.32682016/03/11 20:13:240B / 14B / 28B
6gmk440.23932016/03/04 23:33:530B / 21B / 22B

Perl _

RankUserSizeTimeDateStatistics
1llhuii360.05052016/03/03 23:54:260B / 12B / 24B
2teebee360.04622016/03/04 05:41:130B / 13B / 23B
3tails360.06442016/03/04 17:30:520B / 13B / 23B
4angel360.04342016/03/14 00:43:120B / ?B / ?B
5%20400.04812016/03/07 02:19:290B / 12B / 28B
6toshiya420.04242016/03/11 03:04:530B / ?B / ?B
7kimiyuki420.04352016/03/11 19:42:550B / 14B / 27B
8toshiya390.09132016/03/21 22:10:080B / ?B / ?B

Python _

RankUserSizeTimeDateStatistics
1mitchs570.11632016/03/03 18:09:180B / 29B / 19B
2xsot570.12572016/03/03 21:34:200B / 29B / 19B
3llhuii570.16702016/03/03 21:49:000B / 29B / 19B
4rolf570.17362016/03/04 01:23:460B / 29B / 19B
5Hendrik570.14192016/03/05 04:52:430B / 29B / 19B
6teebee570.12532016/03/05 18:57:590B / 29B / 19B
7xnor570.09472016/03/07 17:02:260B / ?B / ?B
8twobit570.17482016/03/08 09:34:010B / ?B / ?B
9hallvabo570.12232016/03/09 03:55:060B / 24B / 24B
10xsot (alt)590.22152016/03/03 21:35:140B / 29B / 25B
11test600.13872016/03/05 00:48:250B / 32B / 18B
12Vim Lover580.10052016/10/31 11:56:280B / ?B / ?B
13cjtenny820.09142016/10/27 19:33:490B / ?B / ?B
14potato880.27862016/10/27 19:28:210B / ?B / ?B
15_4040.11832016/03/25 16:05:020B / ?B / ?B

Python3 _

RankUserSizeTimeDateStatistics
1mitchs540.23792016/03/03 22:31:250B / 30B / 19B
2xsot540.17022016/03/04 11:52:110B / 30B / 19B
3llhuii540.23882016/03/04 23:55:510B / 28B / 22B
4reirei_As570.19922016/03/16 12:10:190B / 29B / 19B
5kimiyuki590.55532016/03/11 20:54:030B / 31B / 20B

PHP _

RankUserSizeTimeDateStatistics
1teebee510.10102016/03/14 09:56:461B / 22B / 28B

JavaScript _

RankUserSizeTimeDateStatistics
1FizzyTea550.14612016/03/15 20:03:590B / 32B / 20B
2teebee550.10962016/03/16 05:31:250B / 32B / 20B
3ETHproductions650.05132016/04/15 01:59:380B / 38B / 27B

Lua _

RankUserSizeTimeDateStatistics
1teebee700.04462016/03/11 16:17:110B / 42B / 22B
2Hendrik760.05202016/03/10 17:06:430B / 46B / 25B
3Hendrik(teebee)680.06022016/03/17 19:19:200B / 41B / 23B

Xtal _

RankUserSizeTimeDateStatistics
1teebee680.07822016/03/14 07:51:560B / 39B / 29B

REXX _

RankUserSizeTimeDateStatistics
1teebee610.06112016/03/16 09:18:310B / 37B / 22B

PARI/GP _

RankUserSizeTimeDateStatistics
1mitchs490.07792016/03/16 10:46:000B / 30B / 19B
2teebee490.09582016/03/16 16:18:460B / 29B / 20B

BASIC _

RankUserSizeTimeDateStatistics
1teebee500.05632016/03/16 09:31:590B / 28B / 20B

J _

RankUserSizeTimeDateStatistics
1I., S.290.13062016/03/07 21:08:060B / 11B / 18B

K _

RankUserSizeTimeDateStatistics
1teebee310.19682016/03/05 09:41:150B / 7B / 23B

C _

RankUserSizeTimeDateStatistics
1llhuii612.75382016/03/09 00:34:380B / ?B / ?B
2tails612.65342016/03/11 19:50:160B / 32B / 29B
3teebee620.02932016/03/06 18:16:180B / 32B / 30B
4olf620.04162016/03/16 00:17:260B / 35B / 27B
5lpha630.04302016/03/06 01:04:130B / 33B / 30B
6%20630.03342016/03/07 01:49:360B / 33B / 30B
7xsot630.03432016/03/07 10:10:520B / 33B / 30B
8angel670.03262016/03/05 01:24:210B / ?B / ?B
9chocobi690.03532016/03/08 07:08:520B / 38B / 31B
10test990.03522016/03/16 01:25:530B / 47B / 50B
11tails (llhuii)602.84922016/03/17 19:36:360B / 32B / 28B
12test920.03832016/03/18 00:14:410B / ?B / ?B

Haskell _

RankUserSizeTimeDateStatistics
1henkma640.12352016/03/17 11:01:210B / 35B / 26B

ObjC _

RankUserSizeTimeDateStatistics
1llhuii612.72802016/03/13 12:40:560B / 32B / 29B
2olf620.04182016/03/16 00:30:470B / 35B / 27B

Java _

RankUserSizeTimeDateStatistics
1teebee1140.26052016/03/11 08:30:400B / 69B / 41B
2rolf1990.30232016/03/04 02:56:030B / ?B / ?B
3dc2050.34062016/03/03 20:53:500B / 140B / 57B
4Klemmbrett2050.35242016/03/03 21:23:230B / ?B / ?B

C# _

RankUserSizeTimeDateStatistics
1olf1200.15092016/03/15 05:09:420B / 72B / 43B
2teebee1210.18062016/03/11 08:26:370B / 77B / 39B
3recursive1220.18062016/03/11 09:41:170B / 72B / 45B
4chocobi1230.15662016/03/11 07:57:480B / 73B / 45B
5piyo1240.20662016/03/10 22:48:010B / ?B / ?B
6teebee(olf)1190.15272016/03/18 06:35:300B / 72B / 42B

Maxima _

RankUserSizeTimeDateStatistics
1teebee732.78652016/03/17 09:15:220B / 43B / 29B

Asymptote _

RankUserSizeTimeDateStatistics
1teebee660.38172016/03/12 08:44:390B / 41B / 24B
2chocobi670.46562016/03/12 21:16:070B / 42B / 24B

AWK _

RankUserSizeTimeDateStatistics
1teebee420.04752016/03/06 05:19:570B / 19B / 22B
2llhuii420.06302016/03/08 01:54:000B / 20B / 21B

sed _

RankUserSizeTimeDateStatistics
1mitchs810.53272016/03/04 06:06:370B / 27B / 48B
2tails810.59362016/03/07 03:33:590B / 27B / 48B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1teebee450.99912016/03/08 07:15:170B / 21B / 20B
2tails451.12142016/03/08 18:05:590B / 21B / 18B
3llhuii461.22392016/03/07 20:13:100B / ?B / ?B

make _

RankUserSizeTimeDateStatistics
1tails2320.82562016/03/16 18:40:220B / 120B / 74B

bc _

RankUserSizeTimeDateStatistics
1teebee560.23182016/03/16 06:55:370B / 29B / 26B

dc _

RankUserSizeTimeDateStatistics
1tails300.24542016/03/07 04:30:450B / 20B / 10B

xgawk _

RankUserSizeTimeDateStatistics
1teebee420.04002016/03/06 05:19:250B / 19B / 22B
2llhuii420.07252016/03/08 01:52:150B / 20B / 21B

Brainfuck _

RankUserSizeTimeDateStatistics
1mitchs550.05462016/03/03 17:32:350B / 0B / 55B
2angel630.06952016/03/04 14:55:260B / ?B / ?B
3kimiyuki750.11142016/03/16 18:56:380B / 0B / 75B

Whitespace _

RankUserSizeTimeDateStatistics
1%20850.09432016/03/07 02:39:310B / 0B / 0B
2mitchs850.08622016/03/07 03:21:190B / 0B / 0B
3kaz_u850.10562016/03/13 20:39:130B / 0B / 0B
4lpha850.12462016/03/16 10:18:280B / 0B / 0B
5angel860.08782016/03/04 16:15:370B / ?B / ?B

Befunge _

RankUserSizeTimeDateStatistics
1%20240.06272016/03/16 09:50:520B / 7B / 16B
2Histocrat260.03912016/03/04 04:23:260B / 5B / 21B
3Histocrat (%20)230.05602016/03/18 00:18:110B / 5B / 18B

><> _

RankUserSizeTimeDateStatistics
1mitchs191.36042016/03/07 00:37:280B / 8B / 10B
2Sp3000191.53202016/03/23 15:37:260B / ?B / ?B
3Sp3000 (alt)191.80822016/03/23 15:44:090B / ?B / ?B

GolfScript _

RankUserSizeTimeDateStatistics
1tails150.24062016/03/08 18:26:310B / 5B / 10B
2%20200.27182016/03/08 21:50:280B / 4B / 16B

gs2 _

RankUserSizeTimeDateStatistics
1mitchs90.86982016/03/05 06:16:526B / 2B / 1B

FerNANDo _

RankUserSizeTimeDateStatistics
1%204650.51982016/03/13 21:06:440B / 233B / 0B
2tails (comment)3212.68182016/10/31 19:21:270B / 157B / 4B

Piet _

RankUserSizeTimeDateStatistics
1%20850.18742016/03/09 21:46:4261B / 17B / 5B

goruby _

RankUserSizeTimeDateStatistics
1mitchs260.47262016/03/06 07:23:380B / 8B / 17B

Groovy _

RankUserSizeTimeDateStatistics
1teebee554.06782016/03/10 09:19:240B / 32B / 21B

Logo _

RankUserSizeTimeDateStatistics
1teebee610.15262016/03/04 06:41:030B / 37B / 17B

Language Ranking_

RankLangUserSizeScore
1gs2mitchs910000
2GolfScripttails156000
3><>mitchs194736
4BefungeHistocrat (%20)233913
5gorubymitchs263461
6JI., S.293103
7dctails303000
8Kteebee312903
9Ruby2angel342647
10Perlllhuii362500
11RubyHistocrat362500
12xgawkteebee422142
13AWKteebee422142
14Bash (builtins)teebee452000
15PARI/GPmitchs491836
16BASICteebee501800
17PHPteebee511764
18Python3mitchs541666
19Brainfuckmitchs551636
20Groovyteebee551636
21JavaScriptFizzyTea551636
22bcteebee561607
23Pythonmitchs571578
24Ctails (llhuii)601500
25Logoteebee611475
26ObjCllhuii611475
27REXXteebee611475
28Haskellhenkma641406
29Asymptoteteebee661363
30Xtalteebee681323
31LuaHendrik(teebee)681323
32Maximateebee731232
33sedmitchs811111
34Whitespace%20851058
35Piet%20851058
36Javateebee114789
37C#teebee(olf)119756
38maketails232387
39FerNANDotails (comment)321280

return top