結果

問題 No.169 何分かかるの!?
ユーザー fkwnw3_1243fkwnw3_1243
提出日時 2017-04-30 08:59:25
言語 Java21
(openjdk 21)
結果
AC  
実行時間 44 ms / 1,000 ms
コード長 463 bytes
コンパイル時間 1,941 ms
コンパイル使用メモリ 72,268 KB
実行使用メモリ 49,640 KB
最終ジャッジ日時 2023-10-11 23:15:50
合計ジャッジ時間 4,095 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 42 ms
49,052 KB
testcase_01 AC 41 ms
49,200 KB
testcase_02 AC 41 ms
49,328 KB
testcase_03 AC 40 ms
49,460 KB
testcase_04 AC 42 ms
49,332 KB
testcase_05 AC 42 ms
49,544 KB
testcase_06 AC 41 ms
49,612 KB
testcase_07 AC 42 ms
49,552 KB
testcase_08 AC 42 ms
49,296 KB
testcase_09 AC 42 ms
49,244 KB
testcase_10 AC 41 ms
49,292 KB
testcase_11 AC 42 ms
49,520 KB
testcase_12 AC 42 ms
49,132 KB
testcase_13 AC 43 ms
49,392 KB
testcase_14 AC 42 ms
49,264 KB
testcase_15 AC 41 ms
49,408 KB
testcase_16 AC 44 ms
49,256 KB
testcase_17 AC 43 ms
49,184 KB
testcase_18 AC 43 ms
49,256 KB
testcase_19 AC 42 ms
49,640 KB
testcase_20 AC 42 ms
49,260 KB
testcase_21 AC 43 ms
49,256 KB
testcase_22 AC 43 ms
49,320 KB
testcase_23 AC 42 ms
47,392 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

import static java.lang.System.in;

public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(in));
        double K = Integer.parseInt(reader.readLine());
        int S = Integer.parseInt(reader.readLine());
        System.out.println((int)((S / (100-K))*100));
    }
}
0