Dijkstra...

D[i][j][k] = str[a];

This site is protected by reCAPTCHA and
the Google Privacy Policy and Terms of Service apply.