結果

問題 No.804 野菜が苦手
ユーザー fal_rndfal_rnd
提出日時 2020-02-04 18:49:08
言語 Scala(Beta)
(3.4.0)
結果
AC  
実行時間 1,064 ms / 2,000 ms
コード長 124 bytes
コンパイル時間 10,870 ms
コンパイル使用メモリ 254,672 KB
実行使用メモリ 65,816 KB
最終ジャッジ日時 2023-10-21 06:30:07
合計ジャッジ時間 33,760 ms
ジャッジサーバーID
(参考情報)
judge14 / judge10
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,013 ms
65,808 KB
testcase_01 AC 1,048 ms
65,800 KB
testcase_02 AC 1,024 ms
65,792 KB
testcase_03 AC 1,023 ms
65,804 KB
testcase_04 AC 1,023 ms
65,816 KB
testcase_05 AC 1,016 ms
65,740 KB
testcase_06 AC 1,036 ms
65,784 KB
testcase_07 AC 1,044 ms
65,816 KB
testcase_08 AC 1,036 ms
65,780 KB
testcase_09 AC 1,047 ms
65,792 KB
testcase_10 AC 1,053 ms
65,792 KB
testcase_11 AC 1,044 ms
65,768 KB
testcase_12 AC 1,035 ms
65,780 KB
testcase_13 AC 1,046 ms
65,776 KB
testcase_14 AC 1,064 ms
65,764 KB
testcase_15 AC 1,058 ms
65,812 KB
testcase_16 AC 1,052 ms
65,736 KB
testcase_17 AC 1,045 ms
65,812 KB
testcase_18 AC 1,031 ms
65,728 KB
testcase_19 AC 1,033 ms
65,752 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

object Main extends App{
	val s=new java.util.Scanner(System.in)
	val a,b,c,d=s.nextInt()
	println(Seq(a,b/c,d/(1+c)).min)
}
0