結果

問題 No.57 ミリオンダイス
ユーザー TwinkleStar74TwinkleStar74
提出日時 2017-10-07 15:04:03
言語 Java21
(openjdk 21)
結果
AC  
実行時間 47 ms / 5,000 ms
コード長 556 bytes
コンパイル時間 3,435 ms
コンパイル使用メモリ 73,364 KB
実行使用メモリ 37,472 KB
最終ジャッジ日時 2024-04-28 12:48:14
合計ジャッジ時間 3,982 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 45 ms
37,420 KB
testcase_01 AC 47 ms
36,968 KB
testcase_02 AC 47 ms
37,024 KB
testcase_03 AC 46 ms
36,968 KB
testcase_04 AC 44 ms
37,328 KB
testcase_05 AC 44 ms
37,024 KB
testcase_06 AC 45 ms
37,428 KB
testcase_07 AC 45 ms
37,232 KB
testcase_08 AC 44 ms
37,096 KB
testcase_09 AC 44 ms
37,392 KB
testcase_10 AC 44 ms
37,208 KB
testcase_11 AC 43 ms
37,472 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