CSES Solutions - Multiplication Table
Find the middle element when the numbers in an n à n multiplication table are sorted in increasing order. It is assumed that n is odd. For example, the 3 à 3 multiplication table is as follows: 1 2 32 4 63 6 9 The numbers in increasing order are [1,2,2,3,3,4,6,6,9], so the answer is 3 Example:Input: