結果

問題 No.388 階段 (1)
ユーザー nishimitnishimit
提出日時 2018-07-04 13:48:08
言語 Java21
(openjdk 21)
結果
AC  
実行時間 127 ms / 2,000 ms
コード長 297 bytes
コンパイル時間 3,268 ms
コンパイル使用メモリ 72,192 KB
実行使用メモリ 55,900 KB
最終ジャッジ日時 2023-09-13 17:30:53
合計ジャッジ時間 5,969 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
55,648 KB
testcase_01 AC 126 ms
55,844 KB
testcase_02 AC 125 ms
55,848 KB
testcase_03 AC 125 ms
55,704 KB
testcase_04 AC 123 ms
53,460 KB
testcase_05 AC 124 ms
53,808 KB
testcase_06 AC 124 ms
55,604 KB
testcase_07 AC 124 ms
55,492 KB
testcase_08 AC 125 ms
55,756 KB
testcase_09 AC 125 ms
55,488 KB
testcase_10 AC 124 ms
55,900 KB
testcase_11 AC 125 ms
55,668 KB
testcase_12 AC 126 ms
55,448 KB
testcase_13 AC 126 ms
55,716 KB
testcase_14 AC 127 ms
55,668 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
public class Floor{
    public static void main(String args[]){
        Scanner sc = new Scanner(System.in);
        int s = sc.nextInt();
        int f = sc.nextInt();
        if(0<=s && s<=456 && 1<=f && f<=123){
            System.out.println(s/f+1);
        }
    }
}
0