結果

問題 No.169 何分かかるの!?
ユーザー ohagi_1182ohagi_1182
提出日時 2017-10-17 22:16:21
言語 Java21
(openjdk 21)
結果
AC  
実行時間 133 ms / 1,000 ms
コード長 244 bytes
コンパイル時間 1,920 ms
コンパイル使用メモリ 74,496 KB
実行使用メモリ 54,392 KB
最終ジャッジ日時 2024-04-29 06:27:16
合計ジャッジ時間 5,902 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 126 ms
53,908 KB
testcase_01 AC 124 ms
53,892 KB
testcase_02 AC 133 ms
53,760 KB
testcase_03 AC 126 ms
53,988 KB
testcase_04 AC 128 ms
54,080 KB
testcase_05 AC 126 ms
54,180 KB
testcase_06 AC 125 ms
53,972 KB
testcase_07 AC 125 ms
53,844 KB
testcase_08 AC 119 ms
53,356 KB
testcase_09 AC 129 ms
53,728 KB
testcase_10 AC 114 ms
52,908 KB
testcase_11 AC 128 ms
53,848 KB
testcase_12 AC 125 ms
54,060 KB
testcase_13 AC 128 ms
54,392 KB
testcase_14 AC 122 ms
54,068 KB
testcase_15 AC 125 ms
53,940 KB
testcase_16 AC 121 ms
53,984 KB
testcase_17 AC 125 ms
53,812 KB
testcase_18 AC 122 ms
54,020 KB
testcase_19 AC 125 ms
54,176 KB
testcase_20 AC 129 ms
53,828 KB
testcase_21 AC 125 ms
54,360 KB
testcase_22 AC 121 ms
53,928 KB
testcase_23 AC 129 ms
54,040 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int k = sc.nextInt();
		int s = sc.nextInt();
		int ans = 100 * s / (100 - k);
		System.out.println(ans);
 	}
}

0