compute ISBN13

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

Complete the ISBN-13 code by appending the correct check digit.

https://en.wikipedia.org/wiki/International_Standard_Book_Number#ISBN-13_check_digit_calculation

Options

exec is denied

no deadline, the server will not save your submission

Sample input:_

859140178864
124090918399
440075349254
575910710688
917934680397
106189924793
540985664827
072161187303
365933700808
565898872404
312307565472
147801448707
219364938637
357083426814
925072071982
972761803931
546946033592
160171799015
138833125122
252710762839
851054404824
374996558381
917642371513
301225147514
905882413874
723298930498
754024250784
733931019702
813893901558
148008139544
936650287792
253427248226
735600286528
211315018395
740854709284
713140321102
710726990724
363404756258
808088827535
155736740318
939730830291
848211374766
786959263771
393966536438
918377178830
642461252069
882604995344
807548640356
500013318215
367975924091
943506400955
877584782112
041278229838
898240903173
487466996659
867412259464
436157914173
379378742760
069974620837
416457925633
615706933334
172766650538
363384515607
724381531781
357618310369
641203179321
177569989637
140542388745
195106158627
802927672515
598229032776
102228318460
885219551743
916968414271
657866818094
809667283642
549229439956
126091571228
066627970971
866393775075
512671081519
228773187923
653497646293
275566562933
585799216577
949812736945
778503507635
812590537241
017142876925
344062322603
326600126011
794177455953
600793662716
644681204355
044073199620
787876841133
535980865529
515118975364
509235000293
573317860722

Sample output:

8591401788649
1240909183995
4400753492545
5759107106881
9179346803970
1061899247937
5409856648278
0721611873035
3659337008080
5658988724040
3123075654729
1478014487077
2193649386371
3570834268145
9250720719824
9727618039314
5469460335926
1601717990159
1388331251223
2527107628398
8510544048243
3749965583810
9176423715133
3012251475145
9058824138745
7232989304982
7540242507842
7339310197029
8138939015580
1480081395445
9366502877924
2534272482267
7356002865288
2113150183955
7408547092848
7131403211021
7107269907248
3634047562589
8080888275358
1557367403184
9397308302914
8482113747669
7869592637710
3939665364387
9183771788306
6424612520697
8826049953440
8075486403562
5000133182159
3679759240912
9435064009552
8775847821126
0412782298382
8982409031736
4874669966597
8674122594642
4361579141737
3793787427609
0699746208377
4164579256339
6157069333342
1727666505388
3633845156075
7243815317816
3576183103694
6412031793211
1775699896379
1405423887457
1951061586271
8029276725150
5982290327768
1022283184603
8852195517434
9169684142718
6578668180944
8096672836421
5492294399567
1260915712286
0666279709718
8663937750756
5126710815194
2287731879237
6534976462936
2755665629339
5857992165775
9498127369451
7785035076352
8125905372419
0171428769258
3440623226031
3266001260110
7941774559536
6007936627169
6446812043554
0440731996201
7878768411337
5359808655291
5151189753647
5092350002938
5733178607225

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1Dingledooper440.01792021/10/25 16:51:460B / 17B / 25B
2Histocrat450.01292021/10/21 09:19:590B / 20B / 23B
3rotary-o470.01952021/10/17 23:08:590B / 21B / 24B

Ruby2 _

RankUserSizeTimeDateStatistics
1rotary-o470.05892021/10/17 23:08:410B / 21B / 24B
2Histocrat480.06412021/10/21 09:25:180B / 21B / 25B
3Dingledooper480.06032021/10/25 16:21:220B / 17B / 29B

Perl _

RankUserSizeTimeDateStatistics
1Sisyphus400.02152021/10/17 12:56:250B / 17B / 21B
2Dingledooper400.02232021/10/17 14:03:430B / 17B / 21B
3tails400.02672021/10/18 10:34:090B / 17B / 21B
4noimcia440.01722021/11/23 03:37:240B / ?B / ?B

Python _

RankUserSizeTimeDateStatistics
1Dingledooper560.04022021/10/17 14:04:210B / 32B / 22B
2xnor560.10272021/10/19 08:56:440B / 32B / 22B
3lynn610.03182021/10/26 04:01:160B / 37B / 22B

Python3 _

RankUserSizeTimeDateStatistics
1Dingledooper550.06472021/10/17 14:06:050B / 33B / 21B
2xnor550.09132021/10/19 08:57:310B / 33B / 21B
3btnlq550.04942021/10/25 12:27:300B / 33B / 21B

JavaScript _

RankUserSizeTimeDateStatistics
1Defectus620.02592021/10/28 01:04:390B / 37B / 23B
2Bedstorm620.02672021/10/28 01:05:150B / 37B / 23B
3Dingledooper620.02742021/10/28 07:51:140B / 37B / 23B
4Irratix670.02412021/10/27 03:08:460B / 38B / 29B
5KrausRaus700.02542021/10/28 01:51:150B / 41B / 27B

C _

RankUserSizeTimeDateStatistics
1tails660.01372021/10/22 02:37:120B / 36B / 30B
2rotary-o730.01402021/10/21 20:03:010B / 42B / 31B

Java _

RankUserSizeTimeDateStatistics
1rotary-o1400.09232021/10/18 22:43:430B / 79B / 57B

AWK _

RankUserSizeTimeDateStatistics
1Fleur500.01462021/11/12 11:00:290B / 22B / 28B

sed _

RankUserSizeTimeDateStatistics
1tails1000.01992021/11/25 10:28:500B / 50B / 40B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1tails610.20712021/10/19 20:26:580B / 23B / 30B
2McBusLuck740.27102021/10/19 02:34:540B / 27B / 38B

dc _

RankUserSizeTimeDateStatistics
1tails400.03012021/10/20 18:46:320B / 26B / 14B

GolfScript _

RankUserSizeTimeDateStatistics
1lynn250.04442021/10/26 04:16:310B / 7B / 18B

gs2 _

RankUserSizeTimeDateStatistics
1tails120.07932021/10/20 11:23:283B / 9B / 0B
2whio140.08342021/10/19 22:51:455B / 6B / 3B

Burlesque _

RankUserSizeTimeDateStatistics
1Hendrik330.06562021/10/17 19:26:430B / 16B / 17B

Lazy-K _

RankUserSizeTimeDateStatistics
1tails4300.42352021/10/20 13:39:460B / 269B / 161B

z80 _

RankUserSizeTimeDateStatistics
1tails330.51272021/10/20 16:10:4220B / 6B / 6B
2McBusLuck360.52492021/10/19 16:06:2319B / 10B / 5B

Scala _

RankUserSizeTimeDateStatistics
1rotary-o704.60372021/10/18 22:19:270B / 42B / 23B

Language Ranking_

RankLangUserSizeScore
1gs2tails1210000
2GolfScriptlynn254800
3BurlesqueHendrik333636
4z80tails333636
5PerlSisyphus403000
6dctails403000
7RubyDingledooper442727
8Ruby2rotary-o472553
9AWKFleur502400
10Python3Dingledooper552181
11PythonDingledooper562142
12Bash (builtins)tails611967
13JavaScriptDefectus621935
14Ctails661818
15Scalarotary-o701714
16sedtails1001200
17Javarotary-o140857
18Lazy-Ktails430279

return to the top page