結果
問題 |
No.46 はじめのn歩
|
ユーザー |
![]() |
提出日時 | 2017-04-23 21:18:18 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 50 ms / 5,000 ms |
コード長 | 459 bytes |
コンパイル時間 | 1,978 ms |
コンパイル使用メモリ | 74,080 KB |
実行使用メモリ | 37,112 KB |
最終ジャッジ日時 | 2024-07-22 10:08:43 |
合計ジャッジ時間 | 3,173 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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); } }