/VisibleUnits

Test task

Primary LanguageC++

VisibleUnits

Task description: Present a lot of units, which have 2D position and orientation (as forward ray). Defined visibility radius and angle sector. Need calculate: how many other units every unit can visible. Input: file Units.txt. Output: UnitOutput.txt.