結果
問題 | No.46 はじめのn歩 |
ユーザー | newoota0331 |
提出日時 | 2016-09-01 17:19:12 |
言語 | Java21 (openjdk 21) |
結果 |
WA
|
実行時間 | - |
コード長 | 416 bytes |
コンパイル時間 | 2,064 ms |
コンパイル使用メモリ | 74,644 KB |
実行使用メモリ | 56,336 KB |
最終ジャッジ日時 | 2024-04-27 14:25:51 |
合計ジャッジ時間 | 4,114 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | AC | 135 ms
54,152 KB |
testcase_02 | WA | - |
testcase_03 | AC | 136 ms
54,036 KB |
testcase_04 | AC | 133 ms
54,036 KB |
testcase_05 | AC | 134 ms
54,164 KB |
testcase_06 | WA | - |
testcase_07 | AC | 133 ms
53,884 KB |
testcase_08 | WA | - |
testcase_09 | WA | - |
ソースコード
/* package whatever; // don't place package name! */ import java.util.*; import java.lang.*; import java.io.*; /* Name of the class has to be "Main" only if the class is public. */ class Ideone { public static void main (String[] args) throws java.lang.Exception { Scanner sc = new Scanner(System.in); int a,b; a = sc.nextInt(); b = sc.nextInt(); a = (b / a) + 1; System.out.println(a); } }