結果

問題 No.169 何分かかるの!?
ユーザー chiho_miyakochiho_miyako
提出日時 2015-04-05 23:33:01
言語 Java19
(openjdk 21)
結果
AC  
実行時間 126 ms / 1,000 ms
コード長 308 bytes
コンパイル時間 2,472 ms
コンパイル使用メモリ 71,252 KB
実行使用メモリ 56,212 KB
最終ジャッジ日時 2023-09-17 04:42:40
合計ジャッジ時間 6,741 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 124 ms
55,976 KB
testcase_01 AC 124 ms
55,368 KB
testcase_02 AC 123 ms
55,972 KB
testcase_03 AC 125 ms
56,100 KB
testcase_04 AC 124 ms
56,092 KB
testcase_05 AC 124 ms
55,684 KB
testcase_06 AC 125 ms
56,044 KB
testcase_07 AC 125 ms
55,660 KB
testcase_08 AC 123 ms
56,068 KB
testcase_09 AC 124 ms
56,092 KB
testcase_10 AC 123 ms
55,740 KB
testcase_11 AC 123 ms
55,908 KB
testcase_12 AC 125 ms
55,604 KB
testcase_13 AC 124 ms
55,556 KB
testcase_14 AC 123 ms
56,008 KB
testcase_15 AC 125 ms
56,156 KB
testcase_16 AC 126 ms
56,024 KB
testcase_17 AC 123 ms
55,796 KB
testcase_18 AC 125 ms
56,032 KB
testcase_19 AC 126 ms
55,872 KB
testcase_20 AC 125 ms
56,084 KB
testcase_21 AC 125 ms
55,992 KB
testcase_22 AC 125 ms
56,212 KB
testcase_23 AC 125 ms
55,376 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner koko = new Scanner (System.in);
        int k = koko.nextInt();
        int s = koko.nextInt();
        int a = (int)Math.floor(100*s/(100-k));
        System.out.println(a);
    }
}
0