← All problemsSign in

The Special Number

The Special Number A special number S for an integer X , is the count of number of values satisfying the following conditions: 1. A XOR X > X 2. 0 ( where A and X are integers ) you are given a N x N grid of integers X , you need to output the largest of the sums of the special number S of numbers that appear on the paths starting from the top row ( any element ) to bottom row( any element ), so

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