結果

問題 No.57 ミリオンダイス
ユーザー fukuseifukusei
提出日時 2017-05-20 23:18:25
言語 Java19
(openjdk 21)
結果
AC  
実行時間 138 ms / 5,000 ms
コード長 285 bytes
コンパイル時間 3,755 ms
コンパイル使用メモリ 83,468 KB
実行使用メモリ 57,572 KB
最終ジャッジ日時 2023-10-19 04:16:34
合計ジャッジ時間 5,977 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 134 ms
57,188 KB
testcase_01 AC 138 ms
57,244 KB
testcase_02 AC 137 ms
57,524 KB
testcase_03 AC 137 ms
57,500 KB
testcase_04 AC 136 ms
57,516 KB
testcase_05 AC 138 ms
57,564 KB
testcase_06 AC 138 ms
57,572 KB
testcase_07 AC 137 ms
57,520 KB
testcase_08 AC 138 ms
57,540 KB
testcase_09 AC 137 ms
57,476 KB
testcase_10 AC 136 ms
57,508 KB
testcase_11 AC 135 ms
57,560 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.text.DecimalFormat;
import java.util.*; 

public class test {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		double i = sc.nextInt();
		DecimalFormat format = new DecimalFormat("0.#");
		
		System.out.println((format.format(i*3.5)));
	}
}
0