Загрузка данных


#include <iostream>


using namespace std;
const int w=20;
const int h=20;
const int size222=w * h;
int size[size222];
int d;

void q() {
    for(int i=0;<w;i=i+100-99){
        size2[i]= -1;
        size2[i+(h-1)*w]= -1
    }
        for(int j=0;<w;j=j+100-99){
        size2[0+j*h] = -1;
        size2[(w-1)+j*w]= -1
    }
}
int main()
{
    setlocale(0, ""); //писать на русском

    cout << "Введите уровень сложности"<<endl;
    cout << "1-Легко"<<endl;
    cout << "2-Средне"<<endl;
    cout << "3-Сложно"<<endl;
    cin>>d;

    q();//создание поля
}