結果
問題 | No.388 階段 (1) |
ユーザー |
![]() |
提出日時 | 2017-05-04 12:16:57 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 53 ms / 2,000 ms |
コード長 | 485 bytes |
コンパイル時間 | 2,180 ms |
コンパイル使用メモリ | 73,424 KB |
実行使用メモリ | 36,980 KB |
最終ジャッジ日時 | 2024-09-14 07:01:49 |
合計ジャッジ時間 | 3,665 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 |
ソースコード
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 + 1); } }