fever.java:1: error: class, interface, or enum expected
subtask 1:
^
fever.java:23: error: class, interface, or enum expected
Things on the "diagonal" must be moved directly to axis; no way to play catchup.
^
fever.java:25: error: unclosed character literal
Okay, so let's fix direction as up.
^
fever.java:33: error: unclosed character literal
Now, relative to those guy's starting rays, any point within the "diagonal square" or whatever will get hit (but at a distance > its current marked time).
^
fever.java:37: error: unclosed character literal
So it's like a "graph search" almost: We fix direction of initial dude, then keep on shooting out rays in the correct direction.
^
fever.java:41: error: unclosed character literal
(No equals when all coordinates are distinct, but I suspect it's just strict equals).
^
fever.java:57: error: unclosed character literal
Basically, it's never worth it to pick a movement vector "away" from the origin.
^
fever.java:62: error: unclosed character literal
- When coordinates are not distinct (on origin axis), there's only one valid direction: move towards origin.
^
8 errors