結果

問題 No.169 何分かかるの!?
ユーザー m4s4k1ch1m4s4k1ch1
提出日時 2015-05-28 15:42:09
言語 Java19
(openjdk 21)
結果
AC  
実行時間 44 ms / 1,000 ms
コード長 419 bytes
コンパイル時間 3,339 ms
コンパイル使用メモリ 72,148 KB
実行使用メモリ 49,436 KB
最終ジャッジ日時 2023-09-20 17:07:55
合計ジャッジ時間 4,199 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 43 ms
49,256 KB
testcase_01 AC 43 ms
49,308 KB
testcase_02 AC 43 ms
48,992 KB
testcase_03 AC 43 ms
49,180 KB
testcase_04 AC 44 ms
49,356 KB
testcase_05 AC 44 ms
49,048 KB
testcase_06 AC 43 ms
48,996 KB
testcase_07 AC 44 ms
49,320 KB
testcase_08 AC 42 ms
49,172 KB
testcase_09 AC 43 ms
49,112 KB
testcase_10 AC 42 ms
49,244 KB
testcase_11 AC 43 ms
49,064 KB
testcase_12 AC 43 ms
49,384 KB
testcase_13 AC 43 ms
49,436 KB
testcase_14 AC 42 ms
49,172 KB
testcase_15 AC 43 ms
49,260 KB
testcase_16 AC 42 ms
49,020 KB
testcase_17 AC 43 ms
49,180 KB
testcase_18 AC 42 ms
49,156 KB
testcase_19 AC 43 ms
49,068 KB
testcase_20 AC 43 ms
49,176 KB
testcase_21 AC 42 ms
49,156 KB
testcase_22 AC 42 ms
49,152 KB
testcase_23 AC 43 ms
49,048 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
	public static void main(String args[]) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		int p = Integer.parseInt(line);
		line = br.readLine();
		int t = Integer.parseInt(line);
		System.out.println((int)Math.floor(t / (double)((100 - p)) * 100));
	}
}
0