結果
問題 | No.46 はじめのn歩 |
ユーザー | zan_jt84 |
提出日時 | 2016-02-23 15:25:32 |
言語 | Java21 (openjdk 21) |
結果 |
WA
|
実行時間 | - |
コード長 | 368 bytes |
コンパイル時間 | 3,420 ms |
コンパイル使用メモリ | 74,596 KB |
実行使用メモリ | 57,712 KB |
最終ジャッジ日時 | 2023-10-23 19:25:23 |
合計ジャッジ時間 | 5,753 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | AC | 130 ms
57,584 KB |
testcase_02 | WA | - |
testcase_03 | AC | 129 ms
57,464 KB |
testcase_04 | AC | 131 ms
57,480 KB |
testcase_05 | AC | 129 ms
57,680 KB |
testcase_06 | WA | - |
testcase_07 | AC | 129 ms
57,472 KB |
testcase_08 | WA | - |
testcase_09 | WA | - |
ソースコード
import java.util.*; public class Pract6 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s1 = sc.next(); String s2 = sc.next(); int a = Integer.parseInt(s1); int b = Integer.parseInt(s2); int c = b / a + 1; System.out.println(c); } }