How to create array of array of structure in c++?

the syntax of array of structure is
struct{
int x;
}a[size];
But how do I create multiple array of structure without declaring another structure?
I need to use this concept for this problem
https://www.codechef.com/ALPAST01/problems/VERYHARD

Do you mean, a 2D array of structures?

ohk I get it what I was searching was for 2d array of structures.