結果

問題 No.175 simpleDNA
ユーザー chiho_miyakochiho_miyako
提出日時 2015-04-05 22:47:07
言語 Java21
(openjdk 21)
結果
AC  
実行時間 108 ms / 1,000 ms
コード長 300 bytes
コンパイル時間 2,167 ms
コンパイル使用メモリ 72,060 KB
実行使用メモリ 56,276 KB
最終ジャッジ日時 2023-09-17 04:37:10
合計ジャッジ時間 3,832 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 105 ms
55,900 KB
testcase_01 AC 103 ms
55,648 KB
testcase_02 AC 107 ms
56,008 KB
testcase_03 AC 108 ms
55,916 KB
testcase_04 AC 106 ms
55,864 KB
testcase_05 AC 102 ms
55,880 KB
testcase_06 AC 102 ms
56,276 KB
testcase_07 AC 103 ms
56,144 KB
testcase_08 AC 104 ms
55,992 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner koko = new Scanner (System.in);
        int n = koko.nextInt();
        int l = koko.nextInt();
        int a = l*(int)Math.pow(2,n-3);
        System.out.println(a);
    }
}
0