hiiiii
the above mentioned idea is correct ... let me implement it properly ..
so for x = 1 we have y = 1 , 2, ... 19 .. 19 points ..
for x = 2 we have y = 1 , 2, ... 18 .. 18 points
.........
for x = 19 we have y = 1
for x = 20 .. no points ..
so total points are 1 + 2 + .. + 19 = 20.19/2 = 190 ans
cheers