>>351
pythonなら
threeD = [[[0 for i in range(0,1000)] for j in range(0,100)] for k in range(0,10)]
の1行で終わりだな。