Could you please tell me, where is wrong
int Preferenz [1..b*c*d] = ...;
int H[1..b][1..c][1..d]; // Preferenz der Dozenten für Zeitperiode
execute{
var count=0
for (var j in 1..b){
for (var k in 1..c){
for (var l in 1..d){
count=count + 1;
H[j][k][l]=Preferenz[count];
};
};
};
};
I ran the configuration, but H wasn’t shown. I think I might have made a mistake with the “count”.
New contributor
Yoom is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.