\[\boxed{\mathbf{Страница\ 84.}}\]
\[\boxed{\mathbf{78.}}\]
\[\mathbf{а)}\]
\[\mathbf{i}\] | \[1\] | \[2\] | \[3\] | \[4\] | \[5\] | \[6\] |
---|---|---|---|---|---|---|
\[\mathbf{a\ \lbrack i\rbrack}\] | \[1\] | \[7\] | \[3\] | \[6\] | \[0\] | \[10\] |
\[\mathbf{s}\] | \[\mathbf{i}\] | \[\mathbf{\text{sr}}\] |
---|---|---|
\[0\] | \[-\] | \[-\] |
\[1\] | \[1\] | \[-\] |
\[8\] | \[2\] | \[-\] |
\[11\] | \[3\] | \[-\] |
\[17\] | \[4\] | \[-\] |
\[17\] | \[5\] | \[-\] |
\[27\] | \[6\] | \[-\] |
\[4,5\] |
\[Ответ:\]
\[4,5 - среднее\ значение\ \]
\[элементов\ массива\ \text{a.}\]
\[\mathbf{б)}\]
\[\mathbf{i}\] | \[1\] | \[2\] | \[3\] | \[4\] | \[5\] | \[6\] | \[7\] |
---|---|---|---|---|---|---|---|
\[\mathbf{a\ \lbrack i\rbrack}\] | \[3\] | \[6\] | \[9\] | \[12\] | \[15\] | \[18\] | \[21\] |
\[\mathbf{k}\] | \[\mathbf{i}\] |
---|---|
\[0\] | \[1\] |
\[0\] | \[2\] |
\[0\] | \[3\] |
\[1\] | \[4\] |
\[2\] | \[5\] |
\[3\] | \[6\] |
\[4\] | \[7\] |
\[Ответ:\]
\[4 - количество\ элементов\ \]
\[массива,\ значения\ которых\ \]
\[больше\ 10.\]
\[\mathbf{в)}\]
\[\mathbf{i}\] | \[1\] | \[2\] | \[3\] | \[4\] | \[5\] | \[6\] | \[7\] |
---|---|---|---|---|---|---|---|
\[\mathbf{a\ \lbrack i\rbrack}\] | \[- 1\] | \[7\] | \[- 3\] | \[- 6\] | \[0\] | \[1\] | \[2\] |
\[\mathbf{i}\] | \[\mathbf{m}\] | \[\mathbf{n}\] | \[\mathbf{k}\] |
---|---|---|---|
\[-\] | \[0\] | \[0\] | \[0\] |
\[1\] | \[1\] | ||
\[2\] | \[1\] | ||
\[3\] | \[2\] | ||
\[4\] | \[3\] | ||
\[5\] | \[1\] | ||
\[6\] | \[2\] |
\[Ответ:\]
\[\mathbf{г)\ }\]
\[\mathbf{i}\] | \[1\] | \[2\] | \[3\] | \[4\] | \[5\] | \[6\] |
---|---|---|---|---|---|---|
\[\mathbf{a\ \lbrack i\rbrack}\] | \[1\] | \[- 7\] | \[3\] | \[6\] | \[0\] | \[- 10\] |
\[\mathbf{i}\] | \[\mathbf{d}\] | \[\mathbf{m}\] |
---|---|---|
\[-\] | \[1\] | \[1\] |
\[2\] | ||
\[3\] | \[3\] | \[3\] |
\[4\] | \[4\] | \[6\] |
\[5\] | ||
\[6\] |
\[\mathbf{Ответ:}\]
\[d = 4\mathbf{-}\mathbf{номер\ элемента\ }\]
Добавить текст Вернуть оригинал\[\mathbf{массива,\ имеющего\ }\]
\[\mathbf{наибольшее\ \ значение\ }\]
\[\begin{pmatrix} \mathbf{первого\ наибольшего,\ если\ } \\ \mathbf{таких\ элементов\ несколько} \\ \end{pmatrix}\mathbf{.}\]
Добавить текст Вернуть оригинал