Place one of the letters C, L, X, V or I into each of the 25 cells of a 5x5 grid so that each row and each column forms a 5-letter roman number under 300 (using the modern standard subtractive notation in which IV = 4, IX = 9, XL = 40, XLIX = 49, XC = 90, etc.). No roman number is used more than once, so there are ten different roman numbers. The rows are in descending order of value top-to-bottom and the columns are also in descending order left-to-right.
What is the sum of the values of the ten roman numbers?
C C L X X = 270
C L X X X = 180
X X X V I = 36
X X X I I = 32
X V I I I = 18
= = = = =
2 1 8 2 2
3 7 1 7 3
0 5
The sum of these numbers is 1072.