結果
問題 | No.46 はじめのn歩 |
ユーザー | 8130Tsk |
提出日時 | 2015-07-22 19:01:26 |
言語 | Java21 (openjdk 21) |
結果 |
WA
|
実行時間 | - |
コード長 | 265 bytes |
コンパイル時間 | 3,114 ms |
コンパイル使用メモリ | 71,416 KB |
実行使用メモリ | 57,348 KB |
最終ジャッジ日時 | 2023-09-22 21:15:38 |
合計ジャッジ時間 | 5,184 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | AC | 128 ms
55,816 KB |
testcase_02 | WA | - |
testcase_03 | AC | 127 ms
56,012 KB |
testcase_04 | AC | 125 ms
55,788 KB |
testcase_05 | AC | 125 ms
56,016 KB |
testcase_06 | WA | - |
testcase_07 | AC | 125 ms
55,976 KB |
testcase_08 | AC | 123 ms
55,852 KB |
testcase_09 | WA | - |
ソースコード
import java.util.*; public class No46 { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); int a =sc.nextInt(); int b =sc.nextInt(); System.out.println((int)Math.ceil(b/a+0.5f)); } }