結果

問題 No.388 階段 (1)
ユーザー mits58mits58
提出日時 2016-07-09 00:23:40
言語 Java21
(openjdk 21)
結果
AC  
実行時間 137 ms / 2,000 ms
コード長 225 bytes
コンパイル時間 2,164 ms
コンパイル使用メモリ 73,744 KB
実行使用メモリ 41,508 KB
最終ジャッジ日時 2024-04-21 08:57:25
合計ジャッジ時間 4,905 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 133 ms
41,048 KB
testcase_01 AC 130 ms
41,508 KB
testcase_02 AC 133 ms
41,180 KB
testcase_03 AC 135 ms
41,416 KB
testcase_04 AC 132 ms
41,336 KB
testcase_05 AC 132 ms
41,280 KB
testcase_06 AC 130 ms
41,240 KB
testcase_07 AC 137 ms
41,284 KB
testcase_08 AC 117 ms
39,896 KB
testcase_09 AC 132 ms
40,944 KB
testcase_10 AC 129 ms
41,076 KB
testcase_11 AC 132 ms
41,124 KB
testcase_12 AC 132 ms
41,236 KB
testcase_13 AC 130 ms
41,172 KB
testcase_14 AC 129 ms
41,072 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

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