Код: Выделить всё
std::vector a;
a.reserve(1000);
for(int i=0; i
Подробнее здесь: [url]https://stackoverflow.com/questions/63340193/c-how-to-elegantly-use-c17-parallel-execution-with-for-loop-that-counts-an-i[/url]
Код: Выделить всё
std::vector a;
a.reserve(1000);
for(int i=0; i
Подробнее здесь: [url]https://stackoverflow.com/questions/63340193/c-how-to-elegantly-use-c17-parallel-execution-with-for-loop-that-counts-an-i[/url]