結果

問題 No.388 階段 (1)
ユーザー Tsukasa_TypeTsukasa_Type
提出日時 2018-02-08 21:46:50
言語 Java21
(openjdk 21)
結果
AC  
実行時間 138 ms / 2,000 ms
コード長 209 bytes
コンパイル時間 2,244 ms
コンパイル使用メモリ 73,864 KB
実行使用メモリ 57,744 KB
最終ジャッジ日時 2023-10-26 03:14:00
合計ジャッジ時間 5,128 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 131 ms
57,584 KB
testcase_01 AC 130 ms
57,580 KB
testcase_02 AC 130 ms
57,696 KB
testcase_03 AC 130 ms
57,744 KB
testcase_04 AC 131 ms
57,200 KB
testcase_05 AC 133 ms
57,600 KB
testcase_06 AC 131 ms
57,600 KB
testcase_07 AC 135 ms
57,232 KB
testcase_08 AC 135 ms
57,532 KB
testcase_09 AC 138 ms
57,448 KB
testcase_10 AC 132 ms
57,232 KB
testcase_11 AC 135 ms
57,272 KB
testcase_12 AC 135 ms
55,704 KB
testcase_13 AC 133 ms
57,376 KB
testcase_14 AC 132 ms
57,276 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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