← All problemsSign in

Postion Finder

Ok, A simple and straight forward task this time :-). You are given a NxN square matrix of numbers and a set of queries, for each query you have to return the row and the column number of the specified element. Input Input consists of several test cases which is specified by the first line. Each test case starts with 2 integers N (1Output For each test case output Q lines, each specifying the r

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