結果

問題 No.169 何分かかるの!?
ユーザー jimanojimano
提出日時 2016-07-18 16:02:16
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 548 bytes
コンパイル時間 3,196 ms
コンパイル使用メモリ 74,836 KB
実行使用メモリ 52,596 KB
最終ジャッジ日時 2024-04-23 16:27:03
合計ジャッジ時間 5,335 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 54 ms
50,336 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 56 ms
50,276 KB
testcase_07 AC 54 ms
50,148 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

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

public class No0169 {
	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());
	        // %あたりの時間
	        int tm = S / (100 - K);
	        System.out.println(tm * 100);
	        
		} catch (IOException e) {
			e.printStackTrace();
		}
    }
}
0