結果

問題 No.388 階段 (1)
ユーザー FukuokaMFukuokaM
提出日時 2020-12-16 11:03:18
言語 Java21
(openjdk 21)
結果
AC  
実行時間 129 ms / 2,000 ms
コード長 235 bytes
コンパイル時間 3,296 ms
コンパイル使用メモリ 75,328 KB
実行使用メモリ 41,088 KB
最終ジャッジ日時 2023-10-20 09:15:06
合計ジャッジ時間 6,240 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 120 ms
40,696 KB
testcase_01 AC 113 ms
39,868 KB
testcase_02 AC 113 ms
39,840 KB
testcase_03 AC 113 ms
39,864 KB
testcase_04 AC 114 ms
39,860 KB
testcase_05 AC 114 ms
39,848 KB
testcase_06 AC 124 ms
41,032 KB
testcase_07 AC 114 ms
39,844 KB
testcase_08 AC 126 ms
40,872 KB
testcase_09 AC 113 ms
39,848 KB
testcase_10 AC 126 ms
40,812 KB
testcase_11 AC 124 ms
40,916 KB
testcase_12 AC 125 ms
40,964 KB
testcase_13 AC 129 ms
41,088 KB
testcase_14 AC 115 ms
39,840 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Kaidan388 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int s = sc.nextInt();
		int f = sc.nextInt();
		System.out.println(s / f + 1);
		sc.close();
	}

}
0