結果
| 問題 | No.46 はじめのn歩 |
| コンテスト | |
| ユーザー |
asf asf
|
| 提出日時 | 2020-05-14 06:57:30 |
| 言語 | Java (openjdk 25.0.2) |
| 結果 |
AC
|
| 実行時間 | 55 ms / 5,000 ms |
| コード長 | 351 bytes |
| 記録 | |
| コンパイル時間 | 2,742 ms |
| コンパイル使用メモリ | 83,340 KB |
| 実行使用メモリ | 41,468 KB |
| 最終ジャッジ日時 | 2026-04-04 14:23:25 |
| 合計ジャッジ時間 | 4,022 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
import java.util.Scanner;
public class Solution {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a, b;
a = sc.nextInt();
b = sc.nextInt();
int res = 0;
res += b / a;
if (b % a != 0) {
res++;
}
System.out.println(res);
}
}
asf asf