// https://www.acmicpc.net/problem/2908
import Foundation
let input = readLine()!.split(separator: " ").map { Int(String($0.reversed()))! }
print(max(input[0], input[1]))
/*
max(_ x:_ y:)
x: A value to compare
y: Another value to compare
The greather of x and y. If x is equal to y, return y
*/
'코딩테스트 > Swift' 카테고리의 다른 글
[Swift]프로그래머스 모의고사 (0) | 2021.09.21 |
---|---|
[Swift]프로그래머스 K번째 수 (0) | 2021.09.21 |
[Swift]프로그래머스 기능개발 (0) | 2021.09.21 |
[Swift] 백준 2751 수 정렬하기 2 (0) | 2021.09.05 |
[Swift] 백준 5622 - 다이얼 (0) | 2021.08.21 |