結果

問題 No.57 ミリオンダイス
ユーザー koukonkokoukonko
提出日時 2015-12-07 17:18:48
言語 Java21
(openjdk 21)
結果
AC  
実行時間 51 ms / 5,000 ms
コード長 402 bytes
コンパイル時間 2,025 ms
コンパイル使用メモリ 74,548 KB
実行使用メモリ 50,480 KB
最終ジャッジ日時 2024-04-26 16:42:53
合計ジャッジ時間 3,330 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 51 ms
50,408 KB
testcase_01 AC 50 ms
50,468 KB
testcase_02 AC 50 ms
50,284 KB
testcase_03 AC 49 ms
50,332 KB
testcase_04 AC 50 ms
50,164 KB
testcase_05 AC 51 ms
49,964 KB
testcase_06 AC 50 ms
50,332 KB
testcase_07 AC 49 ms
50,316 KB
testcase_08 AC 49 ms
50,480 KB
testcase_09 AC 49 ms
50,272 KB
testcase_10 AC 50 ms
50,092 KB
testcase_11 AC 50 ms
50,164 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

public class Main {
	public static void main(String[] args) {
		BufferedReader buff = new BufferedReader(new InputStreamReader(System.in));

		try {
			int num = Integer.parseInt(buff.readLine());
			System.out.println(3.5 * num);
		} catch (NumberFormatException e) {

		} catch (IOException e) {

		}
	}
}
0