문제
Problem 2: Cow Optics [Brian Dean, 2014]
입력
* Line 1: The integers N, Bx, and By.
* Lines 2..N + 1: Line i+1 describes the ith mirror with 3 elements: its (x,y) location, and its orientation (either '\' or '/').
출력
A single integer giving the number of locations where Bessie can stand to redirect the laser to the barn.
예제1
입력
4 1 2
-2 1 \
2 1 /
2 2 \
-2 2 /
출력
2
Output Details
A mirror at (0,1) or (0,2) placed in either direction would do the trick.
출처
USACO 2014 US Open Gold