結果
問題 | No.46 はじめのn歩 |
ユーザー | 練習生 |
提出日時 | 2015-08-06 18:17:42 |
言語 | Java21 (openjdk 21) |
結果 |
WA
|
実行時間 | - |
コード長 | 274 bytes |
コンパイル時間 | 3,262 ms |
コンパイル使用メモリ | 70,872 KB |
実行使用メモリ | 56,284 KB |
最終ジャッジ日時 | 2023-09-25 04:13:05 |
合計ジャッジ時間 | 5,595 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | AC | 126 ms
53,676 KB |
testcase_02 | WA | - |
testcase_03 | AC | 124 ms
55,396 KB |
testcase_04 | AC | 123 ms
55,736 KB |
testcase_05 | AC | 123 ms
55,788 KB |
testcase_06 | WA | - |
testcase_07 | AC | 123 ms
55,728 KB |
testcase_08 | WA | - |
testcase_09 | WA | - |
ソースコード
import java.util.Scanner; public class No46 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); System.out.println((int)(((double)b / a) + 0.99999999999999999999999999999999999999999999)); } }