結果

問題 No.285 消費税2
ユーザー marumaru
提出日時 2016-03-24 02:30:59
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 237 bytes
コンパイル時間 3,500 ms
コンパイル使用メモリ 74,048 KB
実行使用メモリ 56,092 KB
最終ジャッジ日時 2024-04-09 21:18:43
合計ジャッジ時間 7,057 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 109 ms
54,204 KB
testcase_01 AC 106 ms
54,348 KB
testcase_02 AC 97 ms
53,104 KB
testcase_03 AC 98 ms
53,136 KB
testcase_04 AC 106 ms
53,960 KB
testcase_05 AC 107 ms
54,104 KB
testcase_06 AC 108 ms
54,220 KB
testcase_07 AC 106 ms
54,336 KB
testcase_08 AC 112 ms
54,240 KB
testcase_09 AC 109 ms
53,692 KB
testcase_10 AC 112 ms
54,260 KB
testcase_11 AC 108 ms
54,056 KB
testcase_12 AC 117 ms
54,276 KB
testcase_13 AC 116 ms
54,100 KB
testcase_14 AC 112 ms
53,888 KB
testcase_15 AC 105 ms
53,644 KB
testcase_16 AC 112 ms
53,900 KB
testcase_17 AC 98 ms
53,060 KB
testcase_18 AC 107 ms
54,092 KB
testcase_19 AC 111 ms
54,112 KB
testcase_20 AC 102 ms
52,720 KB
testcase_21 AC 106 ms
52,944 KB
testcase_22 WA -
testcase_23 WA -
testcase_24 AC 106 ms
54,280 KB
testcase_25 AC 106 ms
54,304 KB
testcase_26 AC 106 ms
53,904 KB
testcase_27 AC 118 ms
56,092 KB
testcase_28 AC 108 ms
53,224 KB
testcase_29 AC 119 ms
54,376 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class yukicoder_285 {
	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		
		double price = stdIn.nextLong();
		
		System.out.println((price + (price * 8 / 100)));

	}
}
0