- 데이터 분산, 처리 시스템
- 이종 시스템 간의 데이터 흐름 자동화 플랫폼
- (서로 다른 포멧, 프로토콜, ...)
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
if __name__ == '__main__': | |
print('hello first') |
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 BishopMove(object): | |
def howManyMoves(self, r1, c1, r2, c2): | |
if (r1 + c1) % 2 != (r2 + c2) % 2: | |
res = -1 | |
else: | |
res = 2 | |
if r1 + c1 == r2 + c2: | |
res -= 1 | |
if r1 - c1 == r2 - c2: |