{"group":{"id":1,"name":"Community","lockable":false,"created_at":"2012-01-18T18:02:15.000Z","updated_at":"2026-04-06T14:01:22.000Z","description":"Problems submitted by members of the MATLAB Central community.","is_default":true,"created_by":161519,"badge_id":null,"featured":false,"trending":false,"solution_count_in_trending_period":0,"trending_last_calculated":"2026-04-06T00:00:00.000Z","image_id":null,"published":true,"community_created":false,"status_id":2,"is_default_group_for_player":false,"deleted_by":null,"deleted_at":null,"restored_by":null,"restored_at":null,"description_opc":null,"description_html":null,"published_at":null},"problems":[{"id":44733,"title":"Large Sum (inspired by Project Euler 13)","description":"Your function will be provided an arbitrary number of numbers of arbitrary sizes as a cell array of strings. Some numbers will be very large. The function must return the first eight digits of the sum of all the numbers as an integer.","description_html":"\u003cp\u003eYour function will be provided an arbitrary number of numbers of arbitrary sizes as a cell array of strings. Some numbers will be very large. The function must return the first eight digits of the sum of all the numbers as an integer.\u003c/p\u003e","function_template":"function y = sum_large_n(c)\r\n y = sum(c);\r\nend","test_suite":"%%\r\nassessFunctionAbsence({'regexp', 'regexpi'},'FileName','sum_large_n.m')\r\n\r\n%%\r\nfiletext = fileread('sum_large_n.m');\r\nassert(isempty(strfind(filetext, 'java')),'java forbidden')\r\n\r\n%%\r\nc = {'12345678'};\r\nassert(isequal(sum_large_n(c),12345678))\r\n\r\n%%\r\nc = {'1234567890','9'};\r\nassert(isequal(sum_large_n(c),12345678))\r\n\r\n%%\r\nc = {'11223344','11223344'};\r\nassert(isequal(sum_large_n(c),22446688))\r\n\r\n%%\r\nc = {'1000000000','99','1'};\r\nassert(isequal(sum_large_n(c),10000001))\r\n\r\n%%\r\nc = {'100000000000000000000000000000000000000000','9999','9999','9999'};\r\nassert(isequal(sum_large_n(c),10000000))\r\n\r\n%%\r\nc = {'15934672','34627951','63195472','98416599','13652729','32167958','32368197'};\r\nassert(isequal(sum_large_n(c),29036357))\r\n\r\n%%\r\nc = {'65281492489834938429841293654542962328498421794427152995741538492824984','37812654179574152749152791584279521794471529572419527149652719458479854'};\r\nassert(isequal(sum_large_n(c),10309414))\r\n\r\n%%\r\nc = {'64854985662353823234394299423463672233451381975635955356744918981347271658799472175596688623815297551711518872659685481224881454663419214254991734594937657622921687245928642452634633638974619883614322', ...\r\n     '41657761135648795316841323455859693737713378487164915457385127524627393723167546676927326556746488366583329656565759211145476799227155854775426317347474774134328484748742893748728958622478835122752521', ...\r\n     '86976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126392957934578124154229759177626322913141921351933131576117951843711765778376418467125598711189'};\r\nassert(isequal(sum_large_n(c),19348963))\r\n\r\n%%\r\nc = {'64854985662353823234394299423463672233451381975635955356744918981347271658799472175596688623815297551711518872659685481224881454663419214254991734594937657622921687245928642452634633638974619883614322', ...\r\n     '41657761135648795316841323455859693737713378487164915457385127524627393723167546676927326556746488366583329656565759211145476799227155854775426317347474774134328484748742893748728958622478835122752521', ...\r\n     '86976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126392957934578124154229759177626322913141921351933131576117951843711765778376418467125598711189', ...\r\n     '72712636767379814476842172453652813351412836947746192385743174561377221146751622122233239762219763269234174946242784735864354467442133699537777175218226957295718725354423196929864373177764483888569418', ...\r\n     '64936642142748762939341621746461987846653353891518919178589622211694499797463375467656517949485422378718971477337563287912152911673242596141549859249976492768478359536474579387914633766614537837282648', ...\r\n     '55845919276746811963423332428194147857913127786198359784563756325488721639938968957615654988468972614798574998453889662952978376243739845786635787174428334456445697482112331512689695534518148468892396', ...\r\n     '56852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257381412122322699254531421949717765273498436996384915724234515333299872421376543577676254122', ...\r\n     '74731539941789156776746219369224943244241616835615628985373966213897736849135176588835711359733896318691638244872327622595118548457836916433792829847584169247197625598974953476799592136595457182534623', ...\r\n     '22385429486488589446974795531215196112521748441116388952357456927648426638992316148542492581793279692744286781957782569896681841722633444622137377883353886373545979351768994152231775485994546872814784', ...\r\n     '79323439162825941244397949168397868333683486928735468188446777449683669155198482635823548923749968469697568249469961166976539517519332336133847682981536366651541555878125985417524274918656718132916668'};\r\nassert(isequal(sum_large_n(c),62027779))\r\n\r\n%%\r\nc = {'6475498566235382323439429942346367223345138697688918695583596876361667997696128582561641522222163575552588326642911226619771899885242193335618684512639295793457812415422975917762632291314192135193313157611795184371176577837641846712559871118981975635955356744918981347271658799472175596688623815297551711518872659685481224881454663419214254991734594937657622921687245928642452634633638974619883614322', ...\r\n     '2165776113564879531684132345585969373771337848716491545738512752462739372316754667692732655674648836658332965656575921114547679922715585477542793234391628259412443979491683978683336834869287354681884467774496836691551984826358235489237499684696975682494699611669765395175193323361338476829815363666515415558781259854175242749186567181329166686317347474774134328484748742893748728958622478835122752521', ...\r\n     '8697688918695583596876361667997696128582561641522222163575552588326642911226619771899885242193335618684512635685254967745626748745477479871465138181752627611214865819152617899531567165296496585574368424348444231433425738141212232269925453142194971776527349843699638491572423451533329987242137654357767625412292957934578124154229759177626322913141921351933131576117951843711765778376418467125598711189', ...\r\n     '7271263676737981447684217245365281335141283694774619238574317456137722114675162212223323976221976326923417494624278473586435446744213369953777717521822695729571872535442319692986437317776445584591927674681196342333242819414785791312778619835978456375632548872163993896895761565498846897261479857499845388966295297837624373984578663578717442833445644569748211233151268969553451814846889239683888569418', ...\r\n     '6293664214274876293934162174646198784665335389151891917858962221169449979746337546765651794948542237871897147733756328791215291167324259614154985568525496774562674874547747987146513818175262761121486581915261789953156716529649658557436842434844423143342573814121223226992545314219497177652734984369963849157242345153332998724213765435776762541229249976492768478359536474579387914633766614537837282648', ...\r\n     '5584591927674681196342333231512689695428194147857913127786198359784563737624373984578663575632548872163993896895761565857499845388949884689726131512689695479857499845388966295297837624373984578632571235635787174428334456445697482112331512689695388949884689761479857499845388966295297837624373984578663578717442833445644569748211233151268969553451814846889239687232762259511854845785534518148468892396', ...\r\n     '5685254967745626748745477479871465138181752627611214865819152617899531567165296496585574368424348444231433425738793234391628259412443979491683978683336834869287354681884467774496836691551984826358235489237499684696975682494699611669765395175193323361338476829815363666515415558781259854175242749186567181329166681412122322699254531421949717765273498436996384915724234515333299872421376543577676254122', ...\r\n     '7873153994178915677674621936922494324424161683561562898537396621389773684913517658883571135973389631869163824455845919276746811963423332428194147857913127786198359784563756325488721639938968957615654988468972614798574998453889662952978376243739845786635787174428334456445697482112331512689695534518148468892396872327622595118548457836916433792829847584169247197625598974953476799592136595457182534623', ...\r\n     '2238542948648858944697479553121519611252174844111638895235745692764842663899231614854249258179327969274428678195778256989668184172263355845919276746811963423332428194147857913127786198359784563756325488721639938968957615654988468972614798574998453889662952978376243739845786635787174428334456445697482112331512689695534518148468892396444622137377883353886373545979351768994152231775485994546872814784', ...\r\n     '7392343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587815584591927674681196342333242819414785791312778619835978456375632548872163993896895761565498846897261479857499845388966295297837624373984578663578717442833445644569748211233151268969553451814846889239625985417524274918656718132916668'};\r\nassert(isequal(sum_large_n(c),59677779))\r\n\r\n%%\r\nc = {'69754985662353823234394299423463672233451386976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126392957934578124154229759177626322913141921351933131576117951843711765778376418467125598711189819756359553567449189813472716587994721755966886238152975517115188726596854812248814546634192142549917345949376576229223854294864885894469747955312151961125217484411163889523574569276484266389923161485424925817932796927442867819577825698966818417226335584591927674681196342333242819414785791312778619835978456375632548872163993896895761565498846897261479857499845388966295297837624373984578663578717442833445644569748211233151268969553451814846889239644462213737788335388637354597935176899415223177548599454687281478421687245928642452634633638974619883614322', ...\r\n     '51057761135648795316841323455859693737713378487164915457385127524627393723167546676927326556746488366583329656565759211145476799227155854775427932343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587812598541752427491865671813291686976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126356852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257381412122322699254531421949717765273498436996384915724234515333299872421376543577676254122929579345781241542297591776263229131419213519331315761179518437117657783764184671255987111896686317347474774134328484748742893748728958622478835122752521', ...\r\n     '76976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126356852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257381412122322699254531421949717765273498436996384915724234515333299872421376543577676254122929579345781241542297591776263229131419213519331315761179518437117657783767392343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587815584591927674681196342333242819414785791312778619835978456375632548872163993896895761565498846897261479857499845388966295297837624373984578663578717442833445644569748211233151268969553451814846889239625985417524274918656718132916668418467125598711189', ...\r\n     '72712636767379814476842172453652813351412836947746192385743174561377221146751622122233239762219763269234174946242784735864354467442133699537777175218226957295718725354423196929864373177764455845919276746811963423332428194147857913127786198359784563756325488721639938968957615654988468972614798574998453889662952978376243739845786635787174428334456445697482112331512689695534586976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126356852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257381412122322699254531421949717765273498436996384915724234515333299872421376543577676254122929579345781241542297591776263229131419213519331315761179518437117657783764184671255987111891814846889239683888569418', ...\r\n     '62936642142748762939341621746461987846653353891518919178589622211694499797463375467656517949485422378718971477337563287912152911673242596141549855685254967745626748745477479871465138181752627611214865819152617899531567165296496585574368424348444231433425738141212232269925453142194971776527349843699638491572423451533568525496774562674874547747987146513818175262761121486581915261789953156716529649658557436842434844423143342573879323439162825941244397949168397868333683486928735468188446777449683669155198482635823548923749968469697568249469961166976539517519332336133847682981536366651541555878125985417524274918656718132916668141212232269925453142194971776527349843699638491572423451533329987242137654357767625412232998724213765435776762541229249976492768478359536474579387914633766614537837282648', ...\r\n     '55845919276746811963423332315126896954281941478579131277861983597845637376243739845786635756325488721639938968957615658574998453889498846897261315126896954798574998453889662952978376243739845786325712356357871744283344564456974821123315126896953889498846897614798574998453889662952978376243739845786635787174428334456445697482112331512689695534518148468892396872327622595118548457855345181484688956852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257387932343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587812598541752427491865671813291666814121223226992545314219497177652734984369963849157242345153332998724213765435776762541222396', ...\r\n     '50852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257387932343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587812598541752427491865671813291666814121223226992545314219497177652734984369963849157242345153332998724213765435755845919276746811963423332315126896954281941478579131277861983597845637376243739845786635756325488721639938968957615658574998453889498846897261315126896954798574998453889662952978376243739845786325712356357871744283344564456974821123315126896953889498846897614798574998453889662952978376243739845786635787174428334456445697482112331512689695534518148468892396872327622595118548457855345181484688923967676254122', ...\r\n     '18731539941789156776746219369224943244241616835615628985373966213897736849135176588835711359733896318691638244558459192767468119634233324281941478579131277861983597845637563254887216399389689576156549884689726147985749984538896629529783762437398457866357871744283344564456974821123315126896955345181484688923968726293664214274876293934162174646198784665335389151891917858962221169449979746337546765651794948542237871897147733756328791215291167324259614154985568525496774562674874547747987146513818175262761121486581915261789953156716529649658557436842434844423143342573814121223226992545314219497177652734984369963849157242345153332998724213765435776762541229249976492768478359536474579387914633766614537837282648327622595118548457836916433792829847584169247197625598974953476799592136595457182534623', ...\r\n     '24185429486488589446974795531215196112521748441116388952357456927648426638992316148542492581793279692744286781957782569896681841722633558459192767468119634233324281941478579131277861983597845637563254887216399389689576156549884689726147985749984538896629529783762437398457866357871744283344564456974821123315126896955345181484688923964446221373778833538863735464754985662353823234394299423463672233451386976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126392957934578124154229759177626322913141921351933131576117951843711765778376418467125598711189819756359553567449189813472716587994721755966886238152975517115188726596854812248814546634192142549917345949376576229216872459286424526346336389746198836143225979351768994152231775485994546872814784', ...\r\n     '73923439162825941244397949168397868333683486928735468188446777449683669155198482635823548923749968469697568249469961166976539517519332336133847682981536366651541555878155845919276746811963423332428194147857913127786198359784563756325488721639938968957615654988468972614798574998453889662952978376243739845786635787174428334456445697482112356852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257387932343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587812598541752427491865671813291666814121223226992545314219497177652734984369963849157242345153332998724213765435776762541223151268969553451814846889239625985417524274918656718132916668'};\r\nassert(isequal(sum_large_n(c),55697779))\r\n\r\n%%\r\nc = {'169754985662353823234394299423463672233451386976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126392957934578124154229759177626322913141921351933131576117951843711765778376418467125598711189819756359553567449189813472716587994721755966886238152975517115188726596854812248814546634192142549917345949376576229223854294864885894469747955312151961125217484411163889523574569276484266389923161485424925817932796927442867819577825698966818417226335584591927674681196342333242819414785791312778619835978456375632548872163993896895761565498846897261479857499845388966295297837624373984578663578717442833445644569748211233151268969553451814846889239644462213737788335388637354597935176899415223177548599454687281478421687245928642452634633638974619883614322', ...\r\n     '51057761135648795316841323455859693737713378487164915457385127524627393723167546676927326556746488366583329656565759211145476799227155854775427932343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587812598541752427491865671813291686976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126356852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257381412122322699254531421949717765273498436996384915724234515333299872421376543577676254122929579345781241542297591776263229131419213519331315761179518437117657783764184671255987111896686317347474774134328484748742893748728958622478835122752521', ...\r\n     '476976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126356852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257381412122322699254531421949717765273498436996384915724234515333299872421376543577676254122929579345781241542297591776263229131419213519331315761179518437117657783767392343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587815584591927674681196342333242819414785791312778619835978456375632548872163993896895761565498846897261479857499845388966295297837624373984578663578717442833445644569748211233151268969553451814846889239625985417524274918656718132916668418467125598711189', ...\r\n     '72712636767379814476842172453652813351412836947746192385743174561377221146751622122233239762219763269234174946242784735864354467442133699537777175218226957295718725354423196929864373177764455845919276746811963423332428194147857913127786198359784563756325488721639938968957615654988468972614798574998453889662952978376243739845786635787174428334456445697482112331512689695534586976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126356852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257381412122322699254531421949717765273498436996384915724234515333299872421376543577676254122929579345781241542297591776263229131419213519331315761179518437117657783764184671255987111891814846889239683888569418', ...\r\n     '562936642142748762939341621746461987846653353891518919178589622211694499797463375467656517949485422378718971477337563287912152911673242596141549855685254967745626748745477479871465138181752627611214865819152617899531567165296496585574368424348444231433425738141212232269925453142194971776527349843699638491572423451533568525496774562674874547747987146513818175262761121486581915261789953156716529649658557436842434844423143342573879323439162825941244397949168397868333683486928735468188446777449683669155198482635823548923749968469697568249469961166976539517519332336133847682981536366651541555878125985417524274918656718132916668141212232269925453142194971776527349843699638491572423451533329987242137654357767625412232998724213765435776762541229249976492768478359536474579387914633766614537837282648', ...\r\n     '755845919276746811963423332315126896954281941478579131277861983597845637376243739845786635756325488721639938968957615658574998453889498846897261315126896954798574998453889662952978376243739845786325712356357871744283344564456974821123315126896953889498846897614798574998453889662952978376243739845786635787174428334456445697482112331512689695534518148468892396872327622595118548457855345181484688956852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257387932343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587812598541752427491865671813291666814121223226992545314219497177652734984369963849157242345153332998724213765435776762541222396', ...\r\n     '50852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257387932343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587812598541752427491865671813291666814121223226992545314219497177652734984369963849157242345153332998724213765435755845919276746811963423332315126896954281941478579131277861983597845637376243739845786635756325488721639938968957615658574998453889498846897261315126896954798574998453889662952978376243739845786325712356357871744283344564456974821123315126896953889498846897614798574998453889662952978376243739845786635787174428334456445697482112331512689695534518148468892396872327622595118548457855345181484688923967676254122', ...\r\n     '8731539941789156776746219369224943244241616835615628985373966213897736849135176588835711359733896318691638244558459192767468119634233324281941478579131277861983597845637563254887216399389689576156549884689726147985749984538896629529783762437398457866357871744283344564456974821123315126896955345181484688923968726293664214274876293934162174646198784665335389151891917858962221169449979746337546765651794948542237871897147733756328791215291167324259614154985568525496774562674874547747987146513818175262761121486581915261789953156716529649658557436842434844423143342573814121223226992545314219497177652734984369963849157242345153332998724213765435776762541229249976492768478359536474579387914633766614537837282648327622595118548457836916433792829847584169247197625598974953476799592136595457182534623', ...\r\n     '24185429486488589446974795531215196112521748441116388952357456927648426638992316148542492581793279692744286781957782569896681841722633558459192767468119634233324281941478579131277861983597845637563254887216399389689576156549884689726147985749984538896629529783762437398457866357871744283344564456974821123315126896955345181484688923964446221373778833538863735464754985662353823234394299423463672233451386976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126392957934578124154229759177626322913141921351933131576117951843711765778376418467125598711189819756359553567449189813472716587994721755966886238152975517115188726596854812248814546634192142549917345949376576229216872459286424526346336389746198836143225979351768994152231775485994546872814784', ...\r\n     '973923439162825941244397949168397868333683486928735468188446777449683669155198482635823548923749968469697568249469961166976539517519332336133847682981536366651541555878155845919276746811963423332428194147857913127786198359784563756325488721639938968957615654988468972614798574998453889662952978376243739845786635787174428334456445697482112356852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257387932343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587812598541752427491865671813291666814121223226992545314219497177652734984369963849157242345153332998724213765435776762541223151268969553451814846889239625985417524274918656718132916668'};\r\nassert(isequal(sum_large_n(c),31469777))\r\n\r\n%%\r\nc = {'16975498566235382323439429942346367223345138697688', ...\r\n     '91869558359687636166799769612858256164152222216357', ...\r\n     '55525883266429112266197718998852421933356186845126', ...\r\n     '39295793457812415422975917762632291314192135193313', ...\r\n     '15761179518437117657783764184671255987111898197563', ...\r\n     '59553567449189813472716587994721755966886238152975', ...\r\n     '51711518872659685481224881454663419214254991734594', ...\r\n     '93765762292238542948648858944697479553121519611252', ...\r\n     '17484411163889523574569276484266389923161485424925', ...\r\n     '81793279692744286781957782569896681841722633558459', ...\r\n     '19276746811963423332428194147857913127786198359784', ...\r\n     '56375632548872163993896895761565498846897261479857', ...\r\n     '49984538896629529783762437398457866357871744283344', ...\r\n     '56445697482112331512689695534518148468892396444622', ...\r\n     '13737788335388637354597935176899415223177548599454', ...\r\n     '68728147842168724592864245263463363897461988361432', ...\r\n     '51057761135648795316841323455859693737713378487164', ...\r\n     '91545738512752462739372316754667692732655674648836', ...\r\n     '65833296565657592111454767992271558547754279323439', ...\r\n     '16282594124439794916839786833368348692873546818844', ...\r\n     '67774496836691551984826358235489237499684696975682', ...\r\n     '49469961166976539517519332336133847682981536366651', ...\r\n     '54155587812598541752427491865671813291686976889186', ...\r\n     '95583596876361667997696128582561641522222163575552', ...\r\n     '58832664291122661977189988524219333561868451263568', ...\r\n     '52549677456267487454774798714651381817526276112148', ...\r\n     '65819152617899531567165296496585574368424348444231', ...\r\n     '43342573814121223226992545314219497177652734984369', ...\r\n     '96384915724234515333299872421376543577676254122929', ...\r\n     '57934578124154229759177626322913141921351933131576', ...\r\n     '11795184371176577837641846712559871118966863173474', ...\r\n     '74774134328484748742893748728958622478835122752521', ...\r\n     '47697688918695583596876361667997696128582561641522', ...\r\n     '22216357555258832664291122661977189988524219333561', ...\r\n     '86845126356852549677456267487454774798714651381817', ...\r\n     '52627611214865819152617899531567165296496585574368', ...\r\n     '42434844423143342573814121223226992545314219497177', ...\r\n     '65273498436996384915724234515333299872421376543577', ...\r\n     '67625412292957934578124154229759177626322913141921', ...\r\n     '35193313157611795184371176577837673923439162825941', ...\r\n     '24439794916839786833368348692873546818844677744968', ...\r\n     '36691551984826358235489237499684696975682494699611', ...\r\n     '66976539517519332336133847682981536366651541555878', ...\r\n     '15584591927674681196342333242819414785791312778619', ...\r\n     '83597845637563254887216399389689576156549884689726', ...\r\n     '14798574998453889662952978376243739845786635787174', ...\r\n     '42833445644569748211233151268969553451814846889239', ...\r\n     '62598541752427491865671813291666841846712559871189', ...\r\n     '72712636767379814476842172453652813351412836947746', ...\r\n     '19238574317456137722114675162212223323976221976326', ...\r\n     '92341749462427847358643544674421336995377771752182', ...\r\n     '26957295718725354423196929864373177764455845919276', ...\r\n     '74681196342333242819414785791312778619835978456375', ...\r\n     '63254887216399389689576156549884689726147985749984', ...\r\n     '53889662952978376243739845786635787174428334456445', ...\r\n     '69748211233151268969553458697688918695583596876361', ...\r\n     '66799769612858256164152222216357555258832664291122', ...\r\n     '66197718998852421933356186845126356852549677456267', ...\r\n     '48745477479871465138181752627611214865819152617899', ...\r\n     '53156716529649658557436842434844423143342573814121', ...\r\n     '22322699254531421949717765273498436996384915724234', ...\r\n     '51533329987242137654357767625412292957934578124154', ...\r\n     '22975917762632291314192135193313157611795184371176', ...\r\n     '57783764184671255987111891814846889239683888569418', ...\r\n     '56293664214274876293934162174646198784665335389151', ...\r\n     '89191785896222116944997974633754676565179494854223', ...\r\n     '78718971477337563287912152911673242596141549855685', ...\r\n     '25496774562674874547747987146513818175262761121486', ...\r\n     '58191526178995315671652964965855743684243484442314', ...\r\n     '33425738141212232269925453142194971776527349843699', ...\r\n     '63849157242345153356852549677456267487454774798714', ...\r\n     '65138181752627611214865819152617899531567165296496', ...\r\n     '58557436842434844423143342573879323439162825941244', ...\r\n     '39794916839786833368348692873546818844677744968366', ...\r\n     '91551984826358235489237499684696975682494699611669', ...\r\n     '76539517519332336133847682981536366651541555878125', ...\r\n     '98541752427491865671813291666814121223226992545314', ...\r\n     '21949717765273498436996384915724234515333299872421', ...\r\n     '37654357767625412232998724213765435776762541229249', ...\r\n     '97649276847835953647457987914633766614537837282648', ...\r\n     '75584591927674681196342333231512689695428194147857', ...\r\n     '91312778619835978456373762437398457866357563254887', ...\r\n     '21639938968957615658574998453889498846897261315126', ...\r\n     '89695479857499845388966295297837624373984578632571', ...\r\n     '23563578717442833445644569748211233151268969538894', ...\r\n     '98846897614798574998453889662952978376243739845786', ...\r\n     '63578717442833445644569748211233151268969553451814', ...\r\n     '84688923968723276225951185484578553451814846889568', ...\r\n     '52549677456267487454774798714651381817526276112148', ...\r\n     '65819152617899531567165296496585574368424348444231', ...\r\n     '43342573879323439162825941244397949168397868333683', ...\r\n     '48692873546818844677744968366915519848263582354892', ...\r\n     '37499684696975682494699611669765395175193323361338', ...\r\n     '47682981536366651541555878125985417524274918656718', ...\r\n     '13291666814121223226992545314219497177652734984369', ...\r\n     '96384915724234515333299872421376543577676541222396', ...\r\n     '50852549677456267487454774798714651381817526276112', ...\r\n     '14865819152617899531567165296496585574368424348444', ...\r\n     '23143342573879323439162825941244397949168397868333', ...\r\n     '68348692873546818844677744968366915519848263582354', ...\r\n     '89237499684696975682494699611669765395175193323361', ...\r\n     '33847682981536366651541555878125985417524274918656', ...\r\n     '71813291666814121223226992545314219497177652734984', ...\r\n     '36996384915724234515333299872421376543575584591927', ...\r\n     '67468119634233323151268969542819414785791312778619', ...\r\n     '83597845637376243739845786635756325488721639938968', ...\r\n     '95761565857499845388949884689726131512689695479857', ...\r\n     '49984538896629529783762437398457863257123563578717', ...\r\n     '44283344564456974821123315126896953889498846897614', ...\r\n     '79857499845388966295297837624373984578663578717442', ...\r\n     '83344564456974821123315126896955345181484688923968', ...\r\n     '72327622595118548457855345181484688923967676254122', ...\r\n     '87315399417891567767462193692249432442416168356156', ...\r\n     '28985373966213897736849135176588835711359733896318', ...\r\n     '69163824455845919276746811963423332428194147857913', ...\r\n     '12778619835978456375632548872163993896895761565498', ...\r\n     '84689726147985749984538896629529783762437398457866', ...\r\n     '35787174428334456445697482112331512689695534518148', ...\r\n     '46889239687262936642142748762939341621746461987846', ...\r\n     '65335389151891917858962221169449979746337546765651', ...\r\n     '79494854223787189714773375632879121529116732425961', ...\r\n     '41549855685254967745626748745477479871465138181752', ...\r\n     '62761121486581915261789953156716529649658557436842', ...\r\n     '43484442314334257381412122322699254531421949717765', ...\r\n     '27349843699638491572423451533329987242137654357767', ...\r\n     '62541229249976492768478359536474579387914633766614', ...\r\n     '53783728264832762259511854845783691643379282984758', ...\r\n     '41692471976255989749534767995921365954570182534623', ...\r\n     '24185429486488589446974795531215196112521748441116', ...\r\n     '38895235745692764842663899231614854249258179327969', ...\r\n     '27442867819577825698966818417226335584591927674681', ...\r\n     '19634233324281941478579131277861983597845637563254', ...\r\n     '88721639938968957615654988468972614798574998453889', ...\r\n     '66295297837624373984578663578717442833445644569748', ...\r\n     '21123315126896955345181484688923964446221373778833', ...\r\n     '53886373546475498566235382323439429942346367223345', ...\r\n     '13869768891869558359687636166799769612858256164152', ...\r\n     '22221635755525883266429112266197718998852421933356', ...\r\n     '18684512639295793457812415422975917762632291314192', ...\r\n     '13519331315761179518437117657783764184671255987111', ...\r\n     '89819756359553567449189813472716587994721755966886', ...\r\n     '23815297551711518872659685481224881454663419214254', ...\r\n     '99173459493765762292168724592864245263463363897461', ...\r\n     '98836143225979351768994152231775485994546872814784', ...\r\n     '97392343916282594124439794916839786833368348692873', ...\r\n     '54681884467774496836691551984826358235489237499684', ...\r\n     '69697568249469961166976539517519332336133847682981', ...\r\n     '53636665154155587815584591927674681196342333242819', ...\r\n     '41478579131277861983597845637563254887216399389689', ...\r\n     '57615654988468972614798574998453889662952978376243', ...\r\n     '73984578663578717442833445644569748211235685254967', ...\r\n     '74562674874547747987146513818175262761121486581915', ...\r\n     '26178995315671652964965855743684243484442314334257', ...\r\n     '38793234391628259412443979491683978683336834869287', ...\r\n     '35468188446777449683669155198482635823548923749968', ...\r\n     '46969756824946996116697653951751933233613384768298', ...\r\n     '15363666515415558781259854175242749186567181329166', ...\r\n     '68141212232269925453142194971776527349843699638491', ...\r\n     '57242345153332998724213765435776762541223151268969', ...\r\n     '55345181484688923962585417524274918656718132916668'};\r\nassert(isequal(sum_large_n(c),87139239))","published":true,"deleted":false,"likes_count":2,"comments_count":0,"created_by":26769,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":114,"test_suite_updated_at":"2018-08-20T17:27:20.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2018-08-20T17:18:24.000Z","updated_at":"2026-01-05T00:23:53.000Z","published_at":"2018-08-20T17:18:24.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eYour function will be provided an arbitrary number of numbers of arbitrary sizes as a cell array of strings. Some numbers will be very large. The function must return the first eight digits of the sum of all the numbers as an integer.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"}],"problem_search":{"errors":[],"problems":[{"id":44733,"title":"Large Sum (inspired by Project Euler 13)","description":"Your function will be provided an arbitrary number of numbers of arbitrary sizes as a cell array of strings. Some numbers will be very large. The function must return the first eight digits of the sum of all the numbers as an integer.","description_html":"\u003cp\u003eYour function will be provided an arbitrary number of numbers of arbitrary sizes as a cell array of strings. Some numbers will be very large. The function must return the first eight digits of the sum of all the numbers as an integer.\u003c/p\u003e","function_template":"function y = sum_large_n(c)\r\n y = sum(c);\r\nend","test_suite":"%%\r\nassessFunctionAbsence({'regexp', 'regexpi'},'FileName','sum_large_n.m')\r\n\r\n%%\r\nfiletext = fileread('sum_large_n.m');\r\nassert(isempty(strfind(filetext, 'java')),'java forbidden')\r\n\r\n%%\r\nc = {'12345678'};\r\nassert(isequal(sum_large_n(c),12345678))\r\n\r\n%%\r\nc = {'1234567890','9'};\r\nassert(isequal(sum_large_n(c),12345678))\r\n\r\n%%\r\nc = {'11223344','11223344'};\r\nassert(isequal(sum_large_n(c),22446688))\r\n\r\n%%\r\nc = {'1000000000','99','1'};\r\nassert(isequal(sum_large_n(c),10000001))\r\n\r\n%%\r\nc = {'100000000000000000000000000000000000000000','9999','9999','9999'};\r\nassert(isequal(sum_large_n(c),10000000))\r\n\r\n%%\r\nc = {'15934672','34627951','63195472','98416599','13652729','32167958','32368197'};\r\nassert(isequal(sum_large_n(c),29036357))\r\n\r\n%%\r\nc = {'65281492489834938429841293654542962328498421794427152995741538492824984','37812654179574152749152791584279521794471529572419527149652719458479854'};\r\nassert(isequal(sum_large_n(c),10309414))\r\n\r\n%%\r\nc = {'64854985662353823234394299423463672233451381975635955356744918981347271658799472175596688623815297551711518872659685481224881454663419214254991734594937657622921687245928642452634633638974619883614322', ...\r\n     '41657761135648795316841323455859693737713378487164915457385127524627393723167546676927326556746488366583329656565759211145476799227155854775426317347474774134328484748742893748728958622478835122752521', ...\r\n     '86976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126392957934578124154229759177626322913141921351933131576117951843711765778376418467125598711189'};\r\nassert(isequal(sum_large_n(c),19348963))\r\n\r\n%%\r\nc = {'64854985662353823234394299423463672233451381975635955356744918981347271658799472175596688623815297551711518872659685481224881454663419214254991734594937657622921687245928642452634633638974619883614322', ...\r\n     '41657761135648795316841323455859693737713378487164915457385127524627393723167546676927326556746488366583329656565759211145476799227155854775426317347474774134328484748742893748728958622478835122752521', ...\r\n     '86976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126392957934578124154229759177626322913141921351933131576117951843711765778376418467125598711189', ...\r\n     '72712636767379814476842172453652813351412836947746192385743174561377221146751622122233239762219763269234174946242784735864354467442133699537777175218226957295718725354423196929864373177764483888569418', ...\r\n     '64936642142748762939341621746461987846653353891518919178589622211694499797463375467656517949485422378718971477337563287912152911673242596141549859249976492768478359536474579387914633766614537837282648', ...\r\n     '55845919276746811963423332428194147857913127786198359784563756325488721639938968957615654988468972614798574998453889662952978376243739845786635787174428334456445697482112331512689695534518148468892396', ...\r\n     '56852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257381412122322699254531421949717765273498436996384915724234515333299872421376543577676254122', ...\r\n     '74731539941789156776746219369224943244241616835615628985373966213897736849135176588835711359733896318691638244872327622595118548457836916433792829847584169247197625598974953476799592136595457182534623', ...\r\n     '22385429486488589446974795531215196112521748441116388952357456927648426638992316148542492581793279692744286781957782569896681841722633444622137377883353886373545979351768994152231775485994546872814784', ...\r\n     '79323439162825941244397949168397868333683486928735468188446777449683669155198482635823548923749968469697568249469961166976539517519332336133847682981536366651541555878125985417524274918656718132916668'};\r\nassert(isequal(sum_large_n(c),62027779))\r\n\r\n%%\r\nc = {'6475498566235382323439429942346367223345138697688918695583596876361667997696128582561641522222163575552588326642911226619771899885242193335618684512639295793457812415422975917762632291314192135193313157611795184371176577837641846712559871118981975635955356744918981347271658799472175596688623815297551711518872659685481224881454663419214254991734594937657622921687245928642452634633638974619883614322', ...\r\n     '2165776113564879531684132345585969373771337848716491545738512752462739372316754667692732655674648836658332965656575921114547679922715585477542793234391628259412443979491683978683336834869287354681884467774496836691551984826358235489237499684696975682494699611669765395175193323361338476829815363666515415558781259854175242749186567181329166686317347474774134328484748742893748728958622478835122752521', ...\r\n     '8697688918695583596876361667997696128582561641522222163575552588326642911226619771899885242193335618684512635685254967745626748745477479871465138181752627611214865819152617899531567165296496585574368424348444231433425738141212232269925453142194971776527349843699638491572423451533329987242137654357767625412292957934578124154229759177626322913141921351933131576117951843711765778376418467125598711189', ...\r\n     '7271263676737981447684217245365281335141283694774619238574317456137722114675162212223323976221976326923417494624278473586435446744213369953777717521822695729571872535442319692986437317776445584591927674681196342333242819414785791312778619835978456375632548872163993896895761565498846897261479857499845388966295297837624373984578663578717442833445644569748211233151268969553451814846889239683888569418', ...\r\n     '6293664214274876293934162174646198784665335389151891917858962221169449979746337546765651794948542237871897147733756328791215291167324259614154985568525496774562674874547747987146513818175262761121486581915261789953156716529649658557436842434844423143342573814121223226992545314219497177652734984369963849157242345153332998724213765435776762541229249976492768478359536474579387914633766614537837282648', ...\r\n     '5584591927674681196342333231512689695428194147857913127786198359784563737624373984578663575632548872163993896895761565857499845388949884689726131512689695479857499845388966295297837624373984578632571235635787174428334456445697482112331512689695388949884689761479857499845388966295297837624373984578663578717442833445644569748211233151268969553451814846889239687232762259511854845785534518148468892396', ...\r\n     '5685254967745626748745477479871465138181752627611214865819152617899531567165296496585574368424348444231433425738793234391628259412443979491683978683336834869287354681884467774496836691551984826358235489237499684696975682494699611669765395175193323361338476829815363666515415558781259854175242749186567181329166681412122322699254531421949717765273498436996384915724234515333299872421376543577676254122', ...\r\n     '7873153994178915677674621936922494324424161683561562898537396621389773684913517658883571135973389631869163824455845919276746811963423332428194147857913127786198359784563756325488721639938968957615654988468972614798574998453889662952978376243739845786635787174428334456445697482112331512689695534518148468892396872327622595118548457836916433792829847584169247197625598974953476799592136595457182534623', ...\r\n     '2238542948648858944697479553121519611252174844111638895235745692764842663899231614854249258179327969274428678195778256989668184172263355845919276746811963423332428194147857913127786198359784563756325488721639938968957615654988468972614798574998453889662952978376243739845786635787174428334456445697482112331512689695534518148468892396444622137377883353886373545979351768994152231775485994546872814784', ...\r\n     '7392343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587815584591927674681196342333242819414785791312778619835978456375632548872163993896895761565498846897261479857499845388966295297837624373984578663578717442833445644569748211233151268969553451814846889239625985417524274918656718132916668'};\r\nassert(isequal(sum_large_n(c),59677779))\r\n\r\n%%\r\nc = {'69754985662353823234394299423463672233451386976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126392957934578124154229759177626322913141921351933131576117951843711765778376418467125598711189819756359553567449189813472716587994721755966886238152975517115188726596854812248814546634192142549917345949376576229223854294864885894469747955312151961125217484411163889523574569276484266389923161485424925817932796927442867819577825698966818417226335584591927674681196342333242819414785791312778619835978456375632548872163993896895761565498846897261479857499845388966295297837624373984578663578717442833445644569748211233151268969553451814846889239644462213737788335388637354597935176899415223177548599454687281478421687245928642452634633638974619883614322', ...\r\n     '51057761135648795316841323455859693737713378487164915457385127524627393723167546676927326556746488366583329656565759211145476799227155854775427932343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587812598541752427491865671813291686976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126356852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257381412122322699254531421949717765273498436996384915724234515333299872421376543577676254122929579345781241542297591776263229131419213519331315761179518437117657783764184671255987111896686317347474774134328484748742893748728958622478835122752521', ...\r\n     '76976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126356852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257381412122322699254531421949717765273498436996384915724234515333299872421376543577676254122929579345781241542297591776263229131419213519331315761179518437117657783767392343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587815584591927674681196342333242819414785791312778619835978456375632548872163993896895761565498846897261479857499845388966295297837624373984578663578717442833445644569748211233151268969553451814846889239625985417524274918656718132916668418467125598711189', ...\r\n     '72712636767379814476842172453652813351412836947746192385743174561377221146751622122233239762219763269234174946242784735864354467442133699537777175218226957295718725354423196929864373177764455845919276746811963423332428194147857913127786198359784563756325488721639938968957615654988468972614798574998453889662952978376243739845786635787174428334456445697482112331512689695534586976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126356852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257381412122322699254531421949717765273498436996384915724234515333299872421376543577676254122929579345781241542297591776263229131419213519331315761179518437117657783764184671255987111891814846889239683888569418', ...\r\n     '62936642142748762939341621746461987846653353891518919178589622211694499797463375467656517949485422378718971477337563287912152911673242596141549855685254967745626748745477479871465138181752627611214865819152617899531567165296496585574368424348444231433425738141212232269925453142194971776527349843699638491572423451533568525496774562674874547747987146513818175262761121486581915261789953156716529649658557436842434844423143342573879323439162825941244397949168397868333683486928735468188446777449683669155198482635823548923749968469697568249469961166976539517519332336133847682981536366651541555878125985417524274918656718132916668141212232269925453142194971776527349843699638491572423451533329987242137654357767625412232998724213765435776762541229249976492768478359536474579387914633766614537837282648', ...\r\n     '55845919276746811963423332315126896954281941478579131277861983597845637376243739845786635756325488721639938968957615658574998453889498846897261315126896954798574998453889662952978376243739845786325712356357871744283344564456974821123315126896953889498846897614798574998453889662952978376243739845786635787174428334456445697482112331512689695534518148468892396872327622595118548457855345181484688956852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257387932343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587812598541752427491865671813291666814121223226992545314219497177652734984369963849157242345153332998724213765435776762541222396', ...\r\n     '50852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257387932343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587812598541752427491865671813291666814121223226992545314219497177652734984369963849157242345153332998724213765435755845919276746811963423332315126896954281941478579131277861983597845637376243739845786635756325488721639938968957615658574998453889498846897261315126896954798574998453889662952978376243739845786325712356357871744283344564456974821123315126896953889498846897614798574998453889662952978376243739845786635787174428334456445697482112331512689695534518148468892396872327622595118548457855345181484688923967676254122', ...\r\n     '18731539941789156776746219369224943244241616835615628985373966213897736849135176588835711359733896318691638244558459192767468119634233324281941478579131277861983597845637563254887216399389689576156549884689726147985749984538896629529783762437398457866357871744283344564456974821123315126896955345181484688923968726293664214274876293934162174646198784665335389151891917858962221169449979746337546765651794948542237871897147733756328791215291167324259614154985568525496774562674874547747987146513818175262761121486581915261789953156716529649658557436842434844423143342573814121223226992545314219497177652734984369963849157242345153332998724213765435776762541229249976492768478359536474579387914633766614537837282648327622595118548457836916433792829847584169247197625598974953476799592136595457182534623', ...\r\n     '24185429486488589446974795531215196112521748441116388952357456927648426638992316148542492581793279692744286781957782569896681841722633558459192767468119634233324281941478579131277861983597845637563254887216399389689576156549884689726147985749984538896629529783762437398457866357871744283344564456974821123315126896955345181484688923964446221373778833538863735464754985662353823234394299423463672233451386976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126392957934578124154229759177626322913141921351933131576117951843711765778376418467125598711189819756359553567449189813472716587994721755966886238152975517115188726596854812248814546634192142549917345949376576229216872459286424526346336389746198836143225979351768994152231775485994546872814784', ...\r\n     '73923439162825941244397949168397868333683486928735468188446777449683669155198482635823548923749968469697568249469961166976539517519332336133847682981536366651541555878155845919276746811963423332428194147857913127786198359784563756325488721639938968957615654988468972614798574998453889662952978376243739845786635787174428334456445697482112356852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257387932343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587812598541752427491865671813291666814121223226992545314219497177652734984369963849157242345153332998724213765435776762541223151268969553451814846889239625985417524274918656718132916668'};\r\nassert(isequal(sum_large_n(c),55697779))\r\n\r\n%%\r\nc = {'169754985662353823234394299423463672233451386976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126392957934578124154229759177626322913141921351933131576117951843711765778376418467125598711189819756359553567449189813472716587994721755966886238152975517115188726596854812248814546634192142549917345949376576229223854294864885894469747955312151961125217484411163889523574569276484266389923161485424925817932796927442867819577825698966818417226335584591927674681196342333242819414785791312778619835978456375632548872163993896895761565498846897261479857499845388966295297837624373984578663578717442833445644569748211233151268969553451814846889239644462213737788335388637354597935176899415223177548599454687281478421687245928642452634633638974619883614322', ...\r\n     '51057761135648795316841323455859693737713378487164915457385127524627393723167546676927326556746488366583329656565759211145476799227155854775427932343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587812598541752427491865671813291686976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126356852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257381412122322699254531421949717765273498436996384915724234515333299872421376543577676254122929579345781241542297591776263229131419213519331315761179518437117657783764184671255987111896686317347474774134328484748742893748728958622478835122752521', ...\r\n     '476976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126356852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257381412122322699254531421949717765273498436996384915724234515333299872421376543577676254122929579345781241542297591776263229131419213519331315761179518437117657783767392343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587815584591927674681196342333242819414785791312778619835978456375632548872163993896895761565498846897261479857499845388966295297837624373984578663578717442833445644569748211233151268969553451814846889239625985417524274918656718132916668418467125598711189', ...\r\n     '72712636767379814476842172453652813351412836947746192385743174561377221146751622122233239762219763269234174946242784735864354467442133699537777175218226957295718725354423196929864373177764455845919276746811963423332428194147857913127786198359784563756325488721639938968957615654988468972614798574998453889662952978376243739845786635787174428334456445697482112331512689695534586976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126356852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257381412122322699254531421949717765273498436996384915724234515333299872421376543577676254122929579345781241542297591776263229131419213519331315761179518437117657783764184671255987111891814846889239683888569418', ...\r\n     '562936642142748762939341621746461987846653353891518919178589622211694499797463375467656517949485422378718971477337563287912152911673242596141549855685254967745626748745477479871465138181752627611214865819152617899531567165296496585574368424348444231433425738141212232269925453142194971776527349843699638491572423451533568525496774562674874547747987146513818175262761121486581915261789953156716529649658557436842434844423143342573879323439162825941244397949168397868333683486928735468188446777449683669155198482635823548923749968469697568249469961166976539517519332336133847682981536366651541555878125985417524274918656718132916668141212232269925453142194971776527349843699638491572423451533329987242137654357767625412232998724213765435776762541229249976492768478359536474579387914633766614537837282648', ...\r\n     '755845919276746811963423332315126896954281941478579131277861983597845637376243739845786635756325488721639938968957615658574998453889498846897261315126896954798574998453889662952978376243739845786325712356357871744283344564456974821123315126896953889498846897614798574998453889662952978376243739845786635787174428334456445697482112331512689695534518148468892396872327622595118548457855345181484688956852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257387932343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587812598541752427491865671813291666814121223226992545314219497177652734984369963849157242345153332998724213765435776762541222396', ...\r\n     '50852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257387932343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587812598541752427491865671813291666814121223226992545314219497177652734984369963849157242345153332998724213765435755845919276746811963423332315126896954281941478579131277861983597845637376243739845786635756325488721639938968957615658574998453889498846897261315126896954798574998453889662952978376243739845786325712356357871744283344564456974821123315126896953889498846897614798574998453889662952978376243739845786635787174428334456445697482112331512689695534518148468892396872327622595118548457855345181484688923967676254122', ...\r\n     '8731539941789156776746219369224943244241616835615628985373966213897736849135176588835711359733896318691638244558459192767468119634233324281941478579131277861983597845637563254887216399389689576156549884689726147985749984538896629529783762437398457866357871744283344564456974821123315126896955345181484688923968726293664214274876293934162174646198784665335389151891917858962221169449979746337546765651794948542237871897147733756328791215291167324259614154985568525496774562674874547747987146513818175262761121486581915261789953156716529649658557436842434844423143342573814121223226992545314219497177652734984369963849157242345153332998724213765435776762541229249976492768478359536474579387914633766614537837282648327622595118548457836916433792829847584169247197625598974953476799592136595457182534623', ...\r\n     '24185429486488589446974795531215196112521748441116388952357456927648426638992316148542492581793279692744286781957782569896681841722633558459192767468119634233324281941478579131277861983597845637563254887216399389689576156549884689726147985749984538896629529783762437398457866357871744283344564456974821123315126896955345181484688923964446221373778833538863735464754985662353823234394299423463672233451386976889186955835968763616679976961285825616415222221635755525883266429112266197718998852421933356186845126392957934578124154229759177626322913141921351933131576117951843711765778376418467125598711189819756359553567449189813472716587994721755966886238152975517115188726596854812248814546634192142549917345949376576229216872459286424526346336389746198836143225979351768994152231775485994546872814784', ...\r\n     '973923439162825941244397949168397868333683486928735468188446777449683669155198482635823548923749968469697568249469961166976539517519332336133847682981536366651541555878155845919276746811963423332428194147857913127786198359784563756325488721639938968957615654988468972614798574998453889662952978376243739845786635787174428334456445697482112356852549677456267487454774798714651381817526276112148658191526178995315671652964965855743684243484442314334257387932343916282594124439794916839786833368348692873546818844677744968366915519848263582354892374996846969756824946996116697653951751933233613384768298153636665154155587812598541752427491865671813291666814121223226992545314219497177652734984369963849157242345153332998724213765435776762541223151268969553451814846889239625985417524274918656718132916668'};\r\nassert(isequal(sum_large_n(c),31469777))\r\n\r\n%%\r\nc = {'16975498566235382323439429942346367223345138697688', ...\r\n     '91869558359687636166799769612858256164152222216357', ...\r\n     '55525883266429112266197718998852421933356186845126', ...\r\n     '39295793457812415422975917762632291314192135193313', ...\r\n     '15761179518437117657783764184671255987111898197563', ...\r\n     '59553567449189813472716587994721755966886238152975', ...\r\n     '51711518872659685481224881454663419214254991734594', ...\r\n     '93765762292238542948648858944697479553121519611252', ...\r\n     '17484411163889523574569276484266389923161485424925', ...\r\n     '81793279692744286781957782569896681841722633558459', ...\r\n     '19276746811963423332428194147857913127786198359784', ...\r\n     '56375632548872163993896895761565498846897261479857', ...\r\n     '49984538896629529783762437398457866357871744283344', ...\r\n     '56445697482112331512689695534518148468892396444622', ...\r\n     '13737788335388637354597935176899415223177548599454', ...\r\n     '68728147842168724592864245263463363897461988361432', ...\r\n     '51057761135648795316841323455859693737713378487164', ...\r\n     '91545738512752462739372316754667692732655674648836', ...\r\n     '65833296565657592111454767992271558547754279323439', ...\r\n     '16282594124439794916839786833368348692873546818844', ...\r\n     '67774496836691551984826358235489237499684696975682', ...\r\n     '49469961166976539517519332336133847682981536366651', ...\r\n     '54155587812598541752427491865671813291686976889186', ...\r\n     '95583596876361667997696128582561641522222163575552', ...\r\n     '58832664291122661977189988524219333561868451263568', ...\r\n     '52549677456267487454774798714651381817526276112148', ...\r\n     '65819152617899531567165296496585574368424348444231', ...\r\n     '43342573814121223226992545314219497177652734984369', ...\r\n     '96384915724234515333299872421376543577676254122929', ...\r\n     '57934578124154229759177626322913141921351933131576', ...\r\n     '11795184371176577837641846712559871118966863173474', ...\r\n     '74774134328484748742893748728958622478835122752521', ...\r\n     '47697688918695583596876361667997696128582561641522', ...\r\n     '22216357555258832664291122661977189988524219333561', ...\r\n     '86845126356852549677456267487454774798714651381817', ...\r\n     '52627611214865819152617899531567165296496585574368', ...\r\n     '42434844423143342573814121223226992545314219497177', ...\r\n     '65273498436996384915724234515333299872421376543577', ...\r\n     '67625412292957934578124154229759177626322913141921', ...\r\n     '35193313157611795184371176577837673923439162825941', ...\r\n     '24439794916839786833368348692873546818844677744968', ...\r\n     '36691551984826358235489237499684696975682494699611', ...\r\n     '66976539517519332336133847682981536366651541555878', ...\r\n     '15584591927674681196342333242819414785791312778619', ...\r\n     '83597845637563254887216399389689576156549884689726', ...\r\n     '14798574998453889662952978376243739845786635787174', ...\r\n     '42833445644569748211233151268969553451814846889239', ...\r\n     '62598541752427491865671813291666841846712559871189', ...\r\n     '72712636767379814476842172453652813351412836947746', ...\r\n     '19238574317456137722114675162212223323976221976326', ...\r\n     '92341749462427847358643544674421336995377771752182', ...\r\n     '26957295718725354423196929864373177764455845919276', ...\r\n     '74681196342333242819414785791312778619835978456375', ...\r\n     '63254887216399389689576156549884689726147985749984', ...\r\n     '53889662952978376243739845786635787174428334456445', ...\r\n     '69748211233151268969553458697688918695583596876361', ...\r\n     '66799769612858256164152222216357555258832664291122', ...\r\n     '66197718998852421933356186845126356852549677456267', ...\r\n     '48745477479871465138181752627611214865819152617899', ...\r\n     '53156716529649658557436842434844423143342573814121', ...\r\n     '22322699254531421949717765273498436996384915724234', ...\r\n     '51533329987242137654357767625412292957934578124154', ...\r\n     '22975917762632291314192135193313157611795184371176', ...\r\n     '57783764184671255987111891814846889239683888569418', ...\r\n     '56293664214274876293934162174646198784665335389151', ...\r\n     '89191785896222116944997974633754676565179494854223', ...\r\n     '78718971477337563287912152911673242596141549855685', ...\r\n     '25496774562674874547747987146513818175262761121486', ...\r\n     '58191526178995315671652964965855743684243484442314', ...\r\n     '33425738141212232269925453142194971776527349843699', ...\r\n     '63849157242345153356852549677456267487454774798714', ...\r\n     '65138181752627611214865819152617899531567165296496', ...\r\n     '58557436842434844423143342573879323439162825941244', ...\r\n     '39794916839786833368348692873546818844677744968366', ...\r\n     '91551984826358235489237499684696975682494699611669', ...\r\n     '76539517519332336133847682981536366651541555878125', ...\r\n     '98541752427491865671813291666814121223226992545314', ...\r\n     '21949717765273498436996384915724234515333299872421', ...\r\n     '37654357767625412232998724213765435776762541229249', ...\r\n     '97649276847835953647457987914633766614537837282648', ...\r\n     '75584591927674681196342333231512689695428194147857', ...\r\n     '91312778619835978456373762437398457866357563254887', ...\r\n     '21639938968957615658574998453889498846897261315126', ...\r\n     '89695479857499845388966295297837624373984578632571', ...\r\n     '23563578717442833445644569748211233151268969538894', ...\r\n     '98846897614798574998453889662952978376243739845786', ...\r\n     '63578717442833445644569748211233151268969553451814', ...\r\n     '84688923968723276225951185484578553451814846889568', ...\r\n     '52549677456267487454774798714651381817526276112148', ...\r\n     '65819152617899531567165296496585574368424348444231', ...\r\n     '43342573879323439162825941244397949168397868333683', ...\r\n     '48692873546818844677744968366915519848263582354892', ...\r\n     '37499684696975682494699611669765395175193323361338', ...\r\n     '47682981536366651541555878125985417524274918656718', ...\r\n     '13291666814121223226992545314219497177652734984369', ...\r\n     '96384915724234515333299872421376543577676541222396', ...\r\n     '50852549677456267487454774798714651381817526276112', ...\r\n     '14865819152617899531567165296496585574368424348444', ...\r\n     '23143342573879323439162825941244397949168397868333', ...\r\n     '68348692873546818844677744968366915519848263582354', ...\r\n     '89237499684696975682494699611669765395175193323361', ...\r\n     '33847682981536366651541555878125985417524274918656', ...\r\n     '71813291666814121223226992545314219497177652734984', ...\r\n     '36996384915724234515333299872421376543575584591927', ...\r\n     '67468119634233323151268969542819414785791312778619', ...\r\n     '83597845637376243739845786635756325488721639938968', ...\r\n     '95761565857499845388949884689726131512689695479857', ...\r\n     '49984538896629529783762437398457863257123563578717', ...\r\n     '44283344564456974821123315126896953889498846897614', ...\r\n     '79857499845388966295297837624373984578663578717442', ...\r\n     '83344564456974821123315126896955345181484688923968', ...\r\n     '72327622595118548457855345181484688923967676254122', ...\r\n     '87315399417891567767462193692249432442416168356156', ...\r\n     '28985373966213897736849135176588835711359733896318', ...\r\n     '69163824455845919276746811963423332428194147857913', ...\r\n     '12778619835978456375632548872163993896895761565498', ...\r\n     '84689726147985749984538896629529783762437398457866', ...\r\n     '35787174428334456445697482112331512689695534518148', ...\r\n     '46889239687262936642142748762939341621746461987846', ...\r\n     '65335389151891917858962221169449979746337546765651', ...\r\n     '79494854223787189714773375632879121529116732425961', ...\r\n     '41549855685254967745626748745477479871465138181752', ...\r\n     '62761121486581915261789953156716529649658557436842', ...\r\n     '43484442314334257381412122322699254531421949717765', ...\r\n     '27349843699638491572423451533329987242137654357767', ...\r\n     '62541229249976492768478359536474579387914633766614', ...\r\n     '53783728264832762259511854845783691643379282984758', ...\r\n     '41692471976255989749534767995921365954570182534623', ...\r\n     '24185429486488589446974795531215196112521748441116', ...\r\n     '38895235745692764842663899231614854249258179327969', ...\r\n     '27442867819577825698966818417226335584591927674681', ...\r\n     '19634233324281941478579131277861983597845637563254', ...\r\n     '88721639938968957615654988468972614798574998453889', ...\r\n     '66295297837624373984578663578717442833445644569748', ...\r\n     '21123315126896955345181484688923964446221373778833', ...\r\n     '53886373546475498566235382323439429942346367223345', ...\r\n     '13869768891869558359687636166799769612858256164152', ...\r\n     '22221635755525883266429112266197718998852421933356', ...\r\n     '18684512639295793457812415422975917762632291314192', ...\r\n     '13519331315761179518437117657783764184671255987111', ...\r\n     '89819756359553567449189813472716587994721755966886', ...\r\n     '23815297551711518872659685481224881454663419214254', ...\r\n     '99173459493765762292168724592864245263463363897461', ...\r\n     '98836143225979351768994152231775485994546872814784', ...\r\n     '97392343916282594124439794916839786833368348692873', ...\r\n     '54681884467774496836691551984826358235489237499684', ...\r\n     '69697568249469961166976539517519332336133847682981', ...\r\n     '53636665154155587815584591927674681196342333242819', ...\r\n     '41478579131277861983597845637563254887216399389689', ...\r\n     '57615654988468972614798574998453889662952978376243', ...\r\n     '73984578663578717442833445644569748211235685254967', ...\r\n     '74562674874547747987146513818175262761121486581915', ...\r\n     '26178995315671652964965855743684243484442314334257', ...\r\n     '38793234391628259412443979491683978683336834869287', ...\r\n     '35468188446777449683669155198482635823548923749968', ...\r\n     '46969756824946996116697653951751933233613384768298', ...\r\n     '15363666515415558781259854175242749186567181329166', ...\r\n     '68141212232269925453142194971776527349843699638491', ...\r\n     '57242345153332998724213765435776762541223151268969', ...\r\n     '55345181484688923962585417524274918656718132916668'};\r\nassert(isequal(sum_large_n(c),87139239))","published":true,"deleted":false,"likes_count":2,"comments_count":0,"created_by":26769,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":114,"test_suite_updated_at":"2018-08-20T17:27:20.000Z","rescore_all_solutions":false,"group_id":1,"created_at":"2018-08-20T17:18:24.000Z","updated_at":"2026-01-05T00:23:53.000Z","published_at":"2018-08-20T17:18:24.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eYour function will be provided an arbitrary number of numbers of arbitrary sizes as a cell array of strings. Some numbers will be very large. The function must return the first eight digits of the sum of all the numbers as an integer.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"}],"term":"tag:\"string addition\"","current_player_id":null,"fields":[{"name":"page","type":"integer","callback":null,"default":1,"directive":null,"facet":null,"facet_method":"and","operator":null,"param":null,"static":null,"prepend":true},{"name":"per_page","type":"integer","callback":null,"default":50,"directive":null,"facet":null,"facet_method":"and","operator":null,"param":null,"static":null,"prepend":true},{"name":"sort","type":"string","callback":null,"default":null,"directive":null,"facet":null,"facet_method":"and","operator":null,"param":null,"static":null,"prepend":true},{"name":"body","type":"text","callback":null,"default":"*:*","directive":null,"facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":false},{"name":"group","type":"string","callback":null,"default":null,"directive":"group","facet":true,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"difficulty_rating_bin","type":"string","callback":null,"default":null,"directive":"difficulty_rating_bin","facet":true,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"id","type":"integer","callback":null,"default":null,"directive":"id","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"tag","type":"string","callback":null,"default":null,"directive":"tag","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"product","type":"string","callback":null,"default":null,"directive":"product","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"created_at","type":"timeframe","callback":{},"default":null,"directive":"created_at","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"profile_id","type":"integer","callback":null,"default":null,"directive":"author_id","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"created_by","type":"string","callback":null,"default":null,"directive":"author","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"player_id","type":"integer","callback":null,"default":null,"directive":"solver_id","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"player","type":"string","callback":null,"default":null,"directive":"solver","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"solvers_count","type":"integer","callback":null,"default":null,"directive":"solvers_count","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"comments_count","type":"integer","callback":null,"default":null,"directive":"comments_count","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"likes_count","type":"integer","callback":null,"default":null,"directive":"likes_count","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"leader_id","type":"integer","callback":null,"default":null,"directive":"leader_id","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"leading_solution","type":"integer","callback":null,"default":null,"directive":"leading_solution","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true}],"filters":[{"name":"asset_type","type":"string","callback":null,"default":null,"directive":null,"facet":null,"facet_method":"and","operator":null,"param":null,"static":"\"cody:problem\"","prepend":true},{"name":"profile_id","type":"integer","callback":{},"default":null,"directive":null,"facet":null,"facet_method":"and","operator":null,"param":"author_id","static":null,"prepend":true}],"query":{"params":{"per_page":50,"term":"tag:\"string addition\"","current_player":null,"sort":"map(difficulty_value,0,0,999) asc"},"parser":"MathWorks::Search::Solr::QueryParser","directives":{"term":{"directives":{"tag":[["tag:\"string addition\"","","\"","string addition","\""]]}}},"facets":{"#\u003cMathWorks::Search::Field:0x00007f64e4a1e758\u003e":null,"#\u003cMathWorks::Search::Field:0x00007f64e4a1e6b8\u003e":null},"filters":{"#\u003cMathWorks::Search::Field:0x00007f64e4a1db78\u003e":"\"cody:problem\""},"fields":{"#\u003cMathWorks::Search::Field:0x00007f64e4a1e9d8\u003e":1,"#\u003cMathWorks::Search::Field:0x00007f64e4a1e938\u003e":50,"#\u003cMathWorks::Search::Field:0x00007f64e4a1e898\u003e":"map(difficulty_value,0,0,999) asc","#\u003cMathWorks::Search::Field:0x00007f64e4a1e7f8\u003e":"tag:\"string addition\""},"user_query":{"#\u003cMathWorks::Search::Field:0x00007f64e4a1e7f8\u003e":"tag:\"string addition\""},"queried_facets":{}},"query_backend":{"connection":{"configuration":{"index_url":"http://index-op-v2/solr/","query_url":"http://search-op-v2/solr/","direct_access_index_urls":["http://index-op-v2/solr/"],"direct_access_query_urls":["http://search-op-v2/solr/"],"timeout":10,"vhost":"search","exchange":"search.topic","heartbeat":30,"pre_index_mode":false,"host":"rabbitmq-eks","port":5672,"username":"cody-search","password":"78X075ddcV44","virtual_host":"search","indexer":"amqp","http_logging":"true","core":"cody"},"query_connection":{"uri":"http://search-op-v2/solr/cody/","proxy":null,"connection":{"parallel_manager":null,"headers":{"User-Agent":"Faraday v1.0.1"},"params":{},"options":{"params_encoder":"Faraday::FlatParamsEncoder","proxy":null,"bind":null,"timeout":null,"open_timeout":null,"read_timeout":null,"write_timeout":null,"boundary":null,"oauth":null,"context":null,"on_data":null},"ssl":{"verify":true,"ca_file":null,"ca_path":null,"verify_mode":null,"cert_store":null,"client_cert":null,"client_key":null,"certificate":null,"private_key":null,"verify_depth":null,"version":null,"min_version":null,"max_version":null},"default_parallel_manager":null,"builder":{"adapter":{"name":"Faraday::Adapter::NetHttp","args":[],"block":null},"handlers":[{"name":"Faraday::Response::RaiseError","args":[],"block":null}],"app":{"app":{"ssl_cert_store":{"verify_callback":null,"error":null,"error_string":null,"chain":null,"time":null},"app":{},"connection_options":{},"config_block":null}}},"url_prefix":"http://search-op-v2/solr/cody/","manual_proxy":false,"proxy":null},"update_format":"RSolr::JSON::Generator","update_path":"update","options":{"url":"http://search-op-v2/solr/cody"}}},"query":{"params":{"per_page":50,"term":"tag:\"string addition\"","current_player":null,"sort":"map(difficulty_value,0,0,999) asc"},"parser":"MathWorks::Search::Solr::QueryParser","directives":{"term":{"directives":{"tag":[["tag:\"string addition\"","","\"","string addition","\""]]}}},"facets":{"#\u003cMathWorks::Search::Field:0x00007f64e4a1e758\u003e":null,"#\u003cMathWorks::Search::Field:0x00007f64e4a1e6b8\u003e":null},"filters":{"#\u003cMathWorks::Search::Field:0x00007f64e4a1db78\u003e":"\"cody:problem\""},"fields":{"#\u003cMathWorks::Search::Field:0x00007f64e4a1e9d8\u003e":1,"#\u003cMathWorks::Search::Field:0x00007f64e4a1e938\u003e":50,"#\u003cMathWorks::Search::Field:0x00007f64e4a1e898\u003e":"map(difficulty_value,0,0,999) asc","#\u003cMathWorks::Search::Field:0x00007f64e4a1e7f8\u003e":"tag:\"string addition\""},"user_query":{"#\u003cMathWorks::Search::Field:0x00007f64e4a1e7f8\u003e":"tag:\"string addition\""},"queried_facets":{}},"options":{"fields":["id","difficulty_rating"]},"join":" "},"results":[{"id":44733,"difficulty_rating":"medium"}]}}