結果

問題 No.388 階段 (1)
ユーザー Shunsuke Kamada
提出日時 2018-09-25 21:57:21
言語 Java
(openjdk 23)
結果
AC  
実行時間 126 ms / 2,000 ms
コード長 373 bytes
コンパイル時間 4,009 ms
コンパイル使用メモリ 74,344 KB
実行使用メモリ 54,504 KB
最終ジャッジ日時 2024-10-06 03:20:52
合計ジャッジ時間 5,318 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

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

public class No0388 {
    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);

        int s = scanner.nextInt();
        int f = scanner.nextInt();
        int ans = s/f+1;
        out.println(ans);
        out.flush();
    }
}
0