結果

問題 No.46 はじめのn歩
ユーザー samesame
提出日時 2020-02-15 20:39:14
言語 Scala(Beta)
(3.4.0)
結果
WA  
実行時間 -
コード長 156 bytes
コンパイル時間 9,245 ms
コンパイル使用メモリ 244,988 KB
実行使用メモリ 65,304 KB
最終ジャッジ日時 2024-04-16 03:17:26
合計ジャッジ時間 20,044 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 975 ms
65,012 KB
testcase_02 WA -
testcase_03 AC 987 ms
64,984 KB
testcase_04 AC 978 ms
64,944 KB
testcase_05 AC 983 ms
64,860 KB
testcase_06 WA -
testcase_07 AC 989 ms
64,812 KB
testcase_08 WA -
testcase_09 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner

object No46 extends App {
  val sc = new Scanner(System.in)
  val a = sc.nextInt()
  val b = sc.nextInt()

  println(b / a + 1)
}
0