알고리즘/Softeer
[Softeer] Softeer 주행거리 비교하기 파이썬(Python)
츄르사려고 코딩하는 코집사입니다. 1. [Softeer] Softeer 주행거리 비교하기 파이썬(Python) 1) 문제 제목 : 주행거리 비교하기 2) 문제 출처 https://softeer.ai/practice/6253/history?questionType=ALGORITHM Softeer - 현대자동차그룹 SW인재확보플랫폼 softeer.ai 2. 풀이 - 간단한 대소비교 구현 문제다. 3. 소스 코드 import sys input = sys.stdin.readline A, B = map(int, input().split()) if A > B : print('A') elif A < B : print('B') else : print('same')
2024. 1. 22.
최근댓글