結果

問題 No.169 何分かかるの!?
ユーザー YatsukuYatsuku
提出日時 2015-12-15 17:14:41
言語 Java21
(openjdk 21)
結果
AC  
実行時間 145 ms / 1,000 ms
コード長 274 bytes
コンパイル時間 2,010 ms
コンパイル使用メモリ 71,712 KB
実行使用メモリ 56,536 KB
最終ジャッジ日時 2023-10-13 17:08:51
合計ジャッジ時間 6,624 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 140 ms
56,044 KB
testcase_01 AC 138 ms
56,320 KB
testcase_02 AC 137 ms
54,176 KB
testcase_03 AC 138 ms
55,860 KB
testcase_04 AC 136 ms
56,024 KB
testcase_05 AC 145 ms
56,240 KB
testcase_06 AC 137 ms
56,128 KB
testcase_07 AC 138 ms
56,168 KB
testcase_08 AC 137 ms
56,452 KB
testcase_09 AC 140 ms
56,176 KB
testcase_10 AC 141 ms
55,868 KB
testcase_11 AC 145 ms
56,056 KB
testcase_12 AC 142 ms
55,860 KB
testcase_13 AC 143 ms
56,072 KB
testcase_14 AC 143 ms
56,132 KB
testcase_15 AC 143 ms
56,132 KB
testcase_16 AC 144 ms
55,632 KB
testcase_17 AC 141 ms
55,900 KB
testcase_18 AC 143 ms
56,132 KB
testcase_19 AC 142 ms
55,892 KB
testcase_20 AC 143 ms
56,536 KB
testcase_21 AC 141 ms
56,108 KB
testcase_22 AC 139 ms
56,080 KB
testcase_23 AC 140 ms
55,984 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();
		
		System.out.println((int)(minutes * 100 / (100 - percents)));	
	}
}
0