004:第4週目プログラム空欄問題3


#include 
#include 
using namespace std;

class Array2 {
public:
	int **data = nullptr;
	int h, w;
	Array2():h(0),w(0) {}
	//1、       
	//   ,           N   ,                ;
	//   ,                 ;
	Array2(int height, int width):h(height),w(width)
	{
		data = new int*[height];
		for (int i = 0; i