結果

問題 No.388 階段 (1)
ユーザー ya-hurusan
提出日時 2020-01-26 00:36:32
言語 Java
(openjdk 23)
結果
AC  
実行時間 133 ms / 2,000 ms
コード長 278 bytes
コンパイル時間 3,274 ms
コンパイル使用メモリ 74,456 KB
実行使用メモリ 41,636 KB
最終ジャッジ日時 2024-09-14 04:20:36
合計ジャッジ時間 6,017 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

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