結果

問題 No.388 階段 (1)
ユーザー springspring
提出日時 2019-06-12 11:44:17
言語 Java21
(openjdk 21)
結果
AC  
実行時間 135 ms / 2,000 ms
コード長 244 bytes
コンパイル時間 4,100 ms
コンパイル使用メモリ 73,388 KB
実行使用メモリ 54,344 KB
最終ジャッジ日時 2024-04-18 02:08:54
合計ジャッジ時間 4,665 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 131 ms
53,824 KB
testcase_01 AC 132 ms
54,276 KB
testcase_02 AC 135 ms
54,048 KB
testcase_03 AC 134 ms
53,900 KB
testcase_04 AC 131 ms
54,196 KB
testcase_05 AC 129 ms
54,016 KB
testcase_06 AC 116 ms
53,192 KB
testcase_07 AC 129 ms
54,156 KB
testcase_08 AC 129 ms
54,320 KB
testcase_09 AC 129 ms
54,208 KB
testcase_10 AC 115 ms
52,908 KB
testcase_11 AC 130 ms
54,136 KB
testcase_12 AC 129 ms
54,344 KB
testcase_13 AC 132 ms
54,264 KB
testcase_14 AC 127 ms
54,024 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int step = sc.nextInt();
		int meter = sc.nextInt();
		System.out.println(step/meter+1);
	}//mainmethod

} //class
0