In reply to Jacky40210:
You need to specify the default for both dimensions:
rand int A[string][int] = '{default : '{default : -1}};
In reply to Jacky40210:
You need to specify the default for both dimensions:
rand int A[string][int] = '{default : '{default : -1}};