Cody

Solution 733038

Submitted on 10 Sep 2015 by goc3
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
%% S = 'Testing, testing, 1, 2, 3'; assert(isequal(str2cell(S),{S}))

S = 'Testing, testing, 1, 2, 3'

2   Pass
%% S = {'I','love','MATLAB'}; assert(isequal(str2cell(S),S))

3   Pass
%% S = datestr(now); assert(isequal(str2cell(S),{S}))

S = '10-Sep-2015 18:09:49'

4   Pass
%% for ii=1:100 S = char(randi([97,122],1,100)); assert(isequal(str2cell(S),{S})) end

S = 'mworwgsvnwnhpzufpzohxciepfihxedipettszvqdgqwgxyzcfcscxydlrvmnuvpbcewcjjidhfgoabukdtdvvsbgpo…' S = 'tmqamhpghsbactarfkowzxpynojgvdlnkllxnypiztwqaorxvxxmhxgdayxhdoecjvpwuihraluipwihhnjmqsrhdzz…' S = 'gdaectzvjeskwcpsuanokpvrclbhupxmpzlvpgvrpwlibfqsdbbznjntohiilrhgahyrwvtedsgmeflqrdjmhboodhp…' S = 'aacvaghkhpksxzdandxbkmfmawprtdaobgfzvzkqdrfvcqiesijikhwjjhnkbltpbfndcrptqrlsmmrxejgskfjppiv…' S = 'pdtmcbrjjkcfirwcjbktpxzwsoqaenzsgiwzxryauzlcqqxzwyjbupquzmprwddbdawgjquoutrgeqdftondqbtjtab…' S = 'glwpodqbmfqjbwjmmhytnrffxwmegpgsmflgqndpukjjlitprnpdhmlykttusjfzuyxclwybiahjimjqtycjcrsvnmn…' S = 'cbziaqbcxtjrmjvqlficqnejrgjacyyywasvmskdspekfqksverdynspoplxomihmfyawyvorvnzywddfjjjlgfxbyc…' S = 'kikbcnfdgdgsjiyduyvdxanhumtyxplxtlshdfuitdlgdoxancnasocvkxwjttmhxqrsnfhlyduhkgjoeerfxjafjct…' S = 'ksnyxxihhfvgmfuokmfnlsdfidgrqjpiubzcqucskzykxkzpatjtgdpaxfsfthveimwopokoivakszujldmpnnpybni…' S = 'ygmbfwvjhxvaqdaucixlrnrlzxeglazjiccgiqghrmnzetfuhzzxjcngawayvuptepavrcaogvzahgphiaxdflegifw…' S = 'iwrxntcjbqohpvgwvxycfdvvivmpqmacbhsiwioauunohzwrrfkblilavoevrtimokmjgrdldhwuqrufrdsnuopnora…' S = 'htsfswguayzvayfmeelpjmzrrpjkhyyptkendoynzeuktaphoncxjhketewbrerxkqjkvrqjnwndxinhcmmxersxtgf…' S = 'wwimogtsyybkvxywptrajmlfgrobsfkaqrvfnxfskoxttklswmbsfvvnboicvhcwzmdylruyowvqvqmitgpajmybewp…' S = 'fjdekjylkxyvsyyushrephnbuyyvfodatnzanronjyndthuqmekabrtujdenuqfdcaaiskdepcjrozkhjkkghenzose…' S = 'muroumhwzgdjchopsaeelsrgdxrgviidojkvuamtsecdzppgussnaqpvfxwwlcvazrwrwqeeaishhegmgometwyzzuf…' S = 'wpwzyozxinefimitjkxehzgmprzqxyztkjnpoynfntbhjgzbpqtzzypdrchyxrnzrvlofsudruucvugvclyptjexmru…' S = 'pzzeooltlzxhyifxcrpmihymiwmpvlcrtkepnztpnjqxspwlsavcjmrggkdyaphqmqvvkmhwbpyjyilwxtbqmirelar…' S = 'hbtmidsbonkyjzrzzghkvtijkrfybmvsyuplvlmjxpzgcdvdcvdjljilymhfnhbqniqbgnbzbvfmokfhdabfwmsauyd…' S = 'inktwjwrqxxyaubfllsncxfjoyacmsyeewdokorqqilbycwzulhotdefowfcwznbcqxfltkbtsjckpddoulnlonycet…' S = 'ujdcxlzxcnuvhkvxylkqbzoywlutsyqiidwbndrigwhjajiyxgfmoapeaidacerhwrwgidipkgtwtkrtkcylhzorfeb…' S = 'bdexxpkveogptfnkvhnuawcldzhsosjyqimehdgdcjxpoujiplhutckqfvaxnmlsxvnaetkpvqreaijaucoyuhskjqr…' S = 'tgeoesizkvuhonbwwpwthalgpolvpbsumezdyhtzxgvgddlwoipresgcnesiaxajgsxujptqiewuhqygktofsrikxmx…' S = 'reidvncuppshwcowdizcfzdqbaoqykbgpnknbcdgqgmziklasrevogqynmosawwozlvocsuuyixmhtolwkyubtngxks…' S = 'ynmrgyeefzjwwdowqcaqwzyyvboczghtlifsplmzayukiudrvhmihntlmaebugnwrqmfoklmeylvdqyrvglrkvpfkxc…' S = 'xygktfqlhxnzoslleiglmypzddagwiifdpzhiprgirlrywrwclielgqjearequcwdazemnveeiwyimehxpqdogzlqzp…' S = 'kpuxvbfetodeuwxipaqpnihsoubpxmazhedprlcfwpchzufzddhosiiltwxikypcexzvatqfhbnkzlrzrqdpquydfvu…' S = 'hajfsywjsbutoaeetqbpqsxydizywybhwgvjijpuzzffkbdzrooctcdoaluodmfpspblhhzawapvuzzipywyfllfilt…' S = 'xnqibrbnyhskzwclktskkonjidedrvmrpocuslhetjwhzarvnzrktjhkpuvhbfrcenyunvbkwdkqztekwytwpgkjllh…' S = 'pbyclymrxtmzjrvfskswgjsxvfckisrvebvpnpcjvbxxoofygnzadjlpqogknlaztzuimnqrpibvaptsdcdnieduegt…' S = 'crlhalynrfkkbhcptqctjlrxcusixskltcpklltkrrdknzboqmgfqomgyiaeoujreonnkxvvtwsnbyfmxxxgkpvcoyt…' S = 'algjyivoztkblqplxllbntzslxcdutrmnvbfiekxozpsyfcqcnuwwhbhbzfriwtywwwcxjzddspnziqhtufnawhspjj…' S = 'qrozgahtgozgklllnxlohfsxjzhvvtdqdusjfdnhydbwyicmqlslrpzqqiengzbxpdndvlfbzrqpcawiqmavmixdgdm…' S = 'yutjlcndbijhybuelxeplftyotompqhssiaouapqltvctekdgkfzhdjmjviesbumwgeakrribjmjkqapjbtebzyllao…' S = 'eatpbbrpwvvamrpqylzsotzseyzqoztkfvgblgcszumecomnfqacqriybopytbomhmwnwiykfjukbnxciwczuqogslv…' S = 'cjovurkmpweskjnjoptyrixihqkgovfkekhdfgdzfvxzdbvigtazanmnenzkqcwyczwpgudkfcpshhiyylvwrremlev…' S = 'jkdojhdnxdjivnigeyllylubbgsjnwbiuluyumkwikbaloevmfmcfkbwzkcqyejenusweyjbpxjpmtwguznufrzlluo…' S = 'utkrznerrafjwtxazgalmbwjasupoygmglbydpdmyxafksiyaroecpqhvifvduhcjoplyrilgbsszqtomvyeiggflxz…' S = 'tftsyzoytaqyaezjcenkfjfvlraqgveyaededivdubqeopizrtvptbkeapwlubqwygkvwfkabirgmdtkgymuqtpzieu…' S = 'rzyaeafguxtdgvgthdokkxjjfobytiucofbgtyojjcdwibawdvaaowlmuwszekezygufhmijrdrnmwakfriulbjnkco…' S = 'nddhpzopyjiprfrzyadgmgjiavfgxrstmsedzkkxkhhinqxjxngoscfjstsmafpqsdpavhcwxuawizyrhdkqnnmfdui…' S = 'rjpkoslqfnqwuistmtsrvzfrdfceanvyeuvnaxrmzfkvmkursdahnrdorlpfhyhmsgtyotzhsbfndcjcarxesgxyoyy…' S = 'qvmatxabsubjlhfmfegtojyedlqfavdyjtuhxzhlwdrwkpbtkljucalaozqebrcgtknverkcjkjblaogcwtxdwelgzv…' S = 'wpwxobeiywpthrwsnuzkuwprjwosasantwmerlryqdhzgfgytxmevypbqlqzwbpzxjhbykhdswnnzwqjrqicczaatve…' S = 'fjdlsvzqtfnttncpmwfkazcttjjnfullvmqxmmzebhkhnrgaimlpxybrrzacahgxrbnjfowsjeonbtbdjvtdvrkrsjd…' S = 'vrevrdonbfhxdchgiplvxghrwnewjfpxfikjuntgnxgmyjuggvcqmgvgjbgrhwsakkunpayjavfrpngvkptsausqufb…' S = 'amiawsniljiijahtltrlptehgjfjohjtajgomsutdfijqxpmldnmyuwxsvbanmdomtzateoqjwbfbpuhfsecufzpvdd…' S = 'ozckrestwgqeurklqynxpsversiyvohkhtpjanhkknmhnzqtimdjdkgnwrtumftmnjnnunsgwoyojuzwhzkztqmbpii…' S = 'ramlzjaiixkifyqxtbkwyuutrfytyprhdbdvkatthcvinwpuxejwcxifpqplqfgesvbrnhbifivklrqhogpmntuaain…' S = 'bcswxqdjhkmyvvcbizrzewuemryegtmxtxejkgjylvwocvjcxntjfivkixwpbyrttmxpigqhhtrbolnfvxvtmafbvwv…' S = 'xieioecxrctxmiwurpygrlgbfnvknkyhfxnwcvdccuothhvuqumorqqydbzakclkyxfirwatfgbasdtluwerztonssn…' S = 'rycdabibjucirnmgfgzmzmrptzybfkmjcycagqjthvpoxhldbzljndaonnajboxewtjrmeyaptlaomgwojilvwtlnqs…' S = 'dbdafemowbgcsexqmxrrypemvcbkelpbcfoulpqixitalctdniffmainbubnsindhqxzfjqzvwytgbeiqypudjrmrbr…' S = 'dfmwkrcagclohkbcbphadyomxmquhnhyiygstbovpdymahlmgzamwtixdegcobajdmwcycsvgzyhullmqcgxgnafqpo…' S = 'ufgpzeppbbuftxokjcjavibxfzauwjdpcaxlwqjmrcutluotjbjstucabgkkprkhfgdvvdlokyvsyggpdyqrbstccay…' S = 'kfesugktyboeizukflvgtnorawqrdzpcinoqvqpiygshjvhfikvmlhgsfkgjwfvzlxqvtanaiktbnvmfzinadwyjdvn…' S = 'pevwoutcwfsybgkgyretdgxmmvzgbhgqninbgjrwgthhligetcbrwfjdfvehdofawtysrmxyfweoqsfumzoomksacse…' S = 'jrvopixqdogdghppuenstkaldxfmndkjmgqgrpexuvgkbjlxebrlnwkilyiuromenixwlfqkrjfjsdsvgclmsyklplk…' S = 'bzfchqhkawpwpgrdbapodkeyfdhsewjduujsnomnqdgkmcsjrzdyvbsrwtjvmtpitascjoeahgyjwtpsxunfjtqlvod…' S = 'wrprgcdfyqhpyvpfjifwdpynwirzakpxysperfzofgljmtqotuiuvlisfqfciqsassfwildodxgfbegalarvkqulwnq…' S = 'abwycvbipvnyulgsfgasryhotdrdttcmxbazildinuvyiejflcequsnxzqzbtvjgalwmbbkzohqgppgmsdgxemijgas…' S = 'rtevqdkrmicmgfvlwaiphdaxlvyhmqrsgwfifpydgxjjrtufsctjgrloyuebqrzduknaefzjwagsaatetokbggjnggw…' S = 'fghdcpabijddmtgzgkagkfdzebsytxufilewoxxwqqsiucullyaddyzofmpijistdoujptmghsgrsdmgfbbtcespxsr…' S = 'blmojqulrbwgqxoeddkmgkxvbrevyosdixjlsatgjourakbxfamwaonvdcduzijmswaqsyobzgtrfiliwgplrlmvkie…' S = 'tgstonwsblqzgnzzahycltnvqzggldwdfbawwjirvyejuftlzcswurhqfnrczcolzkzoubpiuktgtgidijpgolfpvsq…' S = 'zolxlzwcppnntyxmsbirnxqcbwcekovhwarxgtcprfgpbidmgvvdsxtbxnmabadbqzbmhxxftsmcuopadswjkvtvuie…' S = 'gupiozicdzjqzvybmrhhyiygjjupacyrnoacptqkofloxbhmebbmyvyykughoqnhpbirmztcmcdukktggqxzzjdblno…' S = 'lejdquglikycmriukzvgtqmcdbudijysomnooihdstfceoisgrkbouzwuqahvlvbgtnvhfxshnvtpeigkpfozeouook…' S = 'jpapjndpsqvihqjpdeihflyscmsmaoenddofdtmuibebqcmsoeldpifrvdgwiadaoufojaewhfnazjjpmvjginhyrfl…' S = 'yfkwxsuzcizaalioclfpztasnfwxnlwszontpdawrkdekmaukcwoanthuazvxjtobqruvadqxmbwjugybxiqvbzexoz…' S = 'oqqxzfdrvnonnbsjvridwgirmjvrigovuwehcaeyovdehlobcumryvkorqofshpkquvhscnjvvxsyzlpjpisuvcmqmv…' S = 'ftusmusyxepwxmcywlfzrvdpalsjzfopugzhqpgahtyrgqdegynxstsaxbbsgegqpyvpyqrpzeckvjpfjokbxbzqyyq…' S = 'xwinhouwsrmgjhystoeidobohuvddpgyxujhytsjjnahkzcuptjxfcfydtrutjnzqcizlqmqkkmcglfhzhqqgopwixr…' S = 'utdtuwjmnnktguusxytatvhbvlqxpcdjfaclaicrbzpxqlkddrqiehmibwvlkikxkpqkwjiydmorufxzylpurntffzd…' S = 'vhrbejcqmmqhrmujrmzoyrrruaptidjehfqxrwzancvdaffpfmdnqxxmznsyidlfnqeercbgpxruqxdhtlbvrlajaho…' S = 'ztqklnwcwykehupjayrzczwtiqbyflobfidclozveuitnbabcvfsdjchulxntnfsudhprmcayrxcwhbjlitkqslwwiz…' S = 'pbpkjepufjcqsbrzujgjawfxhrekpmbkkywoqfvrglizcklojyorqhysbgdjnmieupqfphydurpatplhzuicgpmxlpz…' S = 'aqxjlhnwojjdayghvoznppflnblmvcbynqdqzhbydfjilmvmrjwxutqhsgdlpqrdtmekqrflefeqsehyfkqekyfloej…' S = 'kxpsonlumvpyctfamgqgwdsgjtmmeaxhttrzninrrildheqrxfnamzgmyoivtwvboicfraxoqtrydrgsbbhljtwmadm…' S = 'cfwvaochrtnuyzvztynefqzkoipgoefzwkvtysywvnjipvurzywjunisnshuuqncpefgjzjrhdzduqkujueexxagexs…' S = 'jldczmrjxzaexnysrfyevvolihgmvdyzmfanjbghxgjdciycpkhjgefqnhzjsyarlxlpbhfbwitzsgbvhllfikfrxwo…' S = 'locqgiyvewdedqbvhhcoylxqrdxharngoqtyqnjghnxwruklidmfycsgcyjxvdirlfmcftddcrsiajbxjqqqmwqtfvz…' S = 'qmpxjdvqqqivvqbhcpeqkhvhuvvurkpnejaulmcbrskaplsdonpgasuhmxvpmqulvnuodykjwmdfucioxfqbtjgujvb…' S = 'nbwlzpmwxcylksdeflcefocmhfhdjesayadvnghmyraovkzeliqqylacpzkdmbufxxwtieyrhlftfcpslggvvqfbekr…' S = 'ipesydebaekglgchhpobkdyhfcimccwxerugsvsecxnffdexyojtyisiymajxyebuykxskzvfizsyfuusoxcaqnxkon…' S = 'cxxnlawfzlevoxrrmgdflljfbmywdwfisdrwbnzngouocnkyhwcmcwmmmqacfqjdgzzvwpidapniggjzcypwelxcutu…' S = 'wbyszvpyhkbyaiasczpkkwmltecceotpszbvmhphnxlkmctsxifrecjzlflzgzwhanldwqxbmlxeupkogoegihnntei…' S = 'qbmzhmjukzsqezabjlnhuvioopwswfyzfbnlasstndmcryszixhasglpgpqhoywmkvhlbyaonrngkdqeafvgfrmngoc…' S = 'ezjgrjefaqtlsanwkdnvprzehovqgwqtblvpztxilzadgwxnceeracffernwnaqldnmicisanfjdbanofueepbljfno…' S = 'suqzwmoodksnkidlujivguinocawlrgbnctbrvesnsejduytsclcotneebhbqasrvcdqjpinfcyursevajtishcqbrc…' S = 'zzevneyannkdjqkgcrfmhimyulkgglwtwlnppchxxgdtwkpargoseiyouhypyfuooioqaejyqbsmsgsdhkeqbklzzgp…' S = 'yfmmysiblxljutmlrwutidfashntzdsyskqmycunouxiqpohikafyfnmmpsruznegwmrjqeethmkahohufdaosyiqwx…' S = 'rppretxtvlmlarlihnanwlomvvfndsbdsefbtbvrheucjvmaemqsqhdvlmuagmuydrzhpslgllcadifdxlyhxweqifm…' S = 'cmwjzfdpuqbpljhaxmupkdrzwmwktzbghtdedexbpnryijviicrdmizubkneamhusznfyqiqqeqlffaiogtbepmabul…' S = 'yczglznlfwzxyytsrrqecsoxbijxzzsehygootwmnipmiebhhtthzercujzulzuhiimawqujeskwzhyzkfwskugjyzf…' S = 'ukzpqoriafpcaczxxpnccejamslizrirpsxwgyodgndnvbqbanxvdocobuuvppyyjycdfxereossmzbmyciowdeuxug…' S = 'oyduarkeyygwuzdzyyrikzjebpusvvrhhhclyrlvfudbqmkfqwdnvcxrmgrrfafhtzukjhkogjzsnmcumyeojvgtjht…' S = 'ccsopdkcxwvnfttzztqcgmvvsqwutwaanfmtyaczqekdzxyxzmheeunocsnkxsbgyajeocarelwpucxnyycneokzvxe…' S = ...

5   Pass
%% for ii=1:100 S = num2cell(char(randi([97,122],100,1))); assert(isequal(str2cell(S),S)) end