結果
問題 | No.388 階段 (1) |
ユーザー |
![]() |
提出日時 | 2018-02-22 16:07:41 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 137 ms / 2,000 ms |
コード長 | 279 bytes |
コンパイル時間 | 2,344 ms |
コンパイル使用メモリ | 73,872 KB |
実行使用メモリ | 54,124 KB |
最終ジャッジ日時 | 2024-10-01 20:20:31 |
合計ジャッジ時間 | 4,892 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 |
ソースコード
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); System.out.println((long) Math.floor(((double) a / b)) + 1); } }