結果
| 問題 | No.46 はじめのn歩 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-09-25 21:47:26 |
| 言語 | Java (openjdk 25.0.2) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 351 bytes |
| 記録 | |
| コンパイル時間 | 2,373 ms |
| コンパイル使用メモリ | 81,488 KB |
| 実行使用メモリ | 42,588 KB |
| 最終ジャッジ日時 | 2026-04-21 13:46:41 |
| 合計ジャッジ時間 | 2,968 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 WA * 5 |
ソースコード
import java.io.PrintWriter;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
PrintWriter out = new PrintWriter(System.out);
int a = scanner.nextInt();
int b = scanner.nextInt();
out.println((b/a)+1);
out.flush();
}
}