Ellipse scoring algorithm [HELP]

Revision en1, by sahaun, 2024-05-28 02:43:11

This is not a problem from any online judge.

You are given the center $$$(C_x, C_y)$$$ and the radii $$$(R_x, R_y)$$$ of an ellipse. You are also given a list $$$L$$$ of points, $$$(x_i, y_i)$$$ where $$$1\leq i\leq |L|$$$. You need to output the score of the list $$$L$$$ as mentioned above.

Tags geometry

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en10 English sahaun 2024-05-28 22:20:12 298 Tiny change: 'ecessary. Here, $N$ is the numbe' -> 'ecessary. $N$ being the numbe' (published)
en9 English sahaun 2024-05-28 21:56:16 354
en8 English sahaun 2024-05-28 21:23:55 1899 Tiny change: 'or ($spaceError$): Ho' -> 'or ($space__error$): Ho'
en7 English sahaun 2024-05-28 20:04:16 2 Tiny change: 'tance.\n\n\n~~~~~\' -> 'tance.\n\n~~~~~\'
en6 English sahaun 2024-05-28 15:58:08 136 Tiny change: 'ssary.\n\n<spoil' -> 'ssary.\n\n\n\n<spoil'
en5 English sahaun 2024-05-28 14:14:03 34 Tiny change: 'istance.\n</spoile' -> 'istance.\n\n\n~~~~~\n\n~~~~~\n\n\n</spoile'
en4 English sahaun 2024-05-28 14:12:46 136
en3 English sahaun 2024-05-28 13:34:32 497 Tiny change: '22fad.png)' -> '22fad.png)\n\n<spoiler summary="How it works">\n\n</spoiler>'
en2 English sahaun 2024-05-28 13:10:32 473 Tiny change: 'st $L$ as mentioned above.\' -> 'st $L$ as described above.\'
en1 English sahaun 2024-05-28 02:43:11 303 Initial revision (saved to drafts)