結果

問題 No.388 階段 (1)
ユーザー core123core123
提出日時 2019-04-16 14:54:09
言語 Java21
(openjdk 21)
結果
AC  
実行時間 134 ms / 2,000 ms
コード長 223 bytes
コンパイル時間 2,078 ms
コンパイル使用メモリ 74,808 KB
実行使用メモリ 57,676 KB
最終ジャッジ日時 2023-10-22 07:03:37
合計ジャッジ時間 5,062 ms
ジャッジサーバーID
(参考情報)
judge15 / judge10
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 128 ms
57,472 KB
testcase_01 AC 130 ms
57,676 KB
testcase_02 AC 131 ms
57,508 KB
testcase_03 AC 132 ms
57,668 KB
testcase_04 AC 132 ms
57,476 KB
testcase_05 AC 131 ms
57,492 KB
testcase_06 AC 132 ms
57,520 KB
testcase_07 AC 130 ms
57,448 KB
testcase_08 AC 129 ms
57,076 KB
testcase_09 AC 130 ms
57,488 KB
testcase_10 AC 132 ms
57,504 KB
testcase_11 AC 130 ms
57,500 KB
testcase_12 AC 131 ms
57,104 KB
testcase_13 AC 134 ms
57,500 KB
testcase_14 AC 132 ms
57,244 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.util.stream.*;
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