結果
問題 |
No.46 はじめのn歩
|
ユーザー |
![]() |
提出日時 | 2017-06-05 18:00:22 |
言語 | JavaScript (node v23.5.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 539 bytes |
コンパイル時間 | 49 ms |
コンパイル使用メモリ | 6,820 KB |
実行使用メモリ | 41,592 KB |
最終ジャッジ日時 | 2024-10-13 00:08:28 |
合計ジャッジ時間 | 1,250 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 10 |
ソースコード
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner s = new Scanner (System.in); int X = s.nextInt(); int Y = s.nextInt(); int res = Y/X; int tt = Y%X; if (tt>0){ res = Y/X+1; } System.out.println(res); BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); } }