結果
問題 |
No.46 はじめのn歩
|
ユーザー |
![]() |
提出日時 | 2017-04-04 19:22:11 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 121 ms / 5,000 ms |
コード長 | 300 bytes |
コンパイル時間 | 2,995 ms |
コンパイル使用メモリ | 74,264 KB |
実行使用メモリ | 41,684 KB |
最終ジャッジ日時 | 2024-07-08 08:37:01 |
合計ジャッジ時間 | 3,380 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 |
ソースコード
import java.util.*; public class Main { public static void main(String args[] ) throws Exception { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int output = b / a; if (b % a != 0) { output++; } System.out.println(output); } }