結果

問題 No.169 何分かかるの!?
ユーザー TwinkleStar74TwinkleStar74
提出日時 2017-10-01 02:32:54
言語 Java21
(openjdk 21)
結果
AC  
実行時間 48 ms / 1,000 ms
コード長 509 bytes
コンパイル時間 3,329 ms
コンパイル使用メモリ 75,248 KB
実行使用メモリ 37,260 KB
最終ジャッジ日時 2024-04-27 17:00:37
合計ジャッジ時間 4,459 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 43 ms
37,132 KB
testcase_01 AC 43 ms
36,968 KB
testcase_02 AC 43 ms
37,052 KB
testcase_03 AC 43 ms
37,052 KB
testcase_04 AC 42 ms
37,004 KB
testcase_05 AC 43 ms
36,928 KB
testcase_06 AC 43 ms
36,504 KB
testcase_07 AC 43 ms
37,004 KB
testcase_08 AC 45 ms
37,160 KB
testcase_09 AC 43 ms
36,904 KB
testcase_10 AC 46 ms
37,124 KB
testcase_11 AC 46 ms
36,896 KB
testcase_12 AC 45 ms
37,024 KB
testcase_13 AC 45 ms
37,260 KB
testcase_14 AC 45 ms
36,948 KB
testcase_15 AC 47 ms
36,652 KB
testcase_16 AC 48 ms
37,132 KB
testcase_17 AC 47 ms
37,068 KB
testcase_18 AC 46 ms
36,920 KB
testcase_19 AC 43 ms
36,652 KB
testcase_20 AC 43 ms
37,032 KB
testcase_21 AC 43 ms
36,896 KB
testcase_22 AC 44 ms
37,140 KB
testcase_23 AC 44 ms
37,032 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

public class No169 {

	public static void main(String[] args) {
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			int K = Integer.parseInt(br.readLine());
			int S = Integer.parseInt(br.readLine());
			System.out.println((int)Math.floor(S / (double)(100-K) * 100));
		}catch(IOException e){
			e.getStackTrace();
		}catch(NumberFormatException e){
			e.getStackTrace();
		}
	}
}
0