79704582

Date: 2025-07-17 09:34:17
Score: 1.5
Natty:
Report link

Simplest way in my opinion:

RSS = np.random.randint(0, 99, size=(2, 3))
ij_min = np.unravel_index(RSS.argmin(), RSS.shape)

# check result
RSS
Out[229]: 
array([[90, 97, 35],
       [75, 25, 32]])

ij_min
Out[230]: (1, 1)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Roberto