結果

問題 No.169 何分かかるの!?
ユーザー yamax3232yamax3232
提出日時 2018-03-14 13:30:38
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 310 bytes
コンパイル時間 2,031 ms
コンパイル使用メモリ 73,748 KB
実行使用メモリ 41,740 KB
最終ジャッジ日時 2024-05-05 13:15:09
合計ジャッジ時間 6,201 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 109 ms
41,076 KB
testcase_02 AC 121 ms
41,584 KB
testcase_03 WA -
testcase_04 AC 122 ms
41,164 KB
testcase_05 AC 112 ms
41,168 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 133 ms
41,736 KB
testcase_09 AC 124 ms
41,112 KB
testcase_10 AC 113 ms
40,604 KB
testcase_11 AC 121 ms
41,676 KB
testcase_12 AC 133 ms
41,504 KB
testcase_13 AC 122 ms
41,732 KB
testcase_14 AC 121 ms
41,672 KB
testcase_15 AC 132 ms
41,404 KB
testcase_16 AC 123 ms
41,104 KB
testcase_17 AC 118 ms
41,232 KB
testcase_18 WA -
testcase_19 AC 122 ms
41,640 KB
testcase_20 AC 110 ms
41,184 KB
testcase_21 AC 123 ms
41,496 KB
testcase_22 AC 128 ms
41,532 KB
testcase_23 AC 123 ms
41,420 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main{

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner kb=new Scanner(System.in);
		double p=kb.nextDouble()/100;
		double m=kb.nextDouble();
		//m=1-pだけの作業
		System.out.println((int)(m/(1-p)));
	}
}
0