結果

問題 No.56 消費税
ユーザー YOSHIYOSHI
提出日時 2021-02-25 23:43:51
言語 Java21
(openjdk 21)
結果
AC  
実行時間 66 ms / 5,000 ms
コード長 477 bytes
コンパイル時間 3,386 ms
コンパイル使用メモリ 79,172 KB
実行使用メモリ 51,476 KB
最終ジャッジ日時 2024-04-09 02:58:03
合計ジャッジ時間 6,066 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 63 ms
51,096 KB
testcase_01 AC 66 ms
51,100 KB
testcase_02 AC 63 ms
51,336 KB
testcase_03 AC 63 ms
51,392 KB
testcase_04 AC 63 ms
51,412 KB
testcase_05 AC 63 ms
51,044 KB
testcase_06 AC 63 ms
51,320 KB
testcase_07 AC 64 ms
51,012 KB
testcase_08 AC 63 ms
51,016 KB
testcase_09 AC 63 ms
51,172 KB
testcase_10 AC 63 ms
51,464 KB
testcase_11 AC 64 ms
51,252 KB
testcase_12 AC 63 ms
51,368 KB
testcase_13 AC 63 ms
51,232 KB
testcase_14 AC 63 ms
51,444 KB
testcase_15 AC 64 ms
51,312 KB
testcase_16 AC 64 ms
51,392 KB
testcase_17 AC 63 ms
51,372 KB
testcase_18 AC 63 ms
51,220 KB
testcase_19 AC 64 ms
51,040 KB
testcase_20 AC 63 ms
51,052 KB
testcase_21 AC 63 ms
51,448 KB
testcase_22 AC 65 ms
51,336 KB
testcase_23 AC 65 ms
51,476 KB
testcase_24 AC 63 ms
51,300 KB
testcase_25 AC 63 ms
51,032 KB
testcase_26 AC 66 ms
51,252 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.stream.Stream;

public class No00000056_Main {

	public static void main(String[] args) throws IOException {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        double[] arr = Stream.of(br.readLine().split(" ")).mapToDouble(Double::parseDouble).toArray();
		System.out.println((int)(arr[0]  + (int)((arr[0] * arr[1] / 100))));

	}

}
0