это мой ответ на вопрос
include
#include
void filling(std::vector& arr) {
for (size_t i = 0; i < arr.size(); ++i) {
arr[i] = static_cast(rand() % 100);
std::cout<< arr[i] << " ";
include <vector>
#include <ctime>
void filling(std::vector<int>& arr) {
for (size_t i = 0; i < arr.size(); ++i) {
arr[i] = static_cast<int>(rand() % 100);
std::cout<< arr[i] << " ";
test.ru tesTT
три пробела внике)))112222ыыы00qq (100284)
2 года назад
#include
#include
#include
void filling(std::vector& arr) {
for (size_t i = 0; i < arr.size(); ++i) {
arr[i] = static_cast(rand() % 100);
std::cout<< arr[i] << " ";
#include <iostream>
#include <vector>
#include <ctime>
void filling(std::vector<int>& arr) {
for (size_t i = 0; i < arr.size(); ++i) {
arr[i] = static_cast<int>(rand() % 100);
std::cout<< arr[i] << " ";
dasd
asd
fg