Problem

Source: Kyiv mathematical festival 2021

Tags: Kyiv mathematical festival, combinatorics



In several cells of a square grid there live hedgehogs. Every hedgehog multiplies the number of hedgehogs in its row by the number of hedgehogs in its column. Is it possible that all the hedgehogs get distinct numbers?