[1단계] 입출력과 사칙연산
2557 - Hello World
print("Hello World!")1000 A+B
let input = readLine()!.split(separator: " ").map { Int($0)! }
print("\(input[0] + input[1])")1001 A-B
let input = readLine()!.split{ $0 == " "}.map { Int($0)! }
print(input[0] - input[1])10998 AxB
print(readLine()!.split{ $0 == " " }.map { Int($0)! }.reduce(1, *))1008 A/B
let input = readLine()!.split{ $0 == " " }.map { Double($0)! }
print(input[0] / input[1])10869 사칙연산
10926 ??!
18108 1998년생인 내가 태국에서는 2541년생?!
10430 나머지
2588 곱셈
11382 꼬마 정민
10171 고양이
10172 개
Last updated