結果

問題 No.388 階段 (1)
ユーザー swdamdrswdamdr
提出日時 2017-02-03 09:28:54
言語 Java21
(openjdk 21)
結果
AC  
実行時間 116 ms / 2,000 ms
コード長 231 bytes
コンパイル時間 2,783 ms
コンパイル使用メモリ 71,444 KB
実行使用メモリ 56,312 KB
最終ジャッジ日時 2023-08-25 18:13:35
合計ジャッジ時間 5,427 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 112 ms
56,276 KB
testcase_01 AC 111 ms
55,960 KB
testcase_02 AC 113 ms
55,816 KB
testcase_03 AC 107 ms
54,108 KB
testcase_04 AC 110 ms
56,192 KB
testcase_05 AC 114 ms
55,816 KB
testcase_06 AC 111 ms
56,120 KB
testcase_07 AC 112 ms
56,196 KB
testcase_08 AC 114 ms
56,312 KB
testcase_09 AC 113 ms
56,096 KB
testcase_10 AC 111 ms
55,960 KB
testcase_11 AC 113 ms
56,076 KB
testcase_12 AC 112 ms
55,708 KB
testcase_13 AC 112 ms
55,872 KB
testcase_14 AC 116 ms
55,940 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Sample01 {

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