This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var inputs = readline().split(' '); | |
var LX = parseInt(inputs[0]); | |
var LY = parseInt(inputs[1]); | |
var TX = parseInt(inputs[2]); | |
var TY = parseInt(inputs[3]); | |
while (true) { | |
var E = parseInt(readline()); | |
if (TY == LY) { | |
if (TX < LX) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while (true) { | |
var inputs = readline().split(' '); | |
var SX = parseInt(inputs[0]); | |
var SY = parseInt(inputs[1]); | |
var maxHeight = 0; | |
var target = null; | |
for (var i = 0; i < 8; i++) { | |
var MH = parseInt(readline()); | |
if (MH >= maxHeight) { |