結果

問題 No.169 何分かかるの!?
ユーザー Tsukasa_TypeTsukasa_Type
提出日時 2018-02-09 17:25:29
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 258 bytes
コンパイル時間 3,755 ms
コンパイル使用メモリ 79,804 KB
実行使用メモリ 41,592 KB
最終ジャッジ日時 2024-04-16 17:57:13
合計ジャッジ時間 7,499 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 114 ms
40,020 KB
testcase_02 AC 129 ms
41,340 KB
testcase_03 AC 128 ms
40,944 KB
testcase_04 AC 127 ms
41,352 KB
testcase_05 AC 130 ms
41,324 KB
testcase_06 AC 116 ms
40,028 KB
testcase_07 AC 117 ms
40,012 KB
testcase_08 AC 115 ms
40,384 KB
testcase_09 AC 129 ms
41,268 KB
testcase_10 AC 129 ms
41,168 KB
testcase_11 AC 119 ms
40,236 KB
testcase_12 AC 120 ms
40,244 KB
testcase_13 AC 118 ms
40,100 KB
testcase_14 AC 130 ms
41,544 KB
testcase_15 AC 129 ms
41,592 KB
testcase_16 AC 133 ms
41,388 KB
testcase_17 AC 132 ms
41,144 KB
testcase_18 AC 129 ms
41,456 KB
testcase_19 AC 128 ms
41,356 KB
testcase_20 AC 118 ms
40,256 KB
testcase_21 AC 131 ms
41,164 KB
testcase_22 AC 130 ms
41,496 KB
testcase_23 AC 130 ms
41,244 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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