You are viewing a single comment's thread. Return to all comments →
Nice solution!
What do you think about using tuple here?
let params = readLine()!.components(separatedBy: " ").map{ Int($0)! } let (i, j, k) = (params[0], params[1], params[2])
Seems like cookies are disabled on this browser, please enable them to open this website
Beautiful Days at the Movies
You are viewing a single comment's thread. Return to all comments →
Nice solution!
What do you think about using tuple here?