結果

問題 No.388 階段 (1)
ユーザー fkwnw3_1243
提出日時 2017-05-04 12:18:12
言語 Java
(openjdk 23)
結果
AC  
実行時間 57 ms / 2,000 ms
コード長 485 bytes
コンパイル時間 2,051 ms
コンパイル使用メモリ 74,412 KB
実行使用メモリ 45,820 KB
最終ジャッジ日時 2024-09-14 07:02:17
合計ジャッジ時間 3,620 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

import static java.lang.System.in;

public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(in));
        String[] inputs = reader.readLine().split(" ");
        int S = Integer.parseInt(inputs[0]);
        int F = Integer.parseInt(inputs[1]);
        System.out.println((S+F) /F);
    }
}
0