結果
問題 |
No.46 はじめのn歩
|
ユーザー |
|
提出日時 | 2019-04-03 00:34:13 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 129 ms / 5,000 ms |
コード長 | 638 bytes |
コンパイル時間 | 3,182 ms |
コンパイル使用メモリ | 74,320 KB |
実行使用メモリ | 41,724 KB |
最終ジャッジ日時 | 2024-12-14 16:18:31 |
合計ジャッジ時間 | 5,052 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 |
ソースコード
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package programingtest; import java.util.Scanner; /** * * @author yh_04 */ public class Programingtest { /** * @param args the command line arguments */ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int ret = (int)Math.ceil((double)b / (double)a); System.out.println(ret); } }