結果

問題 No.175 simpleDNA
ユーザー atkrymatkrym
提出日時 2016-10-24 00:17:49
言語 Java21
(openjdk 21)
結果
AC  
実行時間 133 ms / 1,000 ms
コード長 279 bytes
コンパイル時間 2,060 ms
コンパイル使用メモリ 73,832 KB
実行使用メモリ 41,324 KB
最終ジャッジ日時 2024-05-03 04:58:01
合計ジャッジ時間 4,005 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 128 ms
40,864 KB
testcase_01 AC 117 ms
40,208 KB
testcase_02 AC 117 ms
39,964 KB
testcase_03 AC 129 ms
41,224 KB
testcase_04 AC 128 ms
41,048 KB
testcase_05 AC 129 ms
40,960 KB
testcase_06 AC 133 ms
41,324 KB
testcase_07 AC 129 ms
41,112 KB
testcase_08 AC 129 ms
41,148 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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