結果

問題 No.388 階段 (1)
ユーザー cande398cande398
提出日時 2017-10-09 22:20:46
言語 Java21
(openjdk 21)
結果
AC  
実行時間 120 ms / 2,000 ms
コード長 212 bytes
コンパイル時間 1,980 ms
コンパイル使用メモリ 70,972 KB
実行使用メモリ 56,408 KB
最終ジャッジ日時 2023-08-10 21:20:51
合計ジャッジ時間 4,652 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 115 ms
55,684 KB
testcase_01 AC 116 ms
55,708 KB
testcase_02 AC 116 ms
56,100 KB
testcase_03 AC 118 ms
55,964 KB
testcase_04 AC 118 ms
56,408 KB
testcase_05 AC 114 ms
54,324 KB
testcase_06 AC 120 ms
55,972 KB
testcase_07 AC 118 ms
55,928 KB
testcase_08 AC 116 ms
55,984 KB
testcase_09 AC 115 ms
56,140 KB
testcase_10 AC 113 ms
54,060 KB
testcase_11 AC 112 ms
55,936 KB
testcase_12 AC 114 ms
56,072 KB
testcase_13 AC 114 ms
55,848 KB
testcase_14 AC 116 ms
56,280 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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