← All problemsSign in

3D Queries

CodeChefRating 2878Open on judge ↗

Today, you finally have a chance to compete with a famous coder like Vasia and prove your mettle. While he likes the real world as well, his adventures in 3D computer puzzles make him the undisputed King of the subject. Until now, that is! Vasia has N distinct points in 3 dimensional space and he is going to ask you to find the following sum Q times. Where A,B,C and D are some evil integers cho

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start