
{"id":430,"date":"2011-07-07T14:00:02","date_gmt":"2011-07-07T08:00:02","guid":{"rendered":"http:\/\/45minut.kz\/?p=430"},"modified":"2011-07-07T14:00:02","modified_gmt":"2011-07-07T08:00:02","slug":"%d0%bf%d1%80%d0%be%d0%b3%d1%80%d0%b0%d0%bc%d0%b0%d0%bb%d0%b0%d1%83%d2%93%d0%b0-%d0%bc%d0%b0%d1%88%d1%8b%d2%9b%d1%82%d0%b0%d0%bd%d1%83-1-%d1%81%d0%b0%d2%93-9-%d1%81%d1%8b%d0%bd%d1%8b%d0%bf","status":"publish","type":"post","link":"https:\/\/45minut.biz\/?p=430","title":{"rendered":"\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u0430\u043b\u0430\u0443\u0493\u0430 \u043c\u0430\u0448\u044b\u049b\u0442\u0430\u043d\u0443 (1 \u0441\u0430\u0493) 9-\u0441\u044b\u043d\u044b\u043f."},"content":{"rendered":"<p>\u041f\u04d9\u043d \u043c\u04b1\u0493\u0430\u043b\u0456\u043c\u0456: <strong>\u0416\u0430\u049b\u0430\u0435\u0432 \u041c\u04b1\u049b\u0430\u043c\u0435\u0434\u0436\u0430\u043d. <\/strong><a href=\"http:\/\/www.inust.kz\/\">\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u043a \u04b1\u0441\u0442\u0430\u0437\u0434\u0430\u0440 \u0436\u043e\u0431\u0430\u0441\u044b\u043d\u044b\u04a3 \u0430\u0432\u0442\u043e\u0440\u044b.<!--more--><\/a><\/p>\n<p>\u0411\u0456\u0440 \u04e9\u043b\u0448\u0435\u043c\u0434\u0456 \u043a\u0435\u0441\u0435\u0442\u0435\u0433\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0436\u0430\u0437\u044b\u043f \u043c\u0430\u0448\u049b\u044b\u0442\u0430\u043d\u0443 \u0441\u0430\u0431\u0430\u0493\u044b. \u0421\u0430\u0431\u0430\u049b\u0442\u044b\u04a3 \u049b\u0438\u044b\u043d\u0434\u044b\u0493\u044b \u04e9\u0441\u0443 \u0440\u0435\u0442\u0456\u043c\u0435\u043d.<\/p>\n<p>&nbsp;<\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\" width=\"870\">\n<tbody>\n<tr>\n<td width=\"60\" valign=\"top\">\n<div>\u211627<\/div>\n<\/td>\n<td width=\"135\" valign=\"top\">\n<div><strong>\u0421\u0430\u0431\u0430\u049b\u0442\u044b\u04a3<\/strong><\/div>\n<\/td>\n<td width=\"675\" valign=\"top\">\n<div>9- \u0421\u042b\u041d\u042b\u041f.<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"60\" valign=\"top\">\n<div>\u0406<\/div>\n<\/td>\n<td width=\"135\" valign=\"top\">\n<div>\u0442\u0430\u049b\u044b\u0440\u044b\u0431\u044b:<\/div>\n<\/td>\n<td width=\"675\" valign=\"top\">\n<div><strong>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u0430\u043b\u0430\u0443\u0493\u0430 \u043c\u0430\u0448\u044b\u049b\u0442\u0430\u043d\u0443.<\/strong><strong> (1 \u0441\u0430\u0493)<\/strong><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\" width=\"60\" valign=\"top\"><\/td>\n<td width=\"135\" valign=\"top\">\n<div>\u043c\u0430\u049b\u0441\u0430\u0442\u0442\u0430\u0440\u044b:<\/div>\n<\/td>\n<td width=\"675\" valign=\"top\">\n<div>1. \u041a\u0435\u0441\u0442\u0435\u043b\u0456\u043a   \u0448\u0430\u043c\u0430\u043b\u0430\u0440, \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0434\u0435\u0433\u0456 \u043a\u0435\u0441\u0442\u0435\u043b\u0456\u043a \u0448\u0430\u043c\u0430\u043b\u0430\u0440\u0434\u044b  \u041f\u0430\u0441\u043a\u0430\u043b\u0434\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u043b\u0430\u0443 \u0436\u043e\u043b\u044b \u043c\u0435\u043d   \u04d9\u0434\u0456\u0441\u0434\u0435\u0440\u0456 \u0442\u0443\u0440\u0430\u043b\u044b \u0442\u04af\u0441\u0456\u043d\u0456\u043a \u049b\u0430\u043b\u044b\u043f\u0442\u0430\u0441\u0442\u044b\u0440\u0443.  ARRAY \u043e\u043f\u0440\u0435\u0442\u043e\u0440\u044b \u0430\u0440\u049b\u044b\u043b\u044b \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u043b\u0430\u0443\u0434\u044b   \u04af\u0439\u0440\u0435\u043d\u0443, \u043f\u044b\u0441\u044b\u049b\u0442\u0430\u0443. \u0411\u0456\u0440 \u0436\u04d9\u043d\u0435  \u0435\u043a\u0456\u04e9\u043b\u0448\u0435\u043c\u0434\u0456 \u0436\u0438\u044b\u043c\u0434\u0430\u0440 \u0442\u0443\u0440\u0430\u043b\u044b \u04b1\u0493\u044b\u043c \u049b\u0430\u043b\u044b\u043f\u0442\u0430\u0441\u0442\u044b\u0440\u0443. RANDOM \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b.<\/div>\n<div>2. \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u043d\u044b \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0430\u043b\u044b\u049b   \u043c\u043e\u0434\u0435\u043b \u049b\u04b1\u0440\u0443 \u0430\u0440\u049b\u044b\u043b\u044b \u0441\u0430\u043f\u0430\u043b\u044b  \u0436\u0430\u0437\u0443 \u0434\u0430\u0493\u0434\u044b\u0441\u044b\u043d \u049b\u0430\u043b\u044b\u043f\u0442\u0430\u0441\u0442\u044b\u0440\u0443. \u0416\u0438\u044b\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0456, \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0442\u0456   \u0431\u0435\u0440\u0456\u043b\u0433\u0435\u043d \u049b\u0430\u0441\u0438\u0435\u0442\u0456  \u0431\u043e\u0439\u044b\u043d\u0448\u0430 \u0456\u0437\u0434\u0435\u0443, \u0441\u04b1\u0440\u044b\u043f\u0442\u0430\u0443 \u0442\u0443\u0440\u0430\u043b\u044b \u0442\u04af\u0441\u0456\u043d\u0456\u043a\u0442\u0435\u0440 \u049b\u0430\u043b\u044b\u043f\u0442\u0430\u0441\u0442\u044b\u0440\u0443. \u0415\u0441\u0435\u043f\u0442\u0435\u0440\u0433\u0435    \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u043b\u0430\u0440 \u0436\u0430\u0437\u044b\u043f \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0434\u0435 \u043e\u0440\u044b\u043d\u0434\u0430\u0443.<\/div>\n<div>3. \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430   \u043c\u04d9\u0442\u0456\u043d\u0456\u043d \u044d\u043a\u0440\u0430\u043d\u0493\u0430 \u0436\u04d9\u043d\u0435 \u0434\u04d9\u043f\u0442\u0435\u0440\u0433\u0435 \u0436\u0430\u0437\u0443\u0434\u044b\u04a3 \u044d\u0441\u0442\u0435\u0442\u0438\u043a\u0430\u0441\u044b\u043d \u0441\u0430\u049b\u0442\u0430\u0443.<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"135\" valign=\"top\">\n<div>\u043a\u04e9\u0440\u043d\u0435\u043a\u0456\u043b\u0456\u0433\u0456:<\/div>\n<\/td>\n<td width=\"675\" valign=\"top\">\n<div>\u041a\u0435\u0441\u0442\u0435\u043b\u0435\u0440\u0434\u0456\u04a3   \u043c\u044b\u0441\u0430\u043b\u0434\u0430\u0440\u044b \u0441\u044b\u0437\u044b\u043b\u0493\u0430\u043d \u043f\u043b\u0430\u043a\u0430\u0442. \u041f\u0430\u0441\u043a\u0430\u043b\u044c \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u044b \u2013 <strong><em>\u041f\u0430\u0441\u043a\u0430\u043b \u0410\u0412\u0421<\/em><\/strong>, (\u043a\u04e9\u043a\u043f\u0435\u043d \u0436\u0430\u0437\u044b\u043b\u0493\u0430\u043d\u0434\u0430\u0440 \u0442\u0430\u049b\u0442\u0430\u0493\u0430 \u043d\/\u0435 \u0444\u0447\/\u043f\u0440\u0437 \u0436\u0430\u0437\u044b\u043b\u0430\u0434\u044b, \u043a\u0435\u0439 \u0436\u0435\u0440\u0456\u043d   \u043e\u049b\u0443\u0448\u044b\u043b\u0430\u0440 \u0434\u04d9\u043f\u0442\u0435\u0440\u0433\u0435 \u0436\u0430\u0437\u0430\u0434\u044b).<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"135\" valign=\"top\">\n<div>\u0442\u04af\u0440\u0456:<\/div>\n<\/td>\n<td width=\"675\" valign=\"top\">\n<div>\u041f\u0440\u0430\u043a\u0442\u0438\u043a\u0430\u043b\u044b\u049b   \u0441\u0430\u0431\u0430\u049b.<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"60\" valign=\"top\">\n<div>\u0406\u0406<\/div>\n<\/td>\n<td width=\"135\" valign=\"top\">\n<div>\u0431\u0430\u0440\u044b\u0441\u044b:<\/div>\n<\/td>\n<td width=\"675\" valign=\"top\">\n<div>\u04b0\u0439\u044b\u043c\u0434\u0430\u0441\u0442\u044b\u0440\u0443.<\/div>\n<ol type=\"1\">\n<li>\u041e\u049b\u0443\u0448\u044b\u043b\u0430\u0440\u0434\u044b \u0442\u04af\u0433\u0435\u043b\u0434\u0435\u0443, \u0436\u0443\u0440\u043d\u0430\u043b        \u0442\u043e\u043b\u0442\u044b\u0440\u0443, \u043e\u049b\u0443\u0448\u044b\u043b\u0430\u0440\u0434\u044b\u04a3 \u0434\u04d9\u043f\u0442\u0435\u0440\u043b\u0435\u0440\u0456\u043d, \u043e\u049b\u0443\u043b\u044b\u049b\u0442\u0430\u0440\u044b\u043d \u049b\u0430\u0440\u0430\u043f \u0448\u044b\u0493\u0443.<\/li>\n<li>\u0421\u044b\u043d\u044b\u043f, \u0442\u0430\u049b\u0442\u0430, \u043f\u0430\u0440\u0442\u0430\u00a0\u0442\u0430\u0437\u0430\u043b\u044b\u0493\u044b\u043d \u049b\u0430\u0440\u0430\u043f \u0448\u044b\u0493\u0443, \u049b\u0430\u0436\u0435\u0442 \u0431\u043e\u043b\u0441\u0430        \u0435\u0441\u043a\u0435\u0440\u0442\u0443\u043b\u0435\u0440 \u0436\u0430\u0441\u0430\u0443.<\/li>\n<li>\u041e\u049b\u0443\u0448\u044b\u043b\u0430\u0440\u0434\u044b\u04a3 \u043d\u0430\u0437\u0430\u0440\u044b\u043d \u0441\u0430\u0431\u0430\u049b\u049b\u0430 \u0430\u0443\u0434\u0430\u0440\u0443.<\/li>\n<\/ol>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"60\" valign=\"top\">\n<div>\u0406\u0406\u0406<\/div>\n<\/td>\n<td width=\"135\" valign=\"top\">\n<div>\u0416\u0430\u04a3\u0430 \u0441\u0430\u0431\u0430\u049b<\/div>\n<\/td>\n<td width=\"675\" valign=\"top\">\n<div>\u0415\u0435\u0441\u0435\u043f. \u0411\u0456\u0440\u04e9\u043b\u0448\u0435\u043c\u0434\u0456   \u043a\u0435\u0441\u0442\u0435 0, 1, 2 \u0431\u04af\u0442\u0456\u043d \u0441\u0430\u043d\u0434\u0430\u0440\u044b\u043c\u0435\u043d \u043a\u0435\u0437-\u0434\u0435\u0439\u0441\u043e\u049b \u0440\u0435\u0442\u043f\u0435\u043d \u0442\u043e\u043b\u0442\u044b\u0440\u044b\u043b\u0493\u0430\u043d.<\/div>\n<ol type=\"1\">\n<li>\u041a\u0435\u0441\u0442\u0435\u043d\u0456        \u043a\u0435\u0437\u0434\u0435\u0439\u0441\u043e\u049b \u0440\u0435\u0442\u043f\u0435\u043d \u0442\u043e\u043b\u0442\u044b\u0440\u044b\u043f \u043a\u04e9\u0440\u0441\u0435\u0442\u0435\u0442\u0456\u043d \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0436\u0430\u0437\u044b\u04a3\u044b\u0437;<\/li>\n<li>\u041a\u0435\u0441\u0442\u0435\u0434\u0435 \u049b\u0430\u043d\u0448\u0430        0-\u0433\u0435 \u0442\u0435\u04a3 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0431\u0430\u0440 \u0435\u043a\u0435\u043d\u0456\u043d;<\/li>\n<li>\u041a\u0435\u0441\u0442\u0435\u0434\u0435 \u049b\u0430\u043d\u0448\u0430        1-\u0433\u0435 \u0442\u0435\u04a3 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0435\u043a\u0435\u043d\u0456\u043d;<\/li>\n<li>\u041a\u0435\u0441\u0442\u0435\u0434\u0435 \u049b\u0430\u043d\u0448\u0430        2-\u0433\u0435 \u0442\u0435\u04a3 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0435\u043a\u0435\u043d\u0456\u043d \u043a\u04e9\u0440\u0441\u0435\u0442\u0435\u0442\u0456\u043d \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0436\u0430\u0437\u0430\u043f \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0434\u0435        \u043e\u0440\u044b\u043d\u0434\u0430\u04a3\u044b\u0437.<\/li>\n<li>\u041e\u0441\u044b 2, 3,        4-\u0442\u0430\u043f\u0441\u044b\u0440\u043c\u0430\u043b\u0430\u0440\u0434\u044b \u0431\u0456\u0440 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0434\u0430 \u0436\u0430\u0437\u044b\u043f \u043e\u0440\u044b\u043d\u0434\u0430\u04a3\u044b\u0437.<\/li>\n<\/ol>\n<div>\u041a\u0435\u0441\u0442\u0435\u043d\u0456\u04a3   \u043c\u044b\u0441\u0430\u043b\u044b:<\/div>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td width=\"50\" valign=\"top\">\n<div>i<\/div>\n<\/td>\n<td width=\"50\" valign=\"top\">\n<div>1<\/div>\n<\/td>\n<td width=\"50\" valign=\"top\">\n<div>2<\/div>\n<\/td>\n<td width=\"50\" valign=\"top\">\n<div>3<\/div>\n<\/td>\n<td width=\"50\" valign=\"top\">\n<div>4<\/div>\n<\/td>\n<td width=\"50\" valign=\"top\">\n<div>5<\/div>\n<\/td>\n<td width=\"50\" valign=\"top\">\n<div>6<\/div>\n<\/td>\n<td width=\"50\" valign=\"top\">\n<div>7<\/div>\n<\/td>\n<td width=\"50\" valign=\"top\">\n<div>8<\/div>\n<\/td>\n<td width=\"51\" valign=\"top\">\n<div>9<\/div>\n<\/td>\n<td width=\"51\" valign=\"top\">\n<div>10<\/div>\n<\/td>\n<td width=\"51\" valign=\"top\">\n<div>11<\/div>\n<\/td>\n<td width=\"51\" valign=\"top\">\n<div>12<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"50\" valign=\"top\">\n<div>A[i]<\/div>\n<\/td>\n<td width=\"50\" valign=\"top\">\n<div>0<\/div>\n<\/td>\n<td width=\"50\" valign=\"top\">\n<div>1<\/div>\n<\/td>\n<td width=\"50\" valign=\"top\">\n<div>1<\/div>\n<\/td>\n<td width=\"50\" valign=\"top\">\n<div>0<\/div>\n<\/td>\n<td width=\"50\" valign=\"top\">\n<div>2<\/div>\n<\/td>\n<td width=\"50\" valign=\"top\">\n<div>0<\/div>\n<\/td>\n<td width=\"50\" valign=\"top\">\n<div>1<\/div>\n<\/td>\n<td width=\"50\" valign=\"top\">\n<div>2<\/div>\n<\/td>\n<td width=\"51\" valign=\"top\">\n<div>0<\/div>\n<\/td>\n<td width=\"51\" valign=\"top\">\n<div>1<\/div>\n<\/td>\n<td width=\"51\" valign=\"top\">\n<div>2<\/div>\n<\/td>\n<td width=\"51\" valign=\"top\">\n<div>2<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td width=\"656\" valign=\"top\">\n<div>\u0415\u0441\u0435\u043f\u0442\u0456\u04a3     \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0430\u043b\u044b\u049b \u043c\u043e\u0434\u0435\u043b\u0456. (\u0444\u043b\u0438\u043f\u0447\u0430\u0440\u0442\u0442\u0430\u043d \u0431\u0456\u0440\u0442\u0456\u043d\u0434\u0435\u043f \u0430\u0448\u044b\u043f \u043e\u0442\u044b\u0440\u0430\u043c\u044b\u0437)<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"656\" valign=\"top\">\n<div><strong><em>\u041d\u0435 \u0431\u0435\u043b\u0433\u0456\u043b\u0456? <\/em><\/strong><\/div>\n<div>\u041a\u0435\u0441\u0442\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0442\u0435\u0440\u0456\u043d\u0456\u04a3 \u0441\u0430\u043d\u044b \u2013 <strong>m <\/strong>\u0431\u04af\u0442\u0456\u043d \u0441\u0430\u043d (integer);<\/div>\n<div>\u0411\u0456\u0440\u04e9\u043b\u0448\u0435\u043c\u0434\u0456 \u043a\u0435\u0441\u0442\u0435\u00a0\u00a0\u00a0 &#8211;<strong> a[m] <\/strong>\u0431\u04af\u0442\u0456\u043d \u0442\u0438\u043f\u0442\u0456;<\/div>\n<div>\u041a\u0435\u0441\u0442\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0456\u043d\u0456\u04a3 \u0440\u0435\u0442 \u043d\u04e9\u043c\u0456\u0440\u0456 \u2013 <strong>\u0456<\/strong> \u0431\u04af\u0442\u0456\u043d \u0442\u0438\u043f\u0442\u0456;<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"656\" valign=\"top\">\n<div><strong><em>\u041d\u0435 \u0442\u0430\u043b\u0430\u043f \u0435\u0442\u0456\u043b\u0435\u0434\u0456?<\/em><\/strong><\/div>\n<div>1-\u0442\u0430\u043f\u0441\u044b\u0440\u043c\u0430\u0434\u0430: \u043a\u0435\u0441\u0442\u0435\u043d\u0456 \u043a\u0435\u0437\u0434\u0435\u0439\u0441\u043e\u049b     \u0440\u0435\u0442\u043f\u0435\u043d \u0442\u043e\u043b\u0442\u044b\u0440\u0443, \u043e\u043b \u04af\u0448\u0456\u043d <strong>RANDOM(x)<\/strong> \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b\u043d \u049b\u043e\u043b\u0434\u0430\u043d\u0430\u043c\u044b\u0437. <strong>\u0425<\/strong>-\u049b\u0430     \u0434\u0435\u0439\u043d\u0456\u0433\u0456 \u043a\u0435\u0437\u0434\u0435\u0439\u0441\u043e\u049b \u0431\u04af\u0442\u0456\u043d \u0441\u0430\u043d \u0430\u043b\u044b\u043d\u0430\u0434\u044b. \u0411\u0456\u0437\u0448\u0435 <strong>random(3);<\/strong><\/div>\n<div>2,3,4-\u0442\u0430\u043f\u0441\u044b\u0440\u043c\u0430\u043b\u0430\u0440\u0434\u0430:\u00a00 (1,2) \u2013\u0434\u0435\u0440 \u0441\u0430\u043d\u044b\u043d \u0442\u0430\u0431\u0443 \u043a\u0435\u0440\u0435\u043a. \u0421\u0430\u043d\u044b Nx     \u2013\u0431\u04af\u0442\u0456\u043d \u0442\u0438\u043f\u0442\u0456.<\/div>\n<div>5-\u0442\u0430\u043f\u0441\u044b\u0440\u043c\u0430 \u043a\u04af\u0440\u0434\u0435\u043b\u0456\u0440\u0435\u043a. \u04ae\u0448 \u0448\u0430\u043c\u0430\u043d\u044b     \u0430\u043d\u044b\u049b\u0442\u0430\u0443 \u043a\u0435\u0440\u0435\u043a 0-\u0434\u0435\u0440 \u0441\u0430\u043d\u044b &#8211; <strong>N0<\/strong>,     1-\u043b\u0435\u0440 \u0441\u0430\u043d\u044b &#8211;<strong> N1<\/strong>, 2-\u043b\u0435\u0440 \u0441\u0430\u043d\u044b &#8211; <strong>N2<\/strong>.<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"656\" valign=\"top\">\n<div><strong><em>\u049a\u0430\u043b\u0430\u0439 \u0435\u0441\u0435\u043f\u0442\u0435\u0439\u043c\u0456\u0437?<\/em><\/strong><\/div>\n<div>1-\u0442\u0430\u043f: <strong>\u0456<\/strong> 1-\u0434\u0435\u043d <strong>m<\/strong>-\u0433\u0435 \u0434\u0435\u0439\u0456\u043d     \u04e9\u0437\u0433\u0435\u0440\u0435\u0434\u0456, \u043a\u0435\u0441\u0442\u0435\u043d\u0456 <strong>a[i]:=random(3); <\/strong>\u0430\u0440\u049b\u044b\u043b\u044b     \u0442\u043e\u043b\u044b\u0442\u0440\u0430\u043c\u044b\u0437 \u0434\u0430, \u0441\u043e\u043b \u0440\u0435\u0442\u043f\u0435\u043d \u049b\u0430\u0439\u0442\u0430 \u0431\u0430\u0441\u044b\u043f \u0448\u044b\u0493\u0430\u0440\u0430\u043c\u044b\u0437.<\/div>\n<div>2,3,4 \u2013\u0442\u0430\u043f: \u0421\u0430\u043d\u0430\u043b\u0430\u0442\u044b\u043d \u044d\u043b\u0435\u043c\u0435\u043d\u0442     \u0441\u0430\u043d\u044b\u043d <strong>S<\/strong> \u2013\u0434\u0435\u043f \u0431\u0435\u043b\u0433\u0456\u043b\u0435\u0439\u043c\u0456\u0437. \u0411\u04af\u0442\u0456\u043d \u0442\u0438\u043f\u0442\u0456.     \u041a\u0435\u0437\u0435\u043a\u0442\u0456 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0442\u0456 0- (1,2)-\u043c\u0435\u043d \u0441\u0430\u043b\u044b\u0441\u0442\u044b\u0440\u0430\u043c\u044b\u0437, \u0435\u0433\u0435\u0440 \u0442\u0435\u04a3 \u0431\u043e\u043b\u0441\u0430 \u0441\u0430\u043d\u0430\u0493\u044b\u0448 <strong>S<\/strong>-\u0442\u0456\u04a3 \u043c\u04d9\u043d\u0456 \u0431\u0456\u0440\u0433\u0435 \u0430\u0440\u0442\u0430\u0434\u044b <strong>S:=S+1;<\/strong><\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td width=\"328\" valign=\"top\">\n<div>1-\u0442\u0430\u043f\u0441\u044b\u0440\u043c\u0430\u0434\u0430:<\/div>\n<div>Program keste012;<\/div>\n<div>const n=1000;<\/div>\n<div>var i,m:integer;<\/div>\n<div>a:array[1..n]     of integer;<\/div>\n<div>begin<\/div>\n<div>write(&#8216;Kansha     element m&lt;=1000&#8217;); read(m);<\/div>\n<div>for i:=1 to m do a[i]:=random(3);<\/div>\n<div>for i:=1     to m do write(i:4,&#8217;\u00a0&#8216;);<\/div>\n<div>writeln;<\/div>\n<div>for i:=1     to m do write(a[i]:4,&#8217;\u00a0&#8216;);<\/div>\n<div>end.<\/div>\n<\/td>\n<td width=\"328\" valign=\"top\">\n<div>2,3,4-\u0442\u0430\u043f\u0441\u044b\u0440\u043c\u0430\u0434\u0430:<\/div>\n<div>Program keste012;<\/div>\n<div>uses crt;<\/div>\n<div>const n=1000;<\/div>\n<div>var n0,i,m:integer;<\/div>\n<div>a:array[1..n] of integer;<\/div>\n<div>begin<\/div>\n<div>write(&#8216;Kansha element m&lt;=1000     &#8216;); read(m);<\/div>\n<div>for i:=1 to m do a[i]:=random(3);<\/div>\n<div>for i:=1 to m do write(a[i]:4); n0:=0; writeln;<\/div>\n<div>for i:=1 to m do<\/div>\n<div>if a[i]=0 then n0:=n0+1;<\/div>\n<div>writeln(&#8216;0-ger cany N0= &#8216;,n0);<\/div>\n<div>end.<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\" width=\"656\" valign=\"top\">\n<div>Program keste012;<\/div>\n<div>uses crt;<\/div>\n<div>const n=1000;<\/div>\n<div>var n0,n1,n2,i,m:integer;<\/div>\n<div>a:array[1..n] of integer;<\/div>\n<div>begin<\/div>\n<div>write(&#8216;Kansha element m&lt;=1000 &#8216;); read(m);<\/div>\n<div>for i:=1 to m do a[i]:=random(3);<\/div>\n<div>for i:=1 to m dowrite(a[i]:4); n0:=0; n1:=0; n2:=0;writeln;<\/div>\n<div>for i:=1 to m do<\/div>\n<div>begin<\/div>\n<div>if a[i]=0 then n0:=n0+1;<\/div>\n<div>if a[i]=1 then n1:=n1+1;<\/div>\n<div>if a[i]=2 then n2:=n2+1;<\/div>\n<div>end;<\/div>\n<div>writeln(&#8216;0-ger cany N0= &#8216;,n0);<\/div>\n<div>writeln(&#8216;1-ler cany N1= &#8216;,n1);<\/div>\n<div>writeln(&#8216;2-ler cany N2= &#8216;,n2);<\/div>\n<div>end.<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"60\" valign=\"top\">\n<div>IV<\/div>\n<\/td>\n<td width=\"135\" valign=\"top\">\n<div>\u0421\u0430\u0431\u0430\u049b\u0442\u044b \u0431\u0435\u043a\u0456\u0442\u0443<\/div>\n<\/td>\n<td width=\"675\" valign=\"top\"><\/td>\n<\/tr>\n<tr>\n<td width=\"60\" valign=\"top\">\n<div>V<\/div>\n<\/td>\n<td width=\"135\" valign=\"top\">\n<div>\u0421\u044b\u043d\u044b\u043f \u0436\u04b1\u043c\u044b\u0441\u044b<\/div>\n<\/td>\n<td width=\"675\" valign=\"top\">\n<div>\u0422\u0430\u043f\u0441\u044b\u0440\u043c\u0430\u043b\u0430\u0440\u0434\u044b   \u0434\u04d9\u043f\u0442\u0435\u0440\u0433\u0435 \u043e\u0440\u044b\u043d\u0434\u0430\u04a3\u0434\u0430\u0440;<\/div>\n<div>\u0416\u043e\u0493\u0430\u0440\u044b\u0434\u0430\u0493\u044b   \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u043d\u044b \u0436\u0438\u044b\u043c\u0434\u0430\u0493\u044b<\/div>\n<div>\u21161. \u043a\u0435\u0441\u0442\u0435\u0434\u0435\u0433   \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0442\u0435\u0440\u0434\u0456\u04a3 \u049b\u043e\u0441\u044b\u043d\u0434\u044b\u0441\u044b \u0448\u044b\u0493\u0430\u0440\u0430\u0442\u044b\u043d\u0434\u0430\u0439;<\/div>\n<div>\u21162. \u043a\u04e9\u0431\u0435\u0439\u0442\u0456\u043d\u0434\u0456\u0441\u0456   \u0448\u044b\u0493\u0430\u0442\u044b\u043d\u0434\u0430\u0439;<\/div>\n<div>\u21163. 1-\u043b\u0435\u0440\u0434\u0456\u04a3   \u049b\u043e\u0441\u044b\u043d\u0434\u044b\u0441\u044b\u043d \u0435\u0441\u0435\u043f\u0442\u0435\u0439\u0442\u0456\u043d\u0434\u0435\u0439;<\/div>\n<div>\u21164. 2-\u043b\u0435\u0440\u0434\u0456\u04a3   \u049b\u043e\u0441\u044b\u043d\u0434\u044b\u0441\u044b\u043d \u0435\u0441\u0435\u043f\u0442\u0435\u0439\u0442\u0456\u043d\u0434\u0435\u0439 \u0435\u0442\u0456\u043f \u04e9\u0437\u0433\u0435\u0440\u0442\u0456\u04a3\u0456\u0437.<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"60\" valign=\"top\">\n<div>VI<\/div>\n<\/td>\n<td width=\"135\" valign=\"top\">\n<div>\u04ae\u0439\u0433\u0435 \u0442\u0430\u043f\u0441\u044b\u0440\u043c\u0430<\/div>\n<\/td>\n<td width=\"675\" valign=\"top\">\n<div>\u041e\u049b\u0443: \u043b\u0435\u043a\u0446\u0438\u044f   \u0431\u043e\u0439\u044b\u043d\u0448\u0430, \u043e\u049b\u0443\u043b\u044b\u049b\u0442\u0430\u043d \u043f.5-5. 133 \u0431\u0435\u0442.<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u04d9\u043d \u043c\u04b1\u0493\u0430\u043b\u0456\u043c\u0456: \u0416\u0430\u049b\u0430\u0435\u0432 \u041c\u04b1\u049b\u0430\u043c\u0435\u0434\u0436\u0430\u043d. \u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u043a \u04b1\u0441\u0442\u0430\u0437\u0434\u0430\u0440 \u0436\u043e\u0431\u0430\u0441\u044b\u043d\u044b\u04a3 \u0430\u0432\u0442\u043e\u0440\u044b.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[],"tags":[4170787],"class_list":["post-430","post","type-post","status-publish","format-standard","hentry","tag-4170787"],"blocksy_meta":[],"acf":[],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p17n9Y-6W","jetpack_likes_enabled":true,"jetpack-related-posts":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/45minut.biz\/index.php?rest_route=\/wp\/v2\/posts\/430","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/45minut.biz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/45minut.biz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/45minut.biz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/45minut.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=430"}],"version-history":[{"count":0,"href":"https:\/\/45minut.biz\/index.php?rest_route=\/wp\/v2\/posts\/430\/revisions"}],"wp:attachment":[{"href":"https:\/\/45minut.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=430"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/45minut.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=430"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/45minut.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=430"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}