結果

問題 No.477 MVP
ユーザー bob___wbob___w
提出日時 2017-02-18 03:54:09
言語 Java21
(openjdk 21)
結果
RE  
実行時間 -
コード長 307 bytes
コンパイル時間 4,036 ms
コンパイル使用メモリ 71,796 KB
実行使用メモリ 58,244 KB
最終ジャッジ日時 2023-08-28 18:34:42
合計ジャッジ時間 5,584 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 113 ms
55,760 KB
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 AC 112 ms
55,856 KB
testcase_07 AC 112 ms
55,988 KB
testcase_08 AC 113 ms
56,024 KB
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
public class Test15 {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();

		String[]ss= s.split(" ");
		long a=Integer.parseInt(ss[0]);
		long b=Integer.parseInt(ss[1]);

		long c=a/(b+1);
		
		System.out.println(c+1);
	}
}
0