array_dim3.cout 1002 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. push a
  2. push 4
  3. push 3
  4. push 2
  5. use array.new(3)
  6. use =(2)
  7. push x
  8. push 0
  9. use =(2)
  10. push x
  11. push a
  12. use array.getsize(1)
  13. use <(2)
  14. goto(16)
  15. push x
  16. use p++(1)
  17. goto(8)
  18. for(63)
  19. push y
  20. push 0
  21. use =(2)
  22. push y
  23. push x
  24. push a[]
  25. use array.getsize(1)
  26. use <(2)
  27. goto(29)
  28. push y
  29. use p++(1)
  30. goto(20)
  31. for(62)
  32. push z
  33. push 0
  34. use =(2)
  35. push z
  36. push x
  37. push y
  38. push a[,]
  39. use array.getsize(1)
  40. use <(2)
  41. goto(43)
  42. push z
  43. use p++(1)
  44. goto(33)
  45. for(61)
  46. push x
  47. push y
  48. push z
  49. push a[,,]
  50. push x
  51. push 3
  52. use *(2)
  53. push 2
  54. use *(2)
  55. push y
  56. push 2
  57. use *(2)
  58. use +(2)
  59. push z
  60. use +(2)
  61. use =(2)
  62. goto(40)
  63. goto(26)
  64. goto(13)
  65. push x
  66. push 0
  67. use =(2)
  68. push x
  69. push a
  70. use array.getsize(1)
  71. use <(2)
  72. goto(74)
  73. push x
  74. use p++(1)
  75. goto(66)
  76. for(110)
  77. push y
  78. push 0
  79. use =(2)
  80. push y
  81. push x
  82. push a[]
  83. use array.getsize(1)
  84. use <(2)
  85. goto(87)
  86. push y
  87. use p++(1)
  88. goto(78)
  89. for(109)
  90. push z
  91. push 0
  92. use =(2)
  93. push z
  94. push x
  95. push y
  96. push a[,]
  97. use array.getsize(1)
  98. use <(2)
  99. goto(101)
  100. push z
  101. use p++(1)
  102. goto(91)
  103. for(108)
  104. push x
  105. push y
  106. push z
  107. push a[,,]
  108. use print(1)
  109. goto(98)
  110. goto(84)
  111. goto(71)