結果

問題 No.169 何分かかるの!?
ユーザー doyazaki012doyazaki012
提出日時 2015-04-24 18:35:39
言語 Java21
(openjdk 21)
結果
AC  
実行時間 124 ms / 1,000 ms
コード長 246 bytes
コンパイル時間 1,896 ms
コンパイル使用メモリ 70,892 KB
実行使用メモリ 56,260 KB
最終ジャッジ日時 2023-09-18 09:11:10
合計ジャッジ時間 5,874 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 121 ms
56,056 KB
testcase_01 AC 121 ms
55,900 KB
testcase_02 AC 123 ms
55,512 KB
testcase_03 AC 119 ms
55,936 KB
testcase_04 AC 120 ms
55,964 KB
testcase_05 AC 121 ms
55,776 KB
testcase_06 AC 120 ms
55,908 KB
testcase_07 AC 120 ms
55,900 KB
testcase_08 AC 122 ms
55,512 KB
testcase_09 AC 124 ms
55,656 KB
testcase_10 AC 120 ms
55,668 KB
testcase_11 AC 120 ms
56,260 KB
testcase_12 AC 117 ms
56,032 KB
testcase_13 AC 120 ms
55,512 KB
testcase_14 AC 120 ms
55,984 KB
testcase_15 AC 119 ms
55,800 KB
testcase_16 AC 122 ms
55,896 KB
testcase_17 AC 122 ms
55,948 KB
testcase_18 AC 120 ms
55,736 KB
testcase_19 AC 122 ms
55,848 KB
testcase_20 AC 121 ms
55,788 KB
testcase_21 AC 122 ms
55,472 KB
testcase_22 AC 120 ms
56,148 KB
testcase_23 AC 121 ms
55,796 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

class Yuki169{
	public static void main(String[] args){
		Scanner stdIn = new Scanner(System.in);
		int k = stdIn.nextInt();
		int s = stdIn.nextInt();
		int answer = (int)(s+(s*k/(100-k)));
		System.out.println(answer);
	}
}
0