ผลต่างระหว่างรุ่นของ "01204212/nearby search"
ไปยังการนำทาง
ไปยังการค้นหา
Jittat (คุย | มีส่วนร่วม) (หน้าที่ถูกสร้างด้วย 'You are given a locations of players, monsters, and the radius. Output the total number of monsters seen by any players. '''Input for...') |
(ไม่แตกต่าง)
|
รุ่นแก้ไขเมื่อ 02:25, 11 สิงหาคม 2559
You are given a locations of players, monsters, and the radius. Output the total number of monsters seen by any players.
Input format:
- First line: n m r (where n is the number of players, m is the number of monsters, and r is a radius)
- The next n lines, for each line the co-ordinate for each player: x y
- The next m lines, for each line the co-ordinate for each monster: x y
Test data: