#include <iostream>
#include <algorithm>
using namespace std;
int main()
{
int M = 10;
int* arr = new int[M*M];
cout << *std::max_element(arr, arr + (M * M));
}
#include <iostream>
#include <algorithm>
using namespace std;
int main()
{
int M = 10;
int* arr = new int[M*M];
cout << *std::max_element(arr, arr + (M * M));
}