3-D Image Processing
CodeChefOpen on judge ↗
Bongo, the image processing pro, was playing through 3-dimensional images. He got the idea that starting with 0 intensity values of the pixels, he can play around with them. He uses 1-indexing to number the pixels of the 3-dimensional image (1,1,1) to (size,size,size). He started playing with 2 types of queries. UPDATE I j k weight This updates the pixel value at I,j,k to value of weight. QUERY x1
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start