結果

問題 No.57 ミリオンダイス
ユーザー soujikisoujiki
提出日時 2015-04-29 17:50:47
言語 Java21
(openjdk 21)
結果
AC  
実行時間 122 ms / 5,000 ms
コード長 243 bytes
コンパイル時間 3,299 ms
コンパイル使用メモリ 72,292 KB
実行使用メモリ 56,692 KB
最終ジャッジ日時 2023-08-08 17:43:49
合計ジャッジ時間 5,446 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 121 ms
56,256 KB
testcase_01 AC 120 ms
55,828 KB
testcase_02 AC 122 ms
56,092 KB
testcase_03 AC 120 ms
56,072 KB
testcase_04 AC 121 ms
55,592 KB
testcase_05 AC 121 ms
56,148 KB
testcase_06 AC 121 ms
56,692 KB
testcase_07 AC 121 ms
55,988 KB
testcase_08 AC 120 ms
56,432 KB
testcase_09 AC 121 ms
56,288 KB
testcase_10 AC 121 ms
56,008 KB
testcase_11 AC 120 ms
55,948 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Yukicoder_57{
	public static void main(String[] args){
		Scanner stdIn = new Scanner(System.in);
		int N = stdIn.nextInt();
		double ex = 0;

		ex = 21.0*(double)N/6.0;

		System.out.printf("%.2f\n",ex);
	}
}
0