結果

問題 No.285 消費税2
ユーザー AoiroFukurouAoiroFukurou
提出日時 2015-12-19 20:26:22
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 236 bytes
コンパイル時間 3,802 ms
コンパイル使用メモリ 74,904 KB
実行使用メモリ 57,716 KB
最終ジャッジ日時 2023-10-17 12:41:28
合計ジャッジ時間 9,536 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 137 ms
57,212 KB
testcase_01 AC 135 ms
57,484 KB
testcase_02 AC 132 ms
57,520 KB
testcase_03 AC 135 ms
57,516 KB
testcase_04 AC 134 ms
57,612 KB
testcase_05 AC 133 ms
57,480 KB
testcase_06 AC 136 ms
57,516 KB
testcase_07 AC 136 ms
57,652 KB
testcase_08 AC 133 ms
57,476 KB
testcase_09 AC 135 ms
57,584 KB
testcase_10 AC 134 ms
57,484 KB
testcase_11 AC 133 ms
57,520 KB
testcase_12 AC 135 ms
57,504 KB
testcase_13 AC 133 ms
55,712 KB
testcase_14 AC 136 ms
57,508 KB
testcase_15 AC 136 ms
57,484 KB
testcase_16 AC 137 ms
57,484 KB
testcase_17 AC 136 ms
57,440 KB
testcase_18 AC 137 ms
57,512 KB
testcase_19 AC 137 ms
57,176 KB
testcase_20 AC 132 ms
57,512 KB
testcase_21 AC 132 ms
57,460 KB
testcase_22 WA -
testcase_23 AC 135 ms
57,520 KB
testcase_24 AC 134 ms
57,472 KB
testcase_25 AC 136 ms
57,608 KB
testcase_26 AC 132 ms
57,464 KB
testcase_27 AC 133 ms
57,516 KB
testcase_28 AC 136 ms
57,500 KB
testcase_29 AC 134 ms
55,852 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 zei = 0.08;
	double n = D + ((double)D * zei);
	System.out.println(n);
}
}
0