結果

問題 No.285 消費税2
ユーザー fal_rnd
提出日時 2017-08-25 23:37:55
言語 Java
(openjdk 23)
結果
AC  
実行時間 158 ms / 2,000 ms
コード長 530 bytes
コンパイル時間 2,642 ms
コンパイル使用メモリ 88,292 KB
実行使用メモリ 42,384 KB
最終ジャッジ日時 2024-10-15 16:14:17
合計ジャッジ時間 7,733 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 26
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.math.BigDecimal;
import java.util.Scanner;
import java.util.stream.IntStream;

public class Main{
	static IntStream REPS(int v){return IntStream.range(0,v);}
	static IntStream REPS(int l,int r){return IntStream.rangeClosed(l,r);}
	static IntStream INS(int n) {return REPS(n).map(i->getInt());}
	static Scanner s=new Scanner(System.in);
	static int getInt(){return Integer.parseInt(s.next());}

	public static void main(String[]$){
		System.out.printf("%20f",BigDecimal.valueOf(1.08).multiply(s.nextBigDecimal()));
	}
}
0