This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// let str = readLine(strippingNewline: true)! | |
// let arr = str.split(separator: " ") | |
// print(Int64(arr[0])! + Int64(arr[1])!) | |
// import Foundation | |
// var text = try! String(contentsOfFile: "input.txt") | |
// _ = text.popLast() | |
// let arr = text.split(separator: " ") | |
// try! "\(Int64(arr[0])! + Int64(arr[1])!)".write(to: URL(fileURLWithPath: "output.txt"), atomically: true, encoding: .utf8) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Analytic.swift | |
// YouDrive | |
// | |
// Created by Anton Ilinykh on 27.06.2022. | |
// | |
import Foundation | |
enum Event: String { |
OlderNewer