結果

問題 No.285 消費税2
ユーザー ぴろずぴろず
提出日時 2015-10-09 22:21:48
言語 Java21
(openjdk 21)
結果
AC  
実行時間 167 ms / 2,000 ms
コード長 301 bytes
コンパイル時間 2,544 ms
コンパイル使用メモリ 74,508 KB
実行使用メモリ 57,280 KB
最終ジャッジ日時 2023-09-27 08:20:08
合計ジャッジ時間 7,915 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 151 ms
56,784 KB
testcase_01 AC 151 ms
57,128 KB
testcase_02 AC 153 ms
57,280 KB
testcase_03 AC 150 ms
56,656 KB
testcase_04 AC 153 ms
57,132 KB
testcase_05 AC 167 ms
56,540 KB
testcase_06 AC 151 ms
56,832 KB
testcase_07 AC 152 ms
56,928 KB
testcase_08 AC 150 ms
56,748 KB
testcase_09 AC 151 ms
56,740 KB
testcase_10 AC 150 ms
56,624 KB
testcase_11 AC 152 ms
57,172 KB
testcase_12 AC 153 ms
56,760 KB
testcase_13 AC 153 ms
56,900 KB
testcase_14 AC 151 ms
56,896 KB
testcase_15 AC 148 ms
56,812 KB
testcase_16 AC 153 ms
56,888 KB
testcase_17 AC 150 ms
56,812 KB
testcase_18 AC 149 ms
57,048 KB
testcase_19 AC 149 ms
56,892 KB
testcase_20 AC 149 ms
56,624 KB
testcase_21 AC 149 ms
57,024 KB
testcase_22 AC 149 ms
56,944 KB
testcase_23 AC 151 ms
56,880 KB
testcase_24 AC 150 ms
56,816 KB
testcase_25 AC 149 ms
57,044 KB
testcase_26 AC 150 ms
56,984 KB
testcase_27 AC 149 ms
56,812 KB
testcase_28 AC 149 ms
56,832 KB
testcase_29 AC 152 ms
56,912 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package no285;

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = String.valueOf(sc.nextLong() * 108);
		System.out.println(s.substring(0, s.length() - 2) + "." + s.substring(s.length()-2, s.length()));
	}

}
0