結果

問題 No.169 何分かかるの!?
ユーザー YatsukuYatsuku
提出日時 2015-12-15 16:57:37
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 306 bytes
コンパイル時間 2,099 ms
コンパイル使用メモリ 71,516 KB
実行使用メモリ 56,688 KB
最終ジャッジ日時 2023-10-13 17:08:42
合計ジャッジ時間 6,621 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 136 ms
54,076 KB
testcase_01 WA -
testcase_02 AC 139 ms
56,076 KB
testcase_03 AC 140 ms
55,884 KB
testcase_04 AC 139 ms
53,964 KB
testcase_05 AC 140 ms
55,872 KB
testcase_06 AC 141 ms
56,020 KB
testcase_07 AC 139 ms
56,624 KB
testcase_08 AC 139 ms
54,508 KB
testcase_09 WA -
testcase_10 AC 141 ms
56,236 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 140 ms
56,000 KB
testcase_14 AC 140 ms
56,304 KB
testcase_15 AC 140 ms
56,176 KB
testcase_16 AC 137 ms
56,180 KB
testcase_17 AC 142 ms
56,480 KB
testcase_18 AC 139 ms
56,260 KB
testcase_19 WA -
testcase_20 AC 143 ms
56,560 KB
testcase_21 WA -
testcase_22 WA -
testcase_23 AC 140 ms
56,032 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;


class No_169 {
	public static void main(String args[]) {

		Scanner stdIn = new Scanner(System.in);

		double percents = stdIn.nextDouble();
		int minutes = stdIn.nextInt();
		double time = 1 / (1 - (percents / 100)); 
		
		System.out.println(Math.round(minutes * time));	
	}
}
0