結果

問題 No.169 何分かかるの!?
ユーザー omc-testomc-test
提出日時 2016-08-05 10:33:55
言語 Java21
(openjdk 21)
結果
AC  
実行時間 121 ms / 1,000 ms
コード長 281 bytes
コンパイル時間 2,830 ms
コンパイル使用メモリ 74,132 KB
実行使用メモリ 41,696 KB
最終ジャッジ日時 2024-04-24 15:37:02
合計ジャッジ時間 6,260 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 120 ms
41,264 KB
testcase_01 AC 94 ms
39,424 KB
testcase_02 AC 110 ms
40,304 KB
testcase_03 AC 100 ms
39,992 KB
testcase_04 AC 108 ms
41,372 KB
testcase_05 AC 110 ms
41,268 KB
testcase_06 AC 115 ms
41,696 KB
testcase_07 AC 106 ms
40,016 KB
testcase_08 AC 113 ms
41,040 KB
testcase_09 AC 111 ms
40,976 KB
testcase_10 AC 109 ms
40,932 KB
testcase_11 AC 110 ms
40,964 KB
testcase_12 AC 100 ms
40,064 KB
testcase_13 AC 109 ms
40,960 KB
testcase_14 AC 115 ms
41,108 KB
testcase_15 AC 121 ms
41,144 KB
testcase_16 AC 110 ms
41,184 KB
testcase_17 AC 109 ms
40,148 KB
testcase_18 AC 97 ms
39,940 KB
testcase_19 AC 116 ms
41,540 KB
testcase_20 AC 99 ms
40,056 KB
testcase_21 AC 101 ms
40,032 KB
testcase_22 AC 117 ms
41,068 KB
testcase_23 AC 117 ms
40,848 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
public class No0169 {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int k = sc.nextInt();
		int s = sc.nextInt();
		sc.close();
		int ans = 0;
		ans = (int)((double)s / (100 - k) * 100);
		System.out.println(ans);
	}
}
0