-
Notifications
You must be signed in to change notification settings - Fork 1
/
output.txt
8 lines (6 loc) · 8.32 KB
/
output.txt
1
2
3
4
5
6
7
8
NUMER_OF_PROCESSES 4
NUMBER_OF_ARRAY_ELEMENTS 800
K 4
C 2
Random array => [899234479,689921324,1569249837,1612184719,1704267782,1828793022,592336468,964642309,1685317413,1875561080,857429501,129870380,321061454,520046160,1637882197,1662193859,374070679,1918156402,170691043,1018053412,1720175221,2035917716,2036213931,823592758,368574803,448250725,129133564,1616490208,216940117,357063432,345093614,1116174597,1046984756,1914343451,580875668,603768890,1595652825,1173212136,1568411199,1133486590,901289568,278357052,1263356970,1222351023,798403213,753755520,737061234,1172473892,524428274,907752277,43043657,97119848,796186345,2079257588,920712606,1164761149,380024665,1049846170,633767709,596964783,1406909602,978861323,1713139380,306410710,745721127,146531400,910179600,193890304,1319743536,331107151,1327376895,73549456,609464204,443250217,1295900479,1407867417,1197005737,2032961714,432857661,1721434012,793230343,475901318,1818553860,1589416689,407675259,591782818,606694190,787699924,1641628988,1240461899,1384664707,901054943,71839575,950320439,1207465653,817560702,1096851839,2117645254,1011451006,269111727,301268757,191344253,342661184,910732961,634594471,1638561663,171116730,1831600208,1524039729,603974392,1405550572,169786425,1079875710,1076620784,1759203114,1487550969,1668403602,218413656,127767246,1162548943,1458875555,1512431953,2063603886,1530715130,315268745,1123585891,200792184,1412120584,1093747497,1212243191,1681232312,1395016255,1403587444,2023893496,158265568,2038181915,1514971511,329382299,1722298476,891527593,933356691,980365400,1061314018,2013232401,2056986185,673033484,1353299723,1577906139,891447140,1481066969,592971434,202839047,846015274,509091672,1733554178,1161284019,1632677564,1934346362,425920956,578941413,999105905,2107153268,1973957668,255209702,1983563116,2132223237,145907969,1351050979,314121888,1868206445,95094924,1247478579,701088198,1156408942,1113227332,610590735,1829442426,319043407,41013226,573405918,1800110376,633984661,776244966,498642003,1143076333,362315496,1659926022,628270249,149178210,2085846978,1207211663,1148284116,2045516598,1033685683,1403493818,1881596066,1018425272,1549401787,1085163398,1332547160,1270124585,1180258322,432542091,1971212783,189183617,1545769424,434319870,2018626043,1864812831,475333096,444548314,1517439560,1109317757,1220793280,2016081563,104910443,1583108776,1528523937,733180692,1732286986,1466887268,1940392355,733087454,1364920218,826594391,2136581272,1099032637,1845019663,1538499412,36712387,1030083176,661140349,1216970709,1462625267,484869484,1406154326,860911043,919189354,1277296722,578240227,1394522450,1721845036,2095679787,356356560,795154668,1964277702,461267003,230779796,1345317991,1194447695,1963066782,664721611,987356403,548670589,2029641830,1813950794,537768213,981190819,1511486809,2076267625,1017903206,394086337,589924326,87390267,1856711605,1074793810,1493544594,570139000,1993983164,623357668,1148379227,1241021967,197719056,1096575366,1597378527,992873724,913369420,2058645530,1223653520,111203764,1105609577,1039236654,775925375,2092965980,1587907243,658083557,1759433126,2125675457,1639274376,1123436288,2054459434,509693934,1517522625,496900113,597084202,1226750582,1571693923,2090628796,1796889583,1418193440,566502816,797785162,511731759,764221872,1894360529,2109110286,1757095596,660246301,2020272168,833265468,771450065,978398097,1872502122,1547375441,923880430,1312925718,57975350,535829908,1291117527,1697249727,1659266196,1198093313,59460013,1029305174,1694993426,656544215,108572108,1119203702,599689363,1905461691,389913494,1166192179,555763206,901645253,1930414051,302640087,863271891,1540025999,962886388,736060411,225807819,1734336454,1714458508,2098309942,1134228247,490855290,1263752012,1192203597,1026685199,407385891,741969676,538467747,1605479204,801429690,1567772921,1152988983,1457973905,1676345030,124709037,2057663269,1434323073,514622531,1076371800,1990086279,1416267784,859302204,145242718,132056027,251844555,1108129107,868116438,477652375,694981913,435091298,428478669,1829210160,925946589,1692230681,873930109,1952631788,2099616572,1615899786,343615887,1557612128,269845828,1911388809,563117463,1727819733,1440250191,687826500,1637999354,727089616,1202449031,566887507,569692248,471233167,1426189711,714934966,603289194,1678034266,1823064073,1471405632,8202993,370562338,1906496931,436681662,52288850,684959872,2128912343,926218960,490108012,2081045267,394635098,833723899,1491173748,664480926,597629060,2054291211,244817011,2037879251,594634064,1882816366,617485220,1797083095,302220225,1187177468,120832615,1728409936,1902112434,724121809,1258960554,1577692860,48043794,1267163548,1948255198,1954540725,1703845210,2000544049,492016949,1685273906,779279361,982124961,1618835525,1173914459,1815848860,962525625,1838395385,265994273,869333189,2083212396,156389876,1463967253,1818545114,773875096,1113566700,2120765339,1961052564,1234399315,1701691627,1715681351,1958521125,813168534,1145890563,2006564919,2080332082,946662113,1813621996,1636693644,799722514,158155297,1174483902,1579001875,1140280258,645835780,605432686,808645470,1608361405,296344423,1074639743,330210946,232073172,1231029620,1794178199,2050618286,2004904716,760261252,2023899978,1818473633,1994660567,1578107957,1386671336,1805698044,243792843,385078251,1664779315,176641277,1331740364,1330917663,1813334922,2131462879,1489072960,840335176,1562981106,481869570,1486170956,20930145,1290515041,947048714,317274568,217671136,1277259660,549347740,1448700756,923954212,452482379,1306121825,1684215464,328898709,977111810,1531392383,1907006666,216299498,1189606780,3315862,601377749,706902447,179957139,1933118113,2037820111,1993292061,1917097344,1379409423,686143590,1332594803,1861278994,24830898,1353524948,1004310387,971879612,1670799516,1221981523,101655625,72663609,523198632,1025609837,525145988,1829320457,562341653,854044697,658948619,2093734036,613567715,875248117,1135857168,616883577,1476625866,1842759616,796840717,1262260331,1733096079,642649130,1031874028,965021854,1328792720,216985183,678817200,1353623619,1570510131,1683127587,178019583,1093825999,757625463,279675208,1166489608,1280824095,1305285045,1691635596,962660904,1867626698,398196645,1621609523,1813877087,1011764361,349373992,802250607,1628647938,1825999858,497526575,278005007,940776541,83139006,920654138,1972650569,1048160861,101963210,42152104,1726978061,1455586829,1612662235,1262622001,1633606413,559004587,2020247464,1913281621,1725494195,1153587911,1071083019,1269646144,2116248815,791226069,1667842789,1590374690,457619508,532123502,1939748682,1259870116,13287793,1618264892,1757396691,291292800,411557785,1840535698,1211946938,236724707,741212911,1313910149,278876811,320707324,622013330,1891539047,1583329325,108136095,303059986,1456093141,2021417717,2028554181,462197404,945017088,1150716677,430962571,1736243157,671075819,2021337261,46379018,1203199321,1813602295,1306249134,1216487114,1284383539,916162177,1507779915,1695941325,609214227,572243205,1932666032,1350427138,1886153354,64059195,1671134463,360683037,1955598242,1106980140,468819132,111174580,415589634,342753201,2139728762,877787038,1287770289,1142961791,1308749610,876529799,1814037610,1182603223,922908817,869753284,848721871,81674303,2086240398,2133105410,997836480,1446536665,1681563087,1607050708,2018779871,1466745471,809994198,1757449577,1530804667,333645013,2118132614,1338919261,1440625154,439468099,1450093842,1856214788,782221300,1442338956,586518178,2069991590,437817099,1895267788,799037741,104371062,930387364,1721946558,974124346,1779109235,1803620861,912881096,1764730997,653973693,211934114,1298810437,113540753,83230337,618072260,923534952,1840679914,1393279,1257179965,1811328881,1340312541,550321471,103313332,642922735,259052611,885534632,2085261691,845570790,808042574,375595142,593354930,1607080315,479966204,1523742294,1181543225,1454090550,1155367881,837680438,219487999,772615231,1491654132,431422113,2071425668,1605194885,514652450,542014280,381246189,207848716,543407560,1638426155,2019177597,1883720101,41263978,2122490929,379159188,300316590,860541914,316937231,1145887380,1668584488,692532373,1739242310,1128181156,1172498578,1115500957,162240733,479105480,123385190,999921172,698593479,896000421,344091656,1130015592,819942441,1949286541,1644668042,1361956722,183049083,1852516759,1905364282,1821475238,1724210708,1641600735,1862739216,1699217990,2020759923,15572158,412276256,190213506,1161459538,2080860744,882745879,753218201,1061558252,2055244457,1868719158,1223798986,386866290]
Solution (4) => 13287793