結果
| 問題 | No.46 はじめのn歩 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-12-14 15:28:57 |
| 言語 | Java (openjdk 25.0.2) |
| 結果 |
AC
|
| 実行時間 | 72 ms / 5,000 ms |
| コード長 | 661 bytes |
| 記録 | |
| コンパイル時間 | 3,442 ms |
| コンパイル使用メモリ | 81,748 KB |
| 実行使用メモリ | 41,808 KB |
| 最終ジャッジ日時 | 2026-04-12 09:28:59 |
| 合計ジャッジ時間 | 3,840 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_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 yukicoder;
import java.util.Scanner;
/**
*
* @author hjhto
*/
public class YukicoderNo46 {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
if(b%a==0) System.out.println(b/a);
else System.out.println(b/a+1);
}
}