結果

問題 No.388 階段 (1)
ユーザー FukuokaM
提出日時 2020-12-16 11:03:18
言語 Java
(openjdk 23)
結果
AC  
実行時間 129 ms / 2,000 ms
コード長 235 bytes
コンパイル時間 2,999 ms
コンパイル使用メモリ 74,096 KB
実行使用メモリ 54,152 KB
最終ジャッジ日時 2024-09-20 04:43:31
合計ジャッジ時間 5,596 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Kaidan388 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int s = sc.nextInt();
		int f = sc.nextInt();
		System.out.println(s / f + 1);
		sc.close();
	}

}
0