結果
| 問題 | No.46 はじめのn歩 |
| コンテスト | |
| ユーザー |
fkwnw3_1243
|
| 提出日時 | 2017-04-23 21:18:18 |
| 言語 | Java (openjdk 26.0.2.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 31 ms / 5,000 ms |
| + 229µs | |
| コード長 | 459 bytes |
| 記録 | |
| コンパイル時間 | 1,455 ms |
| コンパイル使用メモリ | 82,800 KB |
| 実行使用メモリ | 43,852 KB |
| 最終ジャッジ日時 | 2026-08-23 05:19:32 |
| 合計ジャッジ時間 | 2,946 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader reader =new BufferedReader(new InputStreamReader(System.in));
String[] line = reader.readLine().split(" ");
int a = Integer.parseInt(line[0]);
int b = Integer.parseInt(line[1]);
System.out.println((b+a-1)/a);
}
}
fkwnw3_1243