結果

問題 No.388 階段 (1)
ユーザー ダンネック
提出日時 2020-05-24 12:45:13
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 363 bytes
コンパイル時間 4,193 ms
コンパイル使用メモリ 75,156 KB
実行使用メモリ 41,420 KB
最終ジャッジ日時 2024-10-11 04:10:21
合計ジャッジ時間 6,248 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 4 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Arrays;
import java.util.Scanner;
public class length{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
	    int a = sc.nextInt();
	    int b = sc.nextInt();
	    int f = a / b;
	    if(a % b ==0){
	        System.out.println(f + 1);
	    }else{
	        System.out.println(f);
	    }
		sc.close();
    }
}
0