結果

問題 No.388 階段 (1)
ユーザー keibkeib
提出日時 2019-03-05 16:59:20
言語 Swift
(5.8.1)
結果
AC  
実行時間 7 ms / 2,000 ms
コード長 134 bytes
コンパイル時間 4,104 ms
コンパイル使用メモリ 168,408 KB
実行使用メモリ 13,488 KB
最終ジャッジ日時 2023-08-20 12:01:45
合計ジャッジ時間 3,617 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
13,108 KB
testcase_01 AC 6 ms
13,188 KB
testcase_02 AC 6 ms
13,104 KB
testcase_03 AC 6 ms
13,452 KB
testcase_04 AC 6 ms
13,124 KB
testcase_05 AC 6 ms
13,220 KB
testcase_06 AC 6 ms
13,296 KB
testcase_07 AC 6 ms
13,108 KB
testcase_08 AC 7 ms
13,488 KB
testcase_09 AC 6 ms
13,104 KB
testcase_10 AC 7 ms
13,452 KB
testcase_11 AC 7 ms
13,120 KB
testcase_12 AC 6 ms
13,360 KB
testcase_13 AC 6 ms
13,376 KB
testcase_14 AC 6 ms
13,112 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import Foundation

let inputs = readLine()!.split(separator:" ").map { Int($0)! }
let s = inputs[0]
let f = inputs[1]
print(s / f + 1)
0