結果

問題 No.169 何分かかるの!?
ユーザー ちよちゃんちよちゃん
提出日時 2016-05-25 17:50:50
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 365 bytes
コンパイル時間 3,529 ms
コンパイル使用メモリ 73,756 KB
実行使用メモリ 41,872 KB
最終ジャッジ日時 2024-04-16 16:41:11
合計ジャッジ時間 7,948 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 142 ms
41,724 KB
testcase_01 WA -
testcase_02 AC 151 ms
41,476 KB
testcase_03 AC 142 ms
41,576 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 139 ms
41,808 KB
testcase_07 AC 139 ms
41,388 KB
testcase_08 AC 142 ms
41,560 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 145 ms
41,296 KB
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 130 ms
40,932 KB
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 AC 144 ms
41,312 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package yukicoder;

import java.util.Scanner;

public class Yuki169 {
	
	public static void main(String[] args ) {
		Scanner scan = new Scanner(System.in);
		double k = scan.nextDouble();
		int s = scan.nextInt();
		scan.close();
		double ans1 = 100/(100-k);
		double ans2 = ans1*s;
		//System.out.println(ans2);
		System.out.println((int)Math.ceil(ans2));				
	}
}
0