結果

問題 No.388 階段 (1)
ユーザー ぴろずぴろず
提出日時 2016-07-08 22:21:07
言語 Java21
(openjdk 21)
結果
AC  
実行時間 125 ms / 2,000 ms
コード長 232 bytes
コンパイル時間 1,895 ms
コンパイル使用メモリ 73,920 KB
実行使用メモリ 41,336 KB
最終ジャッジ日時 2024-04-21 03:51:16
合計ジャッジ時間 4,337 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 110 ms
40,072 KB
testcase_01 AC 121 ms
41,188 KB
testcase_02 AC 119 ms
40,260 KB
testcase_03 AC 111 ms
40,220 KB
testcase_04 AC 124 ms
41,116 KB
testcase_05 AC 122 ms
40,040 KB
testcase_06 AC 115 ms
40,656 KB
testcase_07 AC 124 ms
40,832 KB
testcase_08 AC 111 ms
40,040 KB
testcase_09 AC 111 ms
39,856 KB
testcase_10 AC 112 ms
39,816 KB
testcase_11 AC 109 ms
40,220 KB
testcase_12 AC 123 ms
41,336 KB
testcase_13 AC 120 ms
40,132 KB
testcase_14 AC 125 ms
40,932 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package no388;

import java.util.Scanner;

public class Main {

	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);
	}

}
0