結果

問題 No.388 階段 (1)
ユーザー GrenacheGrenache
提出日時 2016-07-08 22:21:27
言語 Java19
(openjdk 21)
結果
AC  
実行時間 117 ms / 2,000 ms
コード長 432 bytes
コンパイル時間 4,311 ms
コンパイル使用メモリ 71,584 KB
実行使用メモリ 56,124 KB
最終ジャッジ日時 2023-08-03 06:39:03
合計ジャッジ時間 6,297 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 108 ms
55,952 KB
testcase_01 AC 108 ms
55,844 KB
testcase_02 AC 108 ms
55,668 KB
testcase_03 AC 114 ms
55,576 KB
testcase_04 AC 110 ms
55,796 KB
testcase_05 AC 112 ms
56,064 KB
testcase_06 AC 117 ms
55,888 KB
testcase_07 AC 117 ms
56,124 KB
testcase_08 AC 115 ms
55,812 KB
testcase_09 AC 114 ms
55,868 KB
testcase_10 AC 111 ms
55,516 KB
testcase_11 AC 111 ms
55,388 KB
testcase_12 AC 113 ms
55,792 KB
testcase_13 AC 116 ms
55,804 KB
testcase_14 AC 117 ms
55,768 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.*;
import java.util.*;


public class Main_yukicoder388 {

    public static void main(String[] args) {
    	Scanner sc = new Scanner(System.in);
    	Printer pr = new Printer(System.out);

		int s = sc.nextInt();
		int f = sc.nextInt();

		pr.println(s / f + 1);

        pr.close();
        sc.close();
    }

	private static class Printer extends PrintWriter {
		Printer(PrintStream out) {
			super(out);
		}
	}
}
0