結果

問題 No.388 階段 (1)
ユーザー samesame
提出日時 2020-02-16 14:31:07
言語 Scala(Beta)
(3.4.0)
結果
WA  
実行時間 -
コード長 203 bytes
コンパイル時間 8,493 ms
コンパイル使用メモリ 248,808 KB
実行使用メモリ 65,328 KB
最終ジャッジ日時 2024-04-16 03:34:08
合計ジャッジ時間 25,808 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 1,007 ms
63,504 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 1,012 ms
63,440 KB
testcase_06 AC 998 ms
63,268 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 1,012 ms
63,592 KB
testcase_14 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner

object No388 extends App {
  val sc = new Scanner("50 123")
  val s = sc.nextInt()
  val f = sc.nextInt()
  println(calc(s, f))

  def calc(s: Int, f: Int): Int = (s + f) / f
}
0