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
# === Constants === | |
# Final multiplier | |
SPD_BUFF = 1.3 | |
# Base Multipliers | |
TOTEM = 0.15 | |
LEAD = 0.24 | |
# Base speed | |
LUSHEN_BASE_SPD = 103 # Base monster used | |
HOMUNL_BASE_SPD = 101 |
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
class Rectangle: | |
def __init__(self, l, h): | |
self.bot = 0 | |
self.top = h | |
self.left = 0 | |
self.right = l | |
def get_area(self): | |
x_axis = self.right - self.left | |
y_axis = self.top - self.bot |
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
from copy import deepcopy | |
__X = 0 # Empty space | |
__W = -1 # Direction of White | |
__B = 1 # Direction of Black | |
line_no = int(input()) | |
pawn_no = int(input()) | |
board = [] |