結果

問題 No.388 階段 (1)
ユーザー dazy
提出日時 2016-08-31 15:27:32
言語 Java
(openjdk 23)
結果
AC  
実行時間 131 ms / 2,000 ms
コード長 297 bytes
コンパイル時間 2,648 ms
コンパイル使用メモリ 74,872 KB
実行使用メモリ 54,516 KB
最終ジャッジ日時 2024-11-14 12:57:06
合計ジャッジ時間 4,723 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

class Procon {
    static public void main(String[] args) {
        int S, F;
        Scanner scanner = new Scanner(System.in);

        S = scanner.nextInt();
        F = scanner.nextInt();

        int ans = S / F + 1;

        System.out.printf("%d\n", ans);
    }
}
0