← All problemsSign in

Soumya vs Afridi

Most of the programmers these days like gaming. Afridi is one of them. Afridi made a game which is played on a 2-Dimensional board and asks Soumya to play the game with him (Testing. You know?). The steps of the game are as follows: 1. Afridi places **N** vectors on the board. Note that a vector is a mathematical object that has a size, called the magnitude, and a direction. Example: Displacement

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