結果

問題 No.388 階段 (1)
ユーザー ya-hurusanya-hurusan
提出日時 2020-01-26 00:36:32
言語 Java21
(openjdk 21)
結果
AC  
実行時間 117 ms / 2,000 ms
コード長 278 bytes
コンパイル時間 2,976 ms
コンパイル使用メモリ 71,456 KB
実行使用メモリ 56,012 KB
最終ジャッジ日時 2023-10-12 04:50:09
合計ジャッジ時間 5,582 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 116 ms
55,668 KB
testcase_01 AC 114 ms
55,592 KB
testcase_02 AC 116 ms
56,012 KB
testcase_03 AC 116 ms
53,592 KB
testcase_04 AC 114 ms
55,680 KB
testcase_05 AC 114 ms
55,372 KB
testcase_06 AC 114 ms
55,664 KB
testcase_07 AC 115 ms
56,004 KB
testcase_08 AC 115 ms
55,664 KB
testcase_09 AC 116 ms
55,792 KB
testcase_10 AC 116 ms
55,892 KB
testcase_11 AC 114 ms
56,008 KB
testcase_12 AC 115 ms
55,596 KB
testcase_13 AC 117 ms
55,792 KB
testcase_14 AC 116 ms
55,768 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class No_388 {

	public static void main(String[] args) {

		// 入力値
		Scanner input = new Scanner(System.in);
		int step = input.nextInt();
		int floor = input.nextInt();

		int ans = ((step / floor) +1);

		System.out.println(ans);
	}

}
0