結果

問題 No.835 ジュース
ユーザー ShunsukeKamadaShunsukeKamada
提出日時 2019-06-16 23:07:51
言語 Java21
(openjdk 21)
結果
AC  
実行時間 126 ms / 2,000 ms
コード長 289 bytes
コンパイル時間 2,217 ms
コンパイル使用メモリ 71,076 KB
実行使用メモリ 56,044 KB
最終ジャッジ日時 2023-08-16 10:27:34
合計ジャッジ時間 4,360 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 124 ms
55,972 KB
testcase_01 AC 124 ms
55,948 KB
testcase_02 AC 123 ms
55,608 KB
testcase_03 AC 123 ms
54,040 KB
testcase_04 AC 124 ms
55,648 KB
testcase_05 AC 126 ms
56,032 KB
testcase_06 AC 124 ms
56,044 KB
testcase_07 AC 122 ms
55,748 KB
testcase_08 AC 124 ms
55,824 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double BIN_BIG = 1.5;
        Double amount = BIN_BIG*n;

        System.out.println(amount.intValue());
    }
}

0