結果

問題 No.369 足し間違い
ユーザー バカらっく
提出日時 2018-03-02 13:06:52
言語 Swift
(6.0.3)
結果
AC  
実行時間 14 ms / 2,000 ms
コード長 166 bytes
コンパイル時間 1,249 ms
コンパイル使用メモリ 129,876 KB
実行使用メモリ 9,564 KB
最終ジャッジ日時 2024-11-30 12:01:28
合計ジャッジ時間 1,873 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

let inpt = Int(readLine()!)!
let total = readLine()!.split(separator: " ").map{Int($0)!}.reduce(0){$0+$1}
let tmp = Int(readLine()!)!
let ans = total - tmp
print(ans)
0