結果

問題 No.175 simpleDNA
ユーザー samplelpmassamplelpmas
提出日時 2016-11-14 03:09:03
言語 Java21
(openjdk 21)
結果
AC  
実行時間 132 ms / 1,000 ms
コード長 269 bytes
コンパイル時間 2,038 ms
コンパイル使用メモリ 71,700 KB
実行使用メモリ 56,004 KB
最終ジャッジ日時 2023-08-17 04:32:45
合計ジャッジ時間 3,985 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 128 ms
55,892 KB
testcase_01 AC 132 ms
55,924 KB
testcase_02 AC 125 ms
56,004 KB
testcase_03 AC 125 ms
55,704 KB
testcase_04 AC 124 ms
55,712 KB
testcase_05 AC 124 ms
56,000 KB
testcase_06 AC 125 ms
55,644 KB
testcase_07 AC 128 ms
55,732 KB
testcase_08 AC 127 ms
55,744 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        int L = sc.nextInt();
        long N = sc.nextLong();
        System.out.println((int) Math.pow(2, L - 3) * N);

    }

}
0