結果

問題 No.169 何分かかるの!?
ユーザー r.suzukir.suzuki
提出日時 2015-12-28 23:24:27
言語 Java21
(openjdk 21)
結果
AC  
実行時間 138 ms / 1,000 ms
コード長 239 bytes
コンパイル時間 3,584 ms
コンパイル使用メモリ 74,560 KB
実行使用メモリ 57,688 KB
最終ジャッジ日時 2023-10-19 11:57:32
合計ジャッジ時間 7,558 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 136 ms
57,564 KB
testcase_01 AC 136 ms
57,316 KB
testcase_02 AC 132 ms
57,404 KB
testcase_03 AC 132 ms
57,400 KB
testcase_04 AC 132 ms
57,308 KB
testcase_05 AC 132 ms
57,688 KB
testcase_06 AC 133 ms
57,304 KB
testcase_07 AC 132 ms
57,312 KB
testcase_08 AC 132 ms
57,396 KB
testcase_09 AC 133 ms
57,328 KB
testcase_10 AC 132 ms
57,384 KB
testcase_11 AC 137 ms
57,380 KB
testcase_12 AC 136 ms
57,516 KB
testcase_13 AC 137 ms
57,360 KB
testcase_14 AC 138 ms
57,136 KB
testcase_15 AC 136 ms
57,676 KB
testcase_16 AC 133 ms
57,396 KB
testcase_17 AC 136 ms
57,564 KB
testcase_18 AC 136 ms
57,548 KB
testcase_19 AC 132 ms
57,288 KB
testcase_20 AC 133 ms
57,440 KB
testcase_21 AC 133 ms
57,560 KB
testcase_22 AC 131 ms
57,548 KB
testcase_23 AC 133 ms
57,412 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

public class No_169 {

	public static void main(String[] args) {
		java.util.Scanner sc = new java.util.Scanner(System.in);
		int K = sc.nextInt();
		int S = sc.nextInt();
		int x = (K * S) / (100 - K);

		System.out.println(S + x);

	}

}
0