結果
問題 |
No.388 階段 (1)
|
ユーザー |
![]() |
提出日時 | 2018-02-04 20:11:42 |
言語 | Java (openjdk 23) |
結果 |
WA
|
実行時間 | - |
コード長 | 278 bytes |
コンパイル時間 | 3,384 ms |
コンパイル使用メモリ | 74,880 KB |
実行使用メモリ | 54,240 KB |
最終ジャッジ日時 | 2024-06-30 04:02:19 |
合計ジャッジ時間 | 5,811 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | AC * 4 WA * 8 |
ソースコード
import java.util.Scanner; public class No388 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int s = sc.nextInt(); int f = sc.nextInt(); if(s % f == 0) { System.out.println(s / f + 1); }else { System.out.println(s / f); } } }