結果

問題 No.388 階段 (1)
ユーザー CavasiroCavasiro
提出日時 2020-04-15 00:51:52
言語 Java21
(openjdk 21)
結果
AC  
実行時間 134 ms / 2,000 ms
コード長 206 bytes
コンパイル時間 2,297 ms
コンパイル使用メモリ 74,044 KB
実行使用メモリ 54,312 KB
最終ジャッジ日時 2024-04-09 18:26:32
合計ジャッジ時間 5,103 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 132 ms
54,160 KB
testcase_01 AC 131 ms
53,696 KB
testcase_02 AC 133 ms
54,124 KB
testcase_03 AC 132 ms
54,136 KB
testcase_04 AC 132 ms
53,920 KB
testcase_05 AC 132 ms
53,904 KB
testcase_06 AC 134 ms
54,012 KB
testcase_07 AC 132 ms
54,136 KB
testcase_08 AC 131 ms
54,200 KB
testcase_09 AC 132 ms
54,192 KB
testcase_10 AC 131 ms
54,312 KB
testcase_11 AC 129 ms
54,032 KB
testcase_12 AC 130 ms
53,968 KB
testcase_13 AC 131 ms
54,108 KB
testcase_14 AC 130 ms
53,972 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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