結果
問題 |
No.388 階段 (1)
|
ユーザー |
![]() |
提出日時 | 2019-03-11 16:30:58 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 125 ms / 2,000 ms |
コード長 | 395 bytes |
コンパイル時間 | 2,973 ms |
コンパイル使用メモリ | 75,048 KB |
実行使用メモリ | 54,340 KB |
最終ジャッジ日時 | 2024-06-23 15:36:20 |
合計ジャッジ時間 | 5,372 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 |
ソースコード
import java.util.Scanner; public class No388 { private static final String k = " "; public static void main(String[] args) { String input = null; Scanner sc = new Scanner(System.in); input = sc.nextLine(); String[] split = input.split(k); int a = Integer.parseInt(split[0]); int b = Integer.parseInt(split[1]); int c = (a / b) + 1; System.out.println(c); sc.close(); } }