結果

問題 No.285 消費税2
ユーザー AoiroFukurouAoiroFukurou
提出日時 2015-11-30 15:11:48
言語 Java19
(openjdk 21)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 219 bytes
コンパイル時間 3,236 ms
コンパイル使用メモリ 72,304 KB
実行使用メモリ 56,176 KB
最終ジャッジ日時 2023-10-12 05:59:33
合計ジャッジ時間 8,581 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
55,716 KB
testcase_01 AC 121 ms
55,716 KB
testcase_02 AC 123 ms
55,844 KB
testcase_03 AC 125 ms
55,512 KB
testcase_04 AC 123 ms
55,980 KB
testcase_05 AC 127 ms
55,892 KB
testcase_06 AC 123 ms
55,772 KB
testcase_07 AC 122 ms
55,480 KB
testcase_08 AC 122 ms
55,720 KB
testcase_09 AC 123 ms
55,944 KB
testcase_10 AC 124 ms
55,564 KB
testcase_11 AC 122 ms
55,456 KB
testcase_12 AC 122 ms
56,176 KB
testcase_13 AC 121 ms
55,892 KB
testcase_14 AC 122 ms
55,992 KB
testcase_15 AC 120 ms
55,648 KB
testcase_16 AC 122 ms
56,124 KB
testcase_17 AC 126 ms
56,036 KB
testcase_18 AC 121 ms
55,440 KB
testcase_19 AC 130 ms
55,768 KB
testcase_20 AC 130 ms
55,540 KB
testcase_21 AC 131 ms
55,716 KB
testcase_22 WA -
testcase_23 WA -
testcase_24 AC 130 ms
55,916 KB
testcase_25 AC 129 ms
55,572 KB
testcase_26 AC 129 ms
55,764 KB
testcase_27 AC 127 ms
55,708 KB
testcase_28 AC 130 ms
55,744 KB
testcase_29 AC 129 ms
55,696 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class No_285 {
public static void main(String[] args) {
	Scanner sc = new Scanner(System.in);
	long D = sc.nextLong();
	double n = D + ((double)D / 100 * 8);
	System.out.println(n);
}
}
0