You are viewing a single comment's thread. Return to all comments →
Minimalistic solution in Swift 4:
for _ in 1...Int(readLine()!)! { let line = readLine()!.split(separator:" ").map({Int($0)!}) print("\(2 * line[2] - line[0]) \(2 * line[3] - line[1])") }
Seems like cookies are disabled on this browser, please enable them to open this website
Find the Point
You are viewing a single comment's thread. Return to all comments →
Minimalistic solution in Swift 4: