結果
問題 |
No.46 はじめのn歩
|
ユーザー |
![]() |
提出日時 | 2019-09-20 03:09:09 |
言語 | Java (openjdk 23) |
結果 |
RE
|
実行時間 | - |
コード長 | 473 bytes |
コンパイル時間 | 3,192 ms |
コンパイル使用メモリ | 74,672 KB |
実行使用メモリ | 52,416 KB |
最終ジャッジ日時 | 2024-09-13 08:49:38 |
合計ジャッジ時間 | 4,386 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 10 |
ソースコード
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Test{ public static void main(String[] args) throws IOException{ BufferedReader buf = new BufferedReader(new InputStreamReader(System.in)); int a = Integer.parseInt(buf.readLine()); int b = Integer.parseInt(buf.readLine()); int walk=0; while (a*walk<b) { walk++; } System.out.println(walk); } }