Cody

Solution 1922342

Submitted on 5 Sep 2019 by Virtual AS
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
start=1000; finish=1023; y_correct = 1; assert(isequal(diff_digits(start,finish),y_correct))

ans = '1023' temp = 1

2   Pass
start=1000; finish=9999; y_correct = 4536; assert(isequal(diff_digits(start,finish),y_correct))

ans = 4536×4 char array '1023' '1024' '1025' '1026' '1027' '1028' '1029' '1032' '1034' '1035' '1036' '1037' '1038' '1039' '1042' '1043' '1045' '1046' '1047' '1048' '1049' '1052' '1053' '1054' '1056' '1057' '1058' '1059' '1062' '1063' '1064' '1065' '1067' '1068' '1069' '1072' '1073' '1074' '1075' '1076' '1078' '1079' '1082' '1083' '1084' '1085' '1086' '1087' '1089' '1092' '1093' '1094' '1095' '1096' '1097' '1098' '1203' '1204' '1205' '1206' '1207' '1208' '1209' '1230' '1234' '1235' '1236' '1237' '1238' '1239' '1240' '1243' '1245' '1246' '1247' '1248' '1249' '1250' '1253' '1254' '1256' '1257' '1258' '1259' '1260' '1263' '1264' '1265' '1267' '1268' '1269' '1270' '1273' '1274' '1275' '1276' '1278' '1279' '1280' '1283' '1284' '1285' '1286' '1287' '1289' '1290' '1293' '1294' '1295' '1296' '1297' '1298' '1302' '1304' '1305' '1306' '1307' '1308' '1309' '1320' '1324' '1325' '1326' '1327' '1328' '1329' '1340' '1342' '1345' '1346' '1347' '1348' '1349' '1350' '1352' '1354' '1356' '1357' '1358' '1359' '1360' '1362' '1364' '1365' '1367' '1368' '1369' '1370' '1372' '1374' '1375' '1376' '1378' '1379' '1380' '1382' '1384' '1385' '1386' '1387' '1389' '1390' '1392' '1394' '1395' '1396' '1397' '1398' '1402' '1403' '1405' '1406' '1407' '1408' '1409' '1420' '1423' '1425' '1426' '1427' '1428' '1429' '1430' '1432' '1435' '1436' '1437' '1438' '1439' '1450' '1452' '1453' '1456' '1457' '1458' '1459' '1460' '1462' '1463' '1465' '1467' '1468' '1469' '1470' '1472' '1473' '1475' '1476' '1478' '1479' '1480' '1482' '1483' '1485' '1486' '1487' '1489' '1490' '1492' '1493' '1495' '1496' '1497' '1498' '1502' '1503' '1504' '1506' '1507' '1508' '1509' '1520' '1523' '1524' '1526' '1527' '1528' '1529' '1530' '1532' '1534' '1536' '1537' '1538' '1539' '1540' '1542' '1543' '1546' '1547' '1548' '1549' '1560' '1562' '1563' '1564' '1567' '1568' '1569' '1570' '1572' '1573' '1574' '1576' '1578' '1579' '1580' '1582' '1583' '1584' '1586' '1587' '1589' '1590' '1592' '1593' '1594' '1596' '1597' '1598' '1602' '1603' '1604' '1605' '1607' '1608' '1609' '1620' '1623' '1624' '1625' '1627' '1628' '1629' '1630' '1632' '1634' '1635' '1637' '1638' '1639' '1640' '1642' '1643' '1645' '1647' '1648' '1649' '1650' '1652' '1653' '1654' '1657' '1658' '1659' '1670' '1672' '1673' '1674' '1675' '1678' '1679' '1680' '1682' '1683' '1684' '1685' '1687' '1689' '1690' '1692' '1693' '1694' '1695' '1697' '1698' '1702' '1703' '1704' '1705' '1706' '1708' '1709' '1720' '1723' '1724' '1725' '1726' '1728' '1729' '1730' '1732' '1734' '1735' '1736' '1738' '1739' '1740' '1742' '1743' '1745' '1746' '1748' '1749' '1750' '1752' '1753' '1754' '1756' '1758' '1759' '1760' '1762' '1763' '1764' '1765' '1768' '1769' '1780' '1782' '1783' '1784' '1785' '1786' '1789' '1790' '1792' '1793' '1794' '1795' '1796' '1798' '1802' '1803' '1804' '1805' '1806' '1807' '1809' '1820' '1823' '1824' '1825' '1826' '1827' '1829' '1830' '1832' '1834' '1835' '1836' '1837' '1839' '1840' '1842' '1843' '1845' '1846' '1847' '1849' '1850' '1852' '1853' '1854' '1856' '1857' '1859' '1860' '1862' '1863' '1864' '1865' '1867' '1869' '1870' '1872' '1873' '1874' '1875' '1876' '1879' '1890' '1892' '1893' '1894' '1895' '1896' '1897' '1902' '1903' '1904' '1905' '1906' '1907' '1908' '1920' '1923' '1924' '1925' '1926' '1927' '1928' '1930' '1932' '1934' '1935' '1936' '1937' '1938' '1940' '1942' '1943' '1945' '1946' '1947' '1948' '1950' '1952' '1953' '1954' '1956' '1957' '1958' '1960' '1962' '1963' '1964' '1965' '1967' '1968' '1970' '1972' '1973' '1974' '1975' '1976' '1978' '1980' '1982' '1983' '1984' '1985' '1986' '1987' '2013' '2014' '2015' '2016' '2017' '2018' '2019' '2031' '2034' '2035' '2036' '2037' '2038' '2039' '2041' '2043' '2045' '2046' '2047' '2048' '2049' '2051' '2053' '2054' '2056' '2057' '2058' '2059' '2061' '2063' '2064' '2065' '2067' '2068' '2069' '2071' '2073' '2074' '2075' '2076' '2078' '2079' '2081' '2083' '2084' '2085' '2086' '2087' '2089' '2091' '2093' '2094' '2095' '2096' '2097' '2098' '2103' '2104' '2105' '2106' '2107' '2108' '2109' '2130' '2134' '2135' '2136' '2137' '2138' '2139' '2140' '2143' '2145' '2146' '2147' '2148' '2149' '2150' '2153' '2154' '2156' '2157' '2158' '2159' '2160' '2163' '2164' '2165' '2167' '2168' '2169' '2170' '2173' '2174' '2175' '2176' '2178' '2179' '2180' '2183' '2184' '2185' '2186' '2187' '2189' '2190' '2193' '2194' '2195' '2196' '2197' '2198' '2301' '2304' '2305' '2306' '2307' '2308' '2309' '2310' '2314' '2315' '2316' '2317' '2318' '2319' '2340' '2341' '2345' '2346' '2347' '2348' '2349' '2350' '2351' '2354' '2356' '2357' '2358' '2359' '2360' '2361' '2364' '2365' '2367' '2368' '2369' '2370' '2371' '2374' '2375' '2376' '2378' '2379' '2380' '2381' '2384' '2385' '2386' '2387' '2389' '2390' '2391' '2394' '2395' '2396' '2397' '2398' '2401' '2403' '2405' '2406' '2407' '2408' '2409' '2410' '2413' '2415' '2416' '2417' '2418' '2419' '2430' '2431' '2435' '2436' '2437' '2438' '2439' '2450' '2451' '2453' '2456' '2457' '2458' '2459' '2460' '2461' '2463' '2465' '2467' '2468' '2469' '2470' '2471' '2473' '2475' '2476' '2478' '2479' '2480' '2481' '2483' '2485' '2486' '2487' '2489' '2490' '2491' '2493' '2495' '2496' '2497' '2498' '2501' '2503' '2504' '2506' '2507' '2508' '2509' '2510' '2513' '2514' '2516' '2517' '2518' '2519' '2530' '2531' '2534' '2536' '2537' '2538' '2539' '2540' '2541' '2543' '2546' '2547' '2548' '2549' '2560' '2561' '2563' '2564' '2567' '2568' '2569' '2570' '2571' '2573' '2574' '2576' '2578' '2579' '2580' '2581' '2583' '2584' '2586' '2587' '2589' '2590' '2591' '2593' '2594' '2596' '2597' '2598' '2601' '2603' '2604' '2605' '2607' '2608' '2609' '2610' '2613' '2614' '2615' '2617' '2618' '2619' '2630' '2631' '2634' '2635' '2637' '2638' '2639' '2640' '2641' '2643' '2645' '2647' '2648' '2649' '2650' '2651' '2653' '2654' '2657' '2658' '2659' '2670' '2671' '2673' '2674' '2675' '2678' '2679' '2680' '2681' '2683' '2684' '2685' '2687' '2689' '2690' '2691' '2693' '2694' '2695' '2697' '2698' '2701' '2703' '2704' '2705' '2706' '2708' '2709' '2710' '2713' '2714' '2715' '2716' '2718' '2719' '2730' '2731' '2734' '2735' '2736' '2738' '2739' '2740' '2741' '2743' '2745' '2746' '2748' '2749' '2750' '2751' '2753' '2754' '2756' '2758' '2759' '2760' '2761' '2763' '2764' '2765' '2768' '2769' '2780' '2781' '2783' '2784' '2785' '2786' '2789' '2790' '2791' '2793' '2794' '2795' '2796' '2798' '2801' '2803' '2804' '2805' '2806' '2807' '2809' '2810' '2813' '2814' '2...

3   Pass
start=1234; finish=5678; y_correct = 2273; assert(isequal(diff_digits(start,finish),y_correct))

ans = 2273×4 char array '1234' '1235' '1236' '1237' '1238' '1239' '1240' '1243' '1245' '1246' '1247' '1248' '1249' '1250' '1253' '1254' '1256' '1257' '1258' '1259' '1260' '1263' '1264' '1265' '1267' '1268' '1269' '1270' '1273' '1274' '1275' '1276' '1278' '1279' '1280' '1283' '1284' '1285' '1286' '1287' '1289' '1290' '1293' '1294' '1295' '1296' '1297' '1298' '1302' '1304' '1305' '1306' '1307' '1308' '1309' '1320' '1324' '1325' '1326' '1327' '1328' '1329' '1340' '1342' '1345' '1346' '1347' '1348' '1349' '1350' '1352' '1354' '1356' '1357' '1358' '1359' '1360' '1362' '1364' '1365' '1367' '1368' '1369' '1370' '1372' '1374' '1375' '1376' '1378' '1379' '1380' '1382' '1384' '1385' '1386' '1387' '1389' '1390' '1392' '1394' '1395' '1396' '1397' '1398' '1402' '1403' '1405' '1406' '1407' '1408' '1409' '1420' '1423' '1425' '1426' '1427' '1428' '1429' '1430' '1432' '1435' '1436' '1437' '1438' '1439' '1450' '1452' '1453' '1456' '1457' '1458' '1459' '1460' '1462' '1463' '1465' '1467' '1468' '1469' '1470' '1472' '1473' '1475' '1476' '1478' '1479' '1480' '1482' '1483' '1485' '1486' '1487' '1489' '1490' '1492' '1493' '1495' '1496' '1497' '1498' '1502' '1503' '1504' '1506' '1507' '1508' '1509' '1520' '1523' '1524' '1526' '1527' '1528' '1529' '1530' '1532' '1534' '1536' '1537' '1538' '1539' '1540' '1542' '1543' '1546' '1547' '1548' '1549' '1560' '1562' '1563' '1564' '1567' '1568' '1569' '1570' '1572' '1573' '1574' '1576' '1578' '1579' '1580' '1582' '1583' '1584' '1586' '1587' '1589' '1590' '1592' '1593' '1594' '1596' '1597' '1598' '1602' '1603' '1604' '1605' '1607' '1608' '1609' '1620' '1623' '1624' '1625' '1627' '1628' '1629' '1630' '1632' '1634' '1635' '1637' '1638' '1639' '1640' '1642' '1643' '1645' '1647' '1648' '1649' '1650' '1652' '1653' '1654' '1657' '1658' '1659' '1670' '1672' '1673' '1674' '1675' '1678' '1679' '1680' '1682' '1683' '1684' '1685' '1687' '1689' '1690' '1692' '1693' '1694' '1695' '1697' '1698' '1702' '1703' '1704' '1705' '1706' '1708' '1709' '1720' '1723' '1724' '1725' '1726' '1728' '1729' '1730' '1732' '1734' '1735' '1736' '1738' '1739' '1740' '1742' '1743' '1745' '1746' '1748' '1749' '1750' '1752' '1753' '1754' '1756' '1758' '1759' '1760' '1762' '1763' '1764' '1765' '1768' '1769' '1780' '1782' '1783' '1784' '1785' '1786' '1789' '1790' '1792' '1793' '1794' '1795' '1796' '1798' '1802' '1803' '1804' '1805' '1806' '1807' '1809' '1820' '1823' '1824' '1825' '1826' '1827' '1829' '1830' '1832' '1834' '1835' '1836' '1837' '1839' '1840' '1842' '1843' '1845' '1846' '1847' '1849' '1850' '1852' '1853' '1854' '1856' '1857' '1859' '1860' '1862' '1863' '1864' '1865' '1867' '1869' '1870' '1872' '1873' '1874' '1875' '1876' '1879' '1890' '1892' '1893' '1894' '1895' '1896' '1897' '1902' '1903' '1904' '1905' '1906' '1907' '1908' '1920' '1923' '1924' '1925' '1926' '1927' '1928' '1930' '1932' '1934' '1935' '1936' '1937' '1938' '1940' '1942' '1943' '1945' '1946' '1947' '1948' '1950' '1952' '1953' '1954' '1956' '1957' '1958' '1960' '1962' '1963' '1964' '1965' '1967' '1968' '1970' '1972' '1973' '1974' '1975' '1976' '1978' '1980' '1982' '1983' '1984' '1985' '1986' '1987' '2013' '2014' '2015' '2016' '2017' '2018' '2019' '2031' '2034' '2035' '2036' '2037' '2038' '2039' '2041' '2043' '2045' '2046' '2047' '2048' '2049' '2051' '2053' '2054' '2056' '2057' '2058' '2059' '2061' '2063' '2064' '2065' '2067' '2068' '2069' '2071' '2073' '2074' '2075' '2076' '2078' '2079' '2081' '2083' '2084' '2085' '2086' '2087' '2089' '2091' '2093' '2094' '2095' '2096' '2097' '2098' '2103' '2104' '2105' '2106' '2107' '2108' '2109' '2130' '2134' '2135' '2136' '2137' '2138' '2139' '2140' '2143' '2145' '2146' '2147' '2148' '2149' '2150' '2153' '2154' '2156' '2157' '2158' '2159' '2160' '2163' '2164' '2165' '2167' '2168' '2169' '2170' '2173' '2174' '2175' '2176' '2178' '2179' '2180' '2183' '2184' '2185' '2186' '2187' '2189' '2190' '2193' '2194' '2195' '2196' '2197' '2198' '2301' '2304' '2305' '2306' '2307' '2308' '2309' '2310' '2314' '2315' '2316' '2317' '2318' '2319' '2340' '2341' '2345' '2346' '2347' '2348' '2349' '2350' '2351' '2354' '2356' '2357' '2358' '2359' '2360' '2361' '2364' '2365' '2367' '2368' '2369' '2370' '2371' '2374' '2375' '2376' '2378' '2379' '2380' '2381' '2384' '2385' '2386' '2387' '2389' '2390' '2391' '2394' '2395' '2396' '2397' '2398' '2401' '2403' '2405' '2406' '2407' '2408' '2409' '2410' '2413' '2415' '2416' '2417' '2418' '2419' '2430' '2431' '2435' '2436' '2437' '2438' '2439' '2450' '2451' '2453' '2456' '2457' '2458' '2459' '2460' '2461' '2463' '2465' '2467' '2468' '2469' '2470' '2471' '2473' '2475' '2476' '2478' '2479' '2480' '2481' '2483' '2485' '2486' '2487' '2489' '2490' '2491' '2493' '2495' '2496' '2497' '2498' '2501' '2503' '2504' '2506' '2507' '2508' '2509' '2510' '2513' '2514' '2516' '2517' '2518' '2519' '2530' '2531' '2534' '2536' '2537' '2538' '2539' '2540' '2541' '2543' '2546' '2547' '2548' '2549' '2560' '2561' '2563' '2564' '2567' '2568' '2569' '2570' '2571' '2573' '2574' '2576' '2578' '2579' '2580' '2581' '2583' '2584' '2586' '2587' '2589' '2590' '2591' '2593' '2594' '2596' '2597' '2598' '2601' '2603' '2604' '2605' '2607' '2608' '2609' '2610' '2613' '2614' '2615' '2617' '2618' '2619' '2630' '2631' '2634' '2635' '2637' '2638' '2639' '2640' '2641' '2643' '2645' '2647' '2648' '2649' '2650' '2651' '2653' '2654' '2657' '2658' '2659' '2670' '2671' '2673' '2674' '2675' '2678' '2679' '2680' '2681' '2683' '2684' '2685' '2687' '2689' '2690' '2691' '2693' '2694' '2695' '2697' '2698' '2701' '2703' '2704' '2705' '2706' '2708' '2709' '2710' '2713' '2714' '2715' '2716' '2718' '2719' '2730' '2731' '2734' '2735' '2736' '2738' '2739' '2740' '2741' '2743' '2745' '2746' '2748' '2749' '2750' '2751' '2753' '2754' '2756' '2758' '2759' '2760' '2761' '2763' '2764' '2765' '2768' '2769' '2780' '2781' '2783' '2784' '2785' '2786' '2789' '2790' '2791' '2793' '2794' '2795' '2796' '2798' '2801' '2803' '2804' '2805' '2806' '2807' '2809' '2810' '2813' '2814' '2815' '2816' '2817' '2819' '2830' '2831' '2834' '2835' '2836' '2837' '2839' '2840' '2841' '2843' '2845' '2846' '2847' '2849' '2850' '2851' '2853' '2854' '2856' '2857' '2859' '2860' '2861' '2863' '2864' '2865' '2867' '2869' '2870' '2871' '2873' '2874' '2875' '2876' '2879' '2890' '2891' '2893' '2894' '2895' '2896' '2897' '2901' '2903' '2904' '2905' '2906' '2907' '2908' '2910' '2913' '2914' '2915' '2916' '2917' '2918' '2930' '2931' '2934' '2935' '2...

4   Pass
assert(isequal(diff_digits(4321,6789),1210))

ans = 1210×4 char array '4321' '4325' '4326' '4327' '4328' '4329' '4350' '4351' '4352' '4356' '4357' '4358' '4359' '4360' '4361' '4362' '4365' '4367' '4368' '4369' '4370' '4371' '4372' '4375' '4376' '4378' '4379' '4380' '4381' '4382' '4385' '4386' '4387' '4389' '4390' '4391' '4392' '4395' '4396' '4397' '4398' '4501' '4502' '4503' '4506' '4507' '4508' '4509' '4510' '4512' '4513' '4516' '4517' '4518' '4519' '4520' '4521' '4523' '4526' '4527' '4528' '4529' '4530' '4531' '4532' '4536' '4537' '4538' '4539' '4560' '4561' '4562' '4563' '4567' '4568' '4569' '4570' '4571' '4572' '4573' '4576' '4578' '4579' '4580' '4581' '4582' '4583' '4586' '4587' '4589' '4590' '4591' '4592' '4593' '4596' '4597' '4598' '4601' '4602' '4603' '4605' '4607' '4608' '4609' '4610' '4612' '4613' '4615' '4617' '4618' '4619' '4620' '4621' '4623' '4625' '4627' '4628' '4629' '4630' '4631' '4632' '4635' '4637' '4638' '4639' '4650' '4651' '4652' '4653' '4657' '4658' '4659' '4670' '4671' '4672' '4673' '4675' '4678' '4679' '4680' '4681' '4682' '4683' '4685' '4687' '4689' '4690' '4691' '4692' '4693' '4695' '4697' '4698' '4701' '4702' '4703' '4705' '4706' '4708' '4709' '4710' '4712' '4713' '4715' '4716' '4718' '4719' '4720' '4721' '4723' '4725' '4726' '4728' '4729' '4730' '4731' '4732' '4735' '4736' '4738' '4739' '4750' '4751' '4752' '4753' '4756' '4758' '4759' '4760' '4761' '4762' '4763' '4765' '4768' '4769' '4780' '4781' '4782' '4783' '4785' '4786' '4789' '4790' '4791' '4792' '4793' '4795' '4796' '4798' '4801' '4802' '4803' '4805' '4806' '4807' '4809' '4810' '4812' '4813' '4815' '4816' '4817' '4819' '4820' '4821' '4823' '4825' '4826' '4827' '4829' '4830' '4831' '4832' '4835' '4836' '4837' '4839' '4850' '4851' '4852' '4853' '4856' '4857' '4859' '4860' '4861' '4862' '4863' '4865' '4867' '4869' '4870' '4871' '4872' '4873' '4875' '4876' '4879' '4890' '4891' '4892' '4893' '4895' '4896' '4897' '4901' '4902' '4903' '4905' '4906' '4907' '4908' '4910' '4912' '4913' '4915' '4916' '4917' '4918' '4920' '4921' '4923' '4925' '4926' '4927' '4928' '4930' '4931' '4932' '4935' '4936' '4937' '4938' '4950' '4951' '4952' '4953' '4956' '4957' '4958' '4960' '4961' '4962' '4963' '4965' '4967' '4968' '4970' '4971' '4972' '4973' '4975' '4976' '4978' '4980' '4981' '4982' '4983' '4985' '4986' '4987' '5012' '5013' '5014' '5016' '5017' '5018' '5019' '5021' '5023' '5024' '5026' '5027' '5028' '5029' '5031' '5032' '5034' '5036' '5037' '5038' '5039' '5041' '5042' '5043' '5046' '5047' '5048' '5049' '5061' '5062' '5063' '5064' '5067' '5068' '5069' '5071' '5072' '5073' '5074' '5076' '5078' '5079' '5081' '5082' '5083' '5084' '5086' '5087' '5089' '5091' '5092' '5093' '5094' '5096' '5097' '5098' '5102' '5103' '5104' '5106' '5107' '5108' '5109' '5120' '5123' '5124' '5126' '5127' '5128' '5129' '5130' '5132' '5134' '5136' '5137' '5138' '5139' '5140' '5142' '5143' '5146' '5147' '5148' '5149' '5160' '5162' '5163' '5164' '5167' '5168' '5169' '5170' '5172' '5173' '5174' '5176' '5178' '5179' '5180' '5182' '5183' '5184' '5186' '5187' '5189' '5190' '5192' '5193' '5194' '5196' '5197' '5198' '5201' '5203' '5204' '5206' '5207' '5208' '5209' '5210' '5213' '5214' '5216' '5217' '5218' '5219' '5230' '5231' '5234' '5236' '5237' '5238' '5239' '5240' '5241' '5243' '5246' '5247' '5248' '5249' '5260' '5261' '5263' '5264' '5267' '5268' '5269' '5270' '5271' '5273' '5274' '5276' '5278' '5279' '5280' '5281' '5283' '5284' '5286' '5287' '5289' '5290' '5291' '5293' '5294' '5296' '5297' '5298' '5301' '5302' '5304' '5306' '5307' '5308' '5309' '5310' '5312' '5314' '5316' '5317' '5318' '5319' '5320' '5321' '5324' '5326' '5327' '5328' '5329' '5340' '5341' '5342' '5346' '5347' '5348' '5349' '5360' '5361' '5362' '5364' '5367' '5368' '5369' '5370' '5371' '5372' '5374' '5376' '5378' '5379' '5380' '5381' '5382' '5384' '5386' '5387' '5389' '5390' '5391' '5392' '5394' '5396' '5397' '5398' '5401' '5402' '5403' '5406' '5407' '5408' '5409' '5410' '5412' '5413' '5416' '5417' '5418' '5419' '5420' '5421' '5423' '5426' '5427' '5428' '5429' '5430' '5431' '5432' '5436' '5437' '5438' '5439' '5460' '5461' '5462' '5463' '5467' '5468' '5469' '5470' '5471' '5472' '5473' '5476' '5478' '5479' '5480' '5481' '5482' '5483' '5486' '5487' '5489' '5490' '5491' '5492' '5493' '5496' '5497' '5498' '5601' '5602' '5603' '5604' '5607' '5608' '5609' '5610' '5612' '5613' '5614' '5617' '5618' '5619' '5620' '5621' '5623' '5624' '5627' '5628' '5629' '5630' '5631' '5632' '5634' '5637' '5638' '5639' '5640' '5641' '5642' '5643' '5647' '5648' '5649' '5670' '5671' '5672' '5673' '5674' '5678' '5679' '5680' '5681' '5682' '5683' '5684' '5687' '5689' '5690' '5691' '5692' '5693' '5694' '5697' '5698' '5701' '5702' '5703' '5704' '5706' '5708' '5709' '5710' '5712' '5713' '5714' '5716' '5718' '5719' '5720' '5721' '5723' '5724' '5726' '5728' '5729' '5730' '5731' '5732' '5734' '5736' '5738' '5739' '5740' '5741' '5742' '5743' '5746' '5748' '5749' '5760' '5761' '5762' '5763' '5764' '5768' '5769' '5780' '5781' '5782' '5783' '5784' '5786' '5789' '5790' '5791' '5792' '5793' '5794' '5796' '5798' '5801' '5802' '5803' '5804' '5806' '5807' '5809' '5810' '5812' '5813' '5814' '5816' '5817' '5819' '5820' '5821' '5823' '5824' '5826' '5827' '5829' '5830' '5831' '5832' '5834' '5836' '5837' '5839' '5840' '5841' '5842' '5843' '5846' '5847' '5849' '5860' '5861' '5862' '5863' '5864' '5867' '5869' '5870' '5871' '5872' '5873' '5874' '5876' '5879' '5890' '5891' '5892' '5893' '5894' '5896' '5897' '5901' '5902' '5903' '5904' '5906' '5907' '5908' '5910' '5912' '5913' '5914' '5916' '5917' '5918' '5920' '5921' '5923' '5924' '5926' '5927' '5928' '5930' '5931' '5932' '5934' '5936' '5937' '5938' '5940' '5941' '5942' '5943' '5946' '5947' '5948' '5960' '5961' '5962' '5963' '5964' '5967' '5968' '5970' '5971' '5972' '5973' '5974' '5976' '5978' '5980' '5981' '5982' '5983' '5984' '5986' '5987' '6012' '6013' '6014' '6015' '6017' '6018' '6019' '6021' '6023' '6024' '6025' '6027' '6028' '6029' '6031' '6032' '6034' '6035' '6037' '6038' '6039' '6041' '6042' '6043' '6045' '6047' '6048' '6049' '6051' '6052' '6053' '6054' '6057' '6058' '6059' '6071' '6072' '6073' '6074' '6075' '6078' '6079' '6081' '6082' '6083' '6084' '6085' '6087' '6089' '6091' '6092' '6093' '6094' '6095' '6097' '6098' '6102' '6103' '6104' '6105' '6107' '6108' '6109' '6120' '6123' '6124' '6125' '6127' '6128' '6129' '6130' '6132' '6134' '6135' '6137' '6138' '6139' '6140' '6142' '6143' '6145' '6...

5   Pass
assert(isequal(diff_digits(1988,2012),0))

ans = 0×4 empty char array temp = 0