結果

問題 No.169 何分かかるの!?
ユーザー mobius_bkstmobius_bkst
提出日時 2015-04-20 18:24:40
言語 Java21
(openjdk 21)
結果
AC  
実行時間 46 ms / 1,000 ms
コード長 569 bytes
コンパイル時間 3,110 ms
コンパイル使用メモリ 72,964 KB
実行使用メモリ 49,568 KB
最終ジャッジ日時 2023-09-18 01:28:45
合計ジャッジ時間 5,451 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 43 ms
49,316 KB
testcase_01 AC 43 ms
49,044 KB
testcase_02 AC 43 ms
49,152 KB
testcase_03 AC 43 ms
49,272 KB
testcase_04 AC 44 ms
49,140 KB
testcase_05 AC 43 ms
49,188 KB
testcase_06 AC 43 ms
49,448 KB
testcase_07 AC 43 ms
49,452 KB
testcase_08 AC 43 ms
49,208 KB
testcase_09 AC 44 ms
49,352 KB
testcase_10 AC 46 ms
49,100 KB
testcase_11 AC 44 ms
49,288 KB
testcase_12 AC 43 ms
49,444 KB
testcase_13 AC 44 ms
48,972 KB
testcase_14 AC 45 ms
49,100 KB
testcase_15 AC 44 ms
49,152 KB
testcase_16 AC 43 ms
48,964 KB
testcase_17 AC 43 ms
49,308 KB
testcase_18 AC 44 ms
49,280 KB
testcase_19 AC 42 ms
49,000 KB
testcase_20 AC 43 ms
49,316 KB
testcase_21 AC 42 ms
49,352 KB
testcase_22 AC 42 ms
49,568 KB
testcase_23 AC 43 ms
49,232 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

public class No169 {

    public static void main(String[] args) {
        try {
            BufferedReader br = new BufferedReader(new InputStreamReader(
                    System.in));
            double K = Integer.parseInt(br.readLine());
            double S = Integer.parseInt(br.readLine());
            int full = (int) ((100 * S) / (100 - K));

            System.out.println(full);
        } catch (Exception e) {
            System.err.println("Error:" + e.getMessage());
        }
    }

}
0