Практика по информатике. On the CPU tab, define:
– Processor model;
– technological process by which your processor is made;
– the structure and size of the cache memory of the processor;
On the Mainboard tab, define:
– Chipset Northbridge Model;
– Chipset Southbridge Model;
Define:
– The type of installed RAM modules;
– total amount of RAM installed;
– channel memory operation mode used;
Record the parameters you specified in the report.
262
449
Ответы на вопрос:
#include < iostream> #include < array> #include < numeric> using namespace std; const size_t n = 10; int main() { size_t sum = 0; array< int, n> a = { 1, 5, 9, 6, 3, 0, 1, 4, -2, 4 }; cout < < "count: "; cout < < accumulate(a. a. 0, [& sum](size_t count, const int num) { if (num > 1 & & num < 5) { ++count; sum += num; } return count; }); cout < < " sum: " < < sum < < endl; }
Популярно: Информатика
-
умняша8023.10.2021 22:35
-
huhrova2308.07.2020 14:09
-
romchik22866612.03.2021 22:52
-
Екатерина2087624.02.2023 19:40
-
настя841217.03.2023 07:39
-
Анюся117.01.2022 06:36
-
Romakot21.02.2022 22:06
-
kkalipso04.05.2022 08:17
-
Lizzka688910.05.2021 20:39
-
abduabdu201512.03.2023 09:10