結果

問題 No.57 ミリオンダイス
ユーザー TwinkleStar74TwinkleStar74
提出日時 2017-10-07 15:04:03
言語 Java19
(openjdk 21)
結果
AC  
実行時間 43 ms / 5,000 ms
コード長 556 bytes
コンパイル時間 2,743 ms
コンパイル使用メモリ 71,856 KB
実行使用メモリ 49,960 KB
最終ジャッジ日時 2023-08-10 19:28:56
合計ジャッジ時間 4,070 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 43 ms
49,436 KB
testcase_01 AC 42 ms
49,456 KB
testcase_02 AC 40 ms
49,448 KB
testcase_03 AC 42 ms
49,612 KB
testcase_04 AC 41 ms
49,572 KB
testcase_05 AC 43 ms
49,396 KB
testcase_06 AC 40 ms
49,696 KB
testcase_07 AC 40 ms
49,492 KB
testcase_08 AC 39 ms
49,324 KB
testcase_09 AC 40 ms
49,856 KB
testcase_10 AC 39 ms
49,960 KB
testcase_11 AC 39 ms
49,888 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Test{
	public static void main(String[] args) {
		try{
			getAns();
		}
		catch(IOException e){
			e.getStackTrace();
		}
		catch(NumberFormatException e){
			e.getStackTrace();
		}
	}
	
	public static void getAns() throws IOException, NumberFormatException{
		double ans = 0;
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		double N = Double.parseDouble(br.readLine());
		ans = N * 3.5;
		System.out.println(ans);
	}
}
0