Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
assessFunctionAbsence({'regexp', 'regexpi'},'FileName','sum_large_n.m')
|
2 | Pass |
filetext = fileread('sum_large_n.m');
assert(isempty(strfind(filetext, 'java')),'java forbidden')
|
3 | Pass |
c = {'12345678'};
assert(isequal(sum_large_n(c),12345678))
digout =
'12345678'
carry =
0
|
4 | Pass |
c = {'1234567890','9'};
assert(isequal(sum_large_n(c),12345678))
digout =
'1234567899'
carry =
0
|
5 | Pass |
c = {'11223344','11223344'};
assert(isequal(sum_large_n(c),22446688))
digout =
'22446688'
carry =
0
|
6 | Pass |
c = {'1000000000','99','1'};
assert(isequal(sum_large_n(c),10000001))
digout =
'1000000100'
carry =
0
|
7 | Pass |
c = {'100000000000000000000000000000000000000000','9999','9999','9999'};
assert(isequal(sum_large_n(c),10000000))
digout =
'100000000000000000000000000000000000029997'
carry =
0
|
8 | Pass |
c = {'15934672','34627951','63195472','98416599','13652729','32167958','32368197'};
assert(isequal(sum_large_n(c),29036357))
digout =
'90363578'
carry =
2
|
9 | Pass |
c = {'65281492489834938429841293654542962328498421794427152995741538492824984','37812654179574152749152791584279521794471529572419527149652719458479854'};
assert(isequal(sum_large_n(c),10309414))
digout =
'03094146669409091178994085238822484122969951366846680145394257951304838'
carry =
1
|
10 | Pass |
c = {'64854985662353823234394299423463672233451381975635955356744918981347271658799472175596688623815297551711518872659685481224881454663419214254991734594937657622921687245928642452634633638974619883614322', ...
'41657761135648795316841323455859693737713378487164915457385127524627393723167546676927326556746488366583329656565759211145476799227155854775426317347474774134328484748742893748728958622478835122752521', ...
'86976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126392957934578124154229759177626322913141921351933131576117951843711765778376418467125598711189'};
assert(isequal(sum_large_n(c),19348963))
digout =
'93489635984958454519999239559300327256990376878023092449885572389241094494233216571522867602495142105139974922183379270494512483649752695353331193863764364888826289946515247967141968679920580605078032'
carry =
1
|
11 | Pass |
c = {'64854985662353823234394299423463672233451381975635955356744918981347271658799472175596688623815297551711518872659685481224881454663419214254991734594937657622921687245928642452634633638974619883614322', ...
'41657761135648795316841323455859693737713378487164915457385127524627393723167546676927326556746488366583329656565759211145476799227155854775426317347474774134328484748742893748728958622478835122752521', ...
'86976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126392957934578124154229759177626322913141921351933131576117951843711765778376418467125598711189', ...
'72712636767379814476842172453652813351412836947746192385743174561377221146751622122233239762219763269234174946242784735864354467442133699537777175218226957295718725354423196929864373177764483888569418', ...
'64936642142748762939341621746461987846653353891518919178589622211694499797463375467656517949485422378718971477337563287912152911673242596141549859249976492768478359536474579387914633766614537837282648', ...
'55845919276746811963423332428194147857913127786198359784563756325488721639938968957615654988468972614798574998453889662952978376243739845786635787174428334456445697482112331512689695534518148468892396', ...
'56852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257381412122322699254531421949717765273498436996384915724234515333299872421376543577676254122', ...
'74731539941789156776746219369224943244241616835615628985373966213897736849135176588835711359733896318691638244872327622595118548457836916433792829847584169247197625598974953476799592136595457182534623', ...
'22385429486488589446974795531215196112521748441116388952357456927648426638992316148542492581793279692744286781957782569896681841722633444622137377883353886373545979351768994152231775485994546872814784', ...
'79323439162825941244397949168397868333683486928735468188446777449683669155198482635823548923749968469697568249469961166976539517519332336133847682981536366651541555878125985417524274918656718132916668'};
assert(isequal(sum_large_n(c),62027779))
digout =
'20277792440393798855180105055161935385234073985066198583151852258026685393366123458085776852189929291339523877899100439015037401240093483726837179717307568066669957382910622144038735076608050664342691'
carry =
6
|
12 | Pass |
c = {'6475498566235382323439429942346367223345138697688918695583596876361667997696128582561641522222163575552588326642911226619771899885242193335618684512639295793457812415422975917762632291314192135193313157611795184371176577837641846712559871118981975635955356744918981347271658799472175596688623815297551711518872659685481224881454663419214254991734594937657622921687245928642452634633638974619883614322', ...
'2165776113564879531684132345585969373771337848716491545738512752462739372316754667692732655674648836658332965656575921114547679922715585477542793234391628259412443979491683978683336834869287354681884467774496836691551984826358235489237499684696975682494699611669765395175193323361338476829815363666515415558781259854175242749186567181329166686317347474774134328484748742893748728958622478835122752521', ...
'8697688918695583596876361667997696128582561641522222163575552588326642911226619771899885242193335618684512635685254967745626748745477479871465138181752627611214865819152617899531567165296496585574368424348444231433425738141212232269925453142194971776527349843699638491572423451533329987242137654357767625412292957934578124154229759177626322913141921351933131576117951843711765778376418467125598711189', ...
'7271263676737981447684217245365281335141283694774619238574317456137722114675162212223323976221976326923417494624278473586435446744213369953777717521822695729571872535442319692986437317776445584591927674681196342333242819414785791312778619835978456375632548872163993896895761565498846897261479857499845388966295297837624373984578663578717442833445644569748211233151268969553451814846889239683888569418', ...
'6293664214274876293934162174646198784665335389151891917858962221169449979746337546765651794948542237871897147733756328791215291167324259614154985568525496774562674874547747987146513818175262761121486581915261789953156716529649658557436842434844423143342573814121223226992545314219497177652734984369963849157242345153332998724213765435776762541229249976492768478359536474579387914633766614537837282648', ...
'5584591927674681196342333231512689695428194147857913127786198359784563737624373984578663575632548872163993896895761565857499845388949884689726131512689695479857499845388966295297837624373984578632571235635787174428334456445697482112331512689695388949884689761479857499845388966295297837624373984578663578717442833445644569748211233151268969553451814846889239687232762259511854845785534518148468892396', ...
'5685254967745626748745477479871465138181752627611214865819152617899531567165296496585574368424348444231433425738793234391628259412443979491683978683336834869287354681884467774496836691551984826358235489237499684696975682494699611669765395175193323361338476829815363666515415558781259854175242749186567181329166681412122322699254531421949717765273498436996384915724234515333299872421376543577676254122', ...
'7873153994178915677674621936922494324424161683561562898537396621389773684913517658883571135973389631869163824455845919276746811963423332428194147857913127786198359784563756325488721639938968957615654988468972614798574998453889662952978376243739845786635787174428334456445697482112331512689695534518148468892396872327622595118548457836916433792829847584169247197625598974953476799592136595457182534623', ...
'2238542948648858944697479553121519611252174844111638895235745692764842663899231614854249258179327969274428678195778256989668184172263355845919276746811963423332428194147857913127786198359784563756325488721639938968957615654988468972614798574998453889662952978376243739845786635787174428334456445697482112331512689695534518148468892396444622137377883353886373545979351768994152231775485994546872814784', ...
'7392343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587815584591927674681196342333242819414785791312778619835978456375632548872163993896895761565498846897261479857499845388966295297837624373984578663578717442833445644569748211233151268969553451814846889239625985417524274918656718132916668'};
assert(isequal(sum_large_n(c),59677779))
digout =
'9677779244039379885518010494209468448160289267870020167554112931265300944783270799627648421845278360199525220575952011070794119153986674321467622118037002392049467717857978376449344262852749680768586923180885110454016425777379365682177241064317711497236001129520298982039728596906640734793858226796879316462667176063558803653791103347454926366070772085998928731251939104159008145298788083250664342691'
carry =
5
|
13 | Pass |
c = {'69754985662353823234394299423463672233451386976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126392957934578124154229759177626322913141921351933131576117951843711765778376418467125598711189819756359553567449189813472716587994721755966886238152975517115188726596854812248814546634192142549917345949376576229223854294864885894469747955312151961125217484411163889523574569276484266389923161485424925817932796927442867819577825698966818417226335584591927674681196342333242819414785791312778619835978456375632548872163993896895761565498846897261479857499845388966295297837624373984578663578717442833445644569748211233151268969553451814846889239644462213737788335388637354597935176899415223177548599454687281478421687245928642452634633638974619883614322', ...
'51057761135648795316841323455859693737713378487164915457385127524627393723167546676927326556746488366583329656565759211145476799227155854775427932343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587812598541752427491865671813291686976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126356852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257381412122322699254531421949717765273498436996384915724234515333299872421376543577676254122929579345781241542297591776263229131419213519331315761179518437117657783764184671255987111896686317347474774134328484748742893748728958622478835122752521', ...
'76976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126356852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257381412122322699254531421949717765273498436996384915724234515333299872421376543577676254122929579345781241542297591776263229131419213519331315761179518437117657783767392343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587815584591927674681196342333242819414785791312778619835978456375632548872163993896895761565498846897261479857499845388966295297837624373984578663578717442833445644569748211233151268969553451814846889239625985417524274918656718132916668418467125598711189', ...
'72712636767379814476842172453652813351412836947746192385743174561377221146751622122233239762219763269234174946242784735864354467442133699537777175218226957295718725354423196929864373177764455845919276746811963423332428194147857913127786198359784563756325488721639938968957615654988468972614798574998453889662952978376243739845786635787174428334456445697482112331512689695534586976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126356852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257381412122322699254531421949717765273498436996384915724234515333299872421376543577676254122929579345781241542297591776263229131419213519331315761179518437117657783764184671255987111891814846889239683888569418', ...
'62936642142748762939341621746461987846653353891518919178589622211694499797463375467656517949485422378718971477337563287912152911673242596141549855685254967745626748745477479871465138181752627611214865819152617899531567165296496585574368424348444231433425738141212232269925453142194971776527349843699638491572423451533568525496774562674874547747987146513818175262761121486581915261789953156716529649658557436842434844423143342573879323439162825941244397949168397868333683486928735468188446777449683669155198482635823548923749968469697568249469961166976539517519332336133847682981536366651541555878125985417524274918656718132916668141212232269925453142194971776527349843699638491572423451533329987242137654357767625412232998724213765435776762541229249976492768478359536474579387914633766614537837282648', ...
'55845919276746811963423332315126896954281941478579131277861983597845637376243739845786635756325488721639938968957615658574998453889498846897261315126896954798574998453889662952978376243739845786325712356357871744283344564456974821123315126896953889498846897614798574998453889662952978376243739845786635787174428334456445697482112331512689695534518148468892396872327622595118548457855345181484688956852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257387932343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587812598541752427491865671813291666814121223226992545314219497177652734984369963849157242345153332998724213765435776762541222396', ...
'50852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257387932343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587812598541752427491865671813291666814121223226992545314219497177652734984369963849157242345153332998724213765435755845919276746811963423332315126896954281941478579131277861983597845637376243739845786635756325488721639938968957615658574998453889498846897261315126896954798574998453889662952978376243739845786325712356357871744283344564456974821123315126896953889498846897614798574998453889662952978376243739845786635787174428334456445697482112331512689695534518148468892396872327622595118548457855345181484688923967676254122', ...
'18731539941789156776746219369224943244241616835615628985373966213897736849135176588835711359733896318691638244558459192767468119634233324281941478579131277861983597845637563254887216399389689576156549884689726147985749984538896629529783762437398457866357871744283344564456974821123315126896955345181484688923968726293664214274876293934162174646198784665335389151891917858962221169449979746337546765651794948542237871897147733756328791215291167324259614154985568525496774562674874547747987146513818175262761121486581915261789953156716529649658557436842434844423143342573814121223226992545314219497177652734984369963849157242345153332998724213765435776762541229249976492768478359536474579387914633766614537837282648327622595118548457836916433792829847584169247197625598974953476799592136595457182534623', ...
'24185429486488589446974795531215196112521748441116388952357456927648426638992316148542492581793279692744286781957782569896681841722633558459192767468119634233324281941478579131277861983597845637563254887216399389689576156549884689726147985749984538896629529783762437398457866357871744283344564456974821123315126896955345181484688923964446221373778833538863735464754985662353823234394299423463672233451386976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126392957934578124154229759177626322913141921351933131576117951843711765778376418467125598711189819756359553567449189813472716587994721755966886238152975517115188726596854812248814546634192142549917345949376576229216872459286424526346336389746198836143225979351768994152231775485994546872814784', ...
'73923439162825941244397949168397868333683486928735468188446777449683669155198482635823548923749968469697568249469961166976539517519332336133847682981536366651541555878155845919276746811963423332428194147857913127786198359784563756325488721639938968957615654988468972614798574998453889662952978376243739845786635787174428334456445697482112356852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257387932343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587812598541752427491865671813291666814121223226992545314219497177652734984369963849157242345153332998724213765435776762541223151268969553451814846889239625985417524274918656718132916668'};
assert(isequal(sum_large_n(c),55697779))
digout =
'56977792440393798855180104942094684481602892678700201675541129312653009447832707996276484218452783601995252205759520110707941191539866743214676221180370023920494677178579783764493442628527496807685869231808851104540164257773793656821772410643177114972360011295202989820397285969066407347938582267968793164626671763653264837881939657356654068167878370562366659443915974445500313721250568890032789954901702296480349547113199237610703284020363815331550567643218685400226823018448650257038283237094658482214471555626436271212347241367405931633236597097092597532846404523801006549808346280687700329593403555420582013499244898089054447518602176586800236342795766685782574679317120722500524358927144765583661026353606141292629363023297657763004635625837739594951548045435597950732729960634001722254736672691'
carry =
5
|
14 | Pass |
c = {'169754985662353823234394299423463672233451386976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126392957934578124154229759177626322913141921351933131576117951843711765778376418467125598711189819756359553567449189813472716587994721755966886238152975517115188726596854812248814546634192142549917345949376576229223854294864885894469747955312151961125217484411163889523574569276484266389923161485424925817932796927442867819577825698966818417226335584591927674681196342333242819414785791312778619835978456375632548872163993896895761565498846897261479857499845388966295297837624373984578663578717442833445644569748211233151268969553451814846889239644462213737788335388637354597935176899415223177548599454687281478421687245928642452634633638974619883614322', ...
'51057761135648795316841323455859693737713378487164915457385127524627393723167546676927326556746488366583329656565759211145476799227155854775427932343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587812598541752427491865671813291686976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126356852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257381412122322699254531421949717765273498436996384915724234515333299872421376543577676254122929579345781241542297591776263229131419213519331315761179518437117657783764184671255987111896686317347474774134328484748742893748728958622478835122752521', ...
'476976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126356852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257381412122322699254531421949717765273498436996384915724234515333299872421376543577676254122929579345781241542297591776263229131419213519331315761179518437117657783767392343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587815584591927674681196342333242819414785791312778619835978456375632548872163993896895761565498846897261479857499845388966295297837624373984578663578717442833445644569748211233151268969553451814846889239625985417524274918656718132916668418467125598711189', ...
'72712636767379814476842172453652813351412836947746192385743174561377221146751622122233239762219763269234174946242784735864354467442133699537777175218226957295718725354423196929864373177764455845919276746811963423332428194147857913127786198359784563756325488721639938968957615654988468972614798574998453889662952978376243739845786635787174428334456445697482112331512689695534586976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126356852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257381412122322699254531421949717765273498436996384915724234515333299872421376543577676254122929579345781241542297591776263229131419213519331315761179518437117657783764184671255987111891814846889239683888569418', ...
'562936642142748762939341621746461987846653353891518919178589622211694499797463375467656517949485422378718971477337563287912152911673242596141549855685254967745626748745477479871465138181752627611214865819152617899531567165296496585574368424348444231433425738141212232269925453142194971776527349843699638491572423451533568525496774562674874547747987146513818175262761121486581915261789953156716529649658557436842434844423143342573879323439162825941244397949168397868333683486928735468188446777449683669155198482635823548923749968469697568249469961166976539517519332336133847682981536366651541555878125985417524274918656718132916668141212232269925453142194971776527349843699638491572423451533329987242137654357767625412232998724213765435776762541229249976492768478359536474579387914633766614537837282648', ...
'755845919276746811963423332315126896954281941478579131277861983597845637376243739845786635756325488721639938968957615658574998453889498846897261315126896954798574998453889662952978376243739845786325712356357871744283344564456974821123315126896953889498846897614798574998453889662952978376243739845786635787174428334456445697482112331512689695534518148468892396872327622595118548457855345181484688956852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257387932343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587812598541752427491865671813291666814121223226992545314219497177652734984369963849157242345153332998724213765435776762541222396', ...
'50852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257387932343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587812598541752427491865671813291666814121223226992545314219497177652734984369963849157242345153332998724213765435755845919276746811963423332315126896954281941478579131277861983597845637376243739845786635756325488721639938968957615658574998453889498846897261315126896954798574998453889662952978376243739845786325712356357871744283344564456974821123315126896953889498846897614798574998453889662952978376243739845786635787174428334456445697482112331512689695534518148468892396872327622595118548457855345181484688923967676254122', ...
'8731539941789156776746219369224943244241616835615628985373966213897736849135176588835711359733896318691638244558459192767468119634233324281941478579131277861983597845637563254887216399389689576156549884689726147985749984538896629529783762437398457866357871744283344564456974821123315126896955345181484688923968726293664214274876293934162174646198784665335389151891917858962221169449979746337546765651794948542237871897147733756328791215291167324259614154985568525496774562674874547747987146513818175262761121486581915261789953156716529649658557436842434844423143342573814121223226992545314219497177652734984369963849157242345153332998724213765435776762541229249976492768478359536474579387914633766614537837282648327622595118548457836916433792829847584169247197625598974953476799592136595457182534623', ...
'24185429486488589446974795531215196112521748441116388952357456927648426638992316148542492581793279692744286781957782569896681841722633558459192767468119634233324281941478579131277861983597845637563254887216399389689576156549884689726147985749984538896629529783762437398457866357871744283344564456974821123315126896955345181484688923964446221373778833538863735464754985662353823234394299423463672233451386976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126392957934578124154229759177626322913141921351933131576117951843711765778376418467125598711189819756359553567449189813472716587994721755966886238152975517115188726596854812248814546634192142549917345949376576229216872459286424526346336389746198836143225979351768994152231775485994546872814784', ...
'973923439162825941244397949168397868333683486928735468188446777449683669155198482635823548923749968469697568249469961166976539517519332336133847682981536366651541555878155845919276746811963423332428194147857913127786198359784563756325488721639938968957615654988468972614798574998453889662952978376243739845786635787174428334456445697482112356852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257387932343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587812598541752427491865671813291666814121223226992545314219497177652734984369963849157242345153332998724213765435776762541223151268969553451814846889239625985417524274918656718132916668'};
assert(isequal(sum_large_n(c),31469777))
digout =
'146977792440393798855180104942094684481602892678700201675541129312653009447832707996276484218452783601995252205759520110707941191539866743214676221180370023920494677178579783764493442628527496807685869231808851104540164257773793656821772410643177114972360011295202989820397285969066407347938582267968793164626671763653264837881939657356654068167878370562366659443915974445500313721250568890032789954901702296480349547113199237610703284020363815331550567643218685400226823018448650257038283237094658482214471555626436271212347241367405931633236597097092597532846404523801006549808346280687700329593403555420582013499244898089054447518602176586800236342795766685782574679317120722500524358927144765583661026353606141292629363023297657763004635625837739594951548045435597950732729960634001722254736672691'
carry =
3
|
15 | Pass |
c = {'16975498566235382323439429942346367223345138697688', ...
'91869558359687636166799769612858256164152222216357', ...
'55525883266429112266197718998852421933356186845126', ...
'39295793457812415422975917762632291314192135193313', ...
'15761179518437117657783764184671255987111898197563', ...
'59553567449189813472716587994721755966886238152975', ...
'51711518872659685481224881454663419214254991734594', ...
'93765762292238542948648858944697479553121519611252', ...
'17484411163889523574569276484266389923161485424925', ...
'81793279692744286781957782569896681841722633558459', ...
'19276746811963423332428194147857913127786198359784', ...
'56375632548872163993896895761565498846897261479857', ...
'49984538896629529783762437398457866357871744283344', ...
'56445697482112331512689695534518148468892396444622', ...
'13737788335388637354597935176899415223177548599454', ...
'68728147842168724592864245263463363897461988361432', ...
'51057761135648795316841323455859693737713378487164', ...
'91545738512752462739372316754667692732655674648836', ...
'65833296565657592111454767992271558547754279323439', ...
'16282594124439794916839786833368348692873546818844', ...
'67774496836691551984826358235489237499684696975682', ...
'49469961166976539517519332336133847682981536366651', ...
'54155587812598541752427491865671813291686976889186', ...
'95583596876361667997696128582561641522222163575552', ...
'58832664291122661977189988524219333561868451263568', ...
'52549677456267487454774798714651381817526276112148', ...
'65819152617899531567165296496585574368424348444231', ...
'43342573814121223226992545314219497177652734984369', ...
'96384915724234515333299872421376543577676254122929', ...
'57934578124154229759177626322913141921351933131576', ...
'11795184371176577837641846712559871118966863173474', ...
'74774134328484748742893748728958622478835122752521', ...
'47697688918695583596876361667997696128582561641522', ...
'22216357555258832664291122661977189988524219333561', ...
'86845126356852549677456267487454774798714651381817', ...
'52627611214865819152617899531567165296496585574368', ...
'42434844423143342573814121223226992545314219497177', ...
'65273498436996384915724234515333299872421376543577', ...
'67625412292957934578124154229759177626322913141921', ...
'35193313157611795184371176577837673923439162825941', ...
'24439794916839786833368348692873546818844677744968', ...
'36691551984826358235489237499684696975682494699611', ...
'66976539517519332336133847682981536366651541555878', ...
'15584591927674681196342333242819414785791312778619', ...
'83597845637563254887216399389689576156549884689726', ...
'14798574998453889662952978376243739845786635787174', ...
'42833445644569748211233151268969553451814846889239', ...
'62598541752427491865671813291666841846712559871189', ...
'72712636767379814476842172453652813351412836947746', ...
'19238574317456137722114675162212223323976221976326', ...
'92341749462427847358643544674421336995377771752182', ...
'26957295718725354423196929864373177764455845919276', ...
'74681196342333242819414785791312778619835978456375', ...
'63254887216399389689576156549884689726147985749984', ...
'53889662952978376243739845786635787174428334456445', ...
'69748211233151268969553458697688918695583596876361', ...
'66799769612858256164152222216357555258832664291122', ...
'66197718998852421933356186845126356852549677456267', ...
'48745477479871465138181752627611214865819152617899', ...
'53156716529649658557436842434844423143342573814121', ...
'22322699254531421949717765273498436996384915724234', ...
'51533329987242137654357767625412292957934578124154', ...
'22975917762632291314192135193313157611795184371176', ...
'57783764184671255987111891814846889239683888569418', ...
'56293664214274876293934162174646198784665335389151', ...
'89191785896222116944997974633754676565179494854223', ...
'78718971477337563287912152911673242596141549855685', ...
'25496774562674874547747987146513818175262761121486', ...
'58191526178995315671652964965855743684243484442314', ...
'33425738141212232269925453142194971776527349843699', ...
'63849157242345153356852549677456267487454774798714', ...
'65138181752627611214865819152617899531567165296496', ...
'58557436842434844423143342573879323439162825941244', ...
'39794916839786833368348692873546818844677744968366', ...
'91551984826358235489237499684696975682494699611669', ...
'76539517519332336133847682981536366651541555878125', ...
'98541752427491865671813291666814121223226992545314', ...
'21949717765273498436996384915724234515333299872421', ...
'37654357767625412232998724213765435776762541229249', ...
'97649276847835953647457987914633766614537837282648', ...
'75584591927674681196342333231512689695428194147857', ...
'91312778619835978456373762437398457866357563254887', ...
'21639938968957615658574998453889498846897261315126', ...
'89695479857499845388966295297837624373984578632571', ...
'23563578717442833445644569748211233151268969538894', ...
'98846897614798574998453889662952978376243739845786', ...
'63578717442833445644569748211233151268969553451814', ...
'84688923968723276225951185484578553451814846889568', ...
'52549677456267487454774798714651381817526276112148', ...
'65819152617899531567165296496585574368424348444231', ...
'43342573879323439162825941244397949168397868333683', ...
'48692873546818844677744968366915519848263582354892', ...
'37499684696975682494699611669765395175193323361338', ...
'47682981536366651541555878125985417524274918656718', ...
'13291666814121223226992545314219497177652734984369', ...
'96384915724234515333299872421376543577676541222396', ...
'50852549677456267487454774798714651381817526276112', ...
'14865819152617899531567165296496585574368424348444', ...
'23143342573879323439162825941244397949168397868333', ...
'68348692873546818844677744968366915519848263582354', ...
'89237499684696975682494699611669765395175193323361', ...
'33847682981536366651541555878125985417524274918656', ...
'71813291666814121223226992545314219497177652734984', ...
'36996384915724234515333299872421376543575584591927', ...
'67468119634233323151268969542819414785791312778619', ...
'83597845637376243739845786635756325488721639938968', ...
'95761565857499845388949884689726131512689695479857', ...
'49984538896629529783762437398457863257123563578717', ...
'44283344564456974821123315126896953889498846897614', ...
'79857499845388966295297837624373984578663578717442', ...
'83344564456974821123315126896955345181484688923968', ...
'72327622595118548457855345181484688923967676254122', ...
'87315399417891567767462193692249432442416168356156', ...
'28985373966213897736849135176588835711359733896318', ...
'69163824455845919276746811963423332428194147857913', ...
'12778619835978456375632548872163993896895761565498', ...
'84689726147985749984538896629529783762437398457866', ...
'35787174428334456445697482112331512689695534518148', ...
'46889239687262936642142748762939341621746461987846', ...
'65335389151891917858962221169449979746337546765651', ...
'79494854223787189714773375632879121529116732425961', ...
'41549855685254967745626748745477479871465138181752', ...
'62761121486581915261789953156716529649658557436842', ...
'43484442314334257381412122322699254531421949717765', ...
'27349843699638491572423451533329987242137654357767', ...
'62541229249976492768478359536474579387914633766614', ...
'53783728264832762259511854845783691643379282984758', ...
'41692471976255989749534767995921365954570182534623', ...
'24185429486488589446974795531215196112521748441116', ...
'38895235745692764842663899231614854249258179327969', ...
'27442867819577825698966818417226335584591927674681', ...
'19634233324281941478579131277861983597845637563254', ...
'88721639938968957615654988468972614798574998453889', ...
'66295297837624373984578663578717442833445644569748', ...
'21123315126896955345181484688923964446221373778833', ...
'53886373546475498566235382323439429942346367223345', ...
'13869768891869558359687636166799769612858256164152', ...
'22221635755525883266429112266197718998852421933356', ...
'18684512639295793457812415422975917762632291314192', ...
'13519331315761179518437117657783764184671255987111', ...
'89819756359553567449189813472716587994721755966886', ...
'23815297551711518872659685481224881454663419214254', ...
'99173459493765762292168724592864245263463363897461', ...
'98836143225979351768994152231775485994546872814784', ...
'97392343916282594124439794916839786833368348692873', ...
'54681884467774496836691551984826358235489237499684', ...
'69697568249469961166976539517519332336133847682981', ...
'53636665154155587815584591927674681196342333242819', ...
'41478579131277861983597845637563254887216399389689', ...
'57615654988468972614798574998453889662952978376243', ...
'73984578663578717442833445644569748211235685254967', ...
'74562674874547747987146513818175262761121486581915', ...
'26178995315671652964965855743684243484442314334257', ...
'38793234391628259412443979491683978683336834869287', ...
'35468188446777449683669155198482635823548923749968', ...
'46969756824946996116697653951751933233613384768298', ...
'15363666515415558781259854175242749186567181329166', ...
'68141212232269925453142194971776527349843699638491', ...
'57242345153332998724213765435776762541223151268969', ...
'55345181484688923962585417524274918656718132916668'};
assert(isequal(sum_large_n(c),87139239))
digout =
'13923945439840180055327556291361663735343047713633'
carry =
87
|
Check if number exists in vector
4465 Solvers
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
225 Solvers
73 Solvers
Approximation of Pi (vector inputs)
89 Solvers
251 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!