結果

問題 No.56 消費税
ユーザー papipenpapipen
提出日時 2017-03-26 01:45:31
言語 Java21
(openjdk 21)
結果
AC  
実行時間 127 ms / 5,000 ms
コード長 250 bytes
コンパイル時間 1,941 ms
コンパイル使用メモリ 71,348 KB
実行使用メモリ 56,172 KB
最終ジャッジ日時 2023-09-25 03:57:15
合計ジャッジ時間 6,642 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 124 ms
53,908 KB
testcase_01 AC 126 ms
55,664 KB
testcase_02 AC 123 ms
55,580 KB
testcase_03 AC 124 ms
55,996 KB
testcase_04 AC 124 ms
55,776 KB
testcase_05 AC 124 ms
55,836 KB
testcase_06 AC 123 ms
56,000 KB
testcase_07 AC 123 ms
55,644 KB
testcase_08 AC 123 ms
56,172 KB
testcase_09 AC 122 ms
55,424 KB
testcase_10 AC 123 ms
55,368 KB
testcase_11 AC 124 ms
55,616 KB
testcase_12 AC 123 ms
56,052 KB
testcase_13 AC 124 ms
55,480 KB
testcase_14 AC 124 ms
55,888 KB
testcase_15 AC 124 ms
55,448 KB
testcase_16 AC 124 ms
55,976 KB
testcase_17 AC 126 ms
55,796 KB
testcase_18 AC 123 ms
55,864 KB
testcase_19 AC 127 ms
55,704 KB
testcase_20 AC 126 ms
55,600 KB
testcase_21 AC 125 ms
55,872 KB
testcase_22 AC 124 ms
56,140 KB
testcase_23 AC 126 ms
55,640 KB
testcase_24 AC 126 ms
55,608 KB
testcase_25 AC 122 ms
55,340 KB
testcase_26 AC 125 ms
55,948 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
class Syohizei{
  public static void main(String args[]){
    Scanner s = new Scanner(System.in);
    int D = s.nextInt();
    int P = s.nextInt();
    int result = D * (P + 100) / 100;
    System.out.println(result);
  }
}
0