結果
| 問題 | No.46 はじめのn歩 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-04-03 00:34:13 |
| 言語 | Java (openjdk 25.0.2) |
| 結果 |
AC
|
| 実行時間 | 57 ms / 5,000 ms |
| コード長 | 638 bytes |
| 記録 | |
| コンパイル時間 | 3,449 ms |
| コンパイル使用メモリ | 86,156 KB |
| 実行使用メモリ | 41,944 KB |
| 最終ジャッジ日時 | 2026-05-25 09:38:21 |
| 合計ジャッジ時間 | 6,180 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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);
}
}