結果

問題 No.388 階段 (1)
ユーザー t8m8⛄️t8m8⛄️
提出日時 2016-07-16 16:09:24
言語 Java21
(openjdk 21)
結果
AC  
実行時間 139 ms / 2,000 ms
コード長 685 bytes
コンパイル時間 4,422 ms
コンパイル使用メモリ 83,596 KB
実行使用メモリ 42,396 KB
最終ジャッジ日時 2024-04-23 13:46:00
合計ジャッジ時間 6,212 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
41,664 KB
testcase_01 AC 132 ms
42,020 KB
testcase_02 AC 134 ms
41,820 KB
testcase_03 AC 124 ms
41,528 KB
testcase_04 AC 139 ms
41,792 KB
testcase_05 AC 132 ms
42,020 KB
testcase_06 AC 137 ms
42,396 KB
testcase_07 AC 122 ms
42,088 KB
testcase_08 AC 135 ms
42,052 KB
testcase_09 AC 134 ms
41,928 KB
testcase_10 AC 133 ms
42,092 KB
testcase_11 AC 135 ms
41,888 KB
testcase_12 AC 125 ms
41,692 KB
testcase_13 AC 133 ms
41,928 KB
testcase_14 AC 124 ms
41,908 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.io.*;
import java.awt.geom.*;
import java.math.*;

public class No0388 {

	static final Scanner in = new Scanner(System.in);
	static final PrintWriter out = new PrintWriter(System.out,false);
	static boolean debug = false;

	static void solve() {
		int s = in.nextInt();
		int f = in.nextInt();
		out.println((1 + s/f));
	}

	public static void main(String[] args) {
		debug = args.length > 0;
		long start = System.nanoTime();

		solve();
		out.flush();

		long end = System.nanoTime();
		dump((end - start) / 1000000 + " ms");
		in.close();
		out.close();
	}

	static void dump(Object... o) { if (debug) System.err.println(Arrays.deepToString(o)); }
}
0