結果

問題 No.388 階段 (1)
ユーザー natume_shikinatume_shiki
提出日時 2018-09-30 12:25:13
言語 Java21
(openjdk 21)
結果
AC  
実行時間 46 ms / 2,000 ms
コード長 519 bytes
コンパイル時間 2,713 ms
コンパイル使用メモリ 72,860 KB
実行使用メモリ 37,064 KB
最終ジャッジ日時 2024-04-20 13:31:22
合計ジャッジ時間 3,976 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 44 ms
37,036 KB
testcase_01 AC 44 ms
36,672 KB
testcase_02 AC 43 ms
36,700 KB
testcase_03 AC 42 ms
36,844 KB
testcase_04 AC 45 ms
36,436 KB
testcase_05 AC 44 ms
36,992 KB
testcase_06 AC 45 ms
36,460 KB
testcase_07 AC 46 ms
36,764 KB
testcase_08 AC 46 ms
36,728 KB
testcase_09 AC 43 ms
36,804 KB
testcase_10 AC 43 ms
37,064 KB
testcase_11 AC 43 ms
36,880 KB
testcase_12 AC 44 ms
37,044 KB
testcase_13 AC 46 ms
37,040 KB
testcase_14 AC 46 ms
36,572 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.*;
public class No_388{
	public static void main(String[] args){
		BufferedReader br = null;
		try{
			br = new BufferedReader(new InputStreamReader(System.in));
			String s = br.readLine();
			String[] sa = s.split(" ");
			int[] saNum = new int[sa.length];
			for(int i = 0; i < saNum.length; i++){
				saNum[i] = Integer.parseInt(sa[i]);
			}
			System.out.println(saNum[0] / saNum[1] + 1);
		}catch(IOException e){
		}finally{
			try{
				if(br != null)br.close();
			}catch(IOException e){}
		}
	}
}
0