結果

問題 No.175 simpleDNA
ユーザー samplelpmas
提出日時 2016-11-14 03:07:26
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 263 bytes
コンパイル時間 2,018 ms
コンパイル使用メモリ 73,788 KB
実行使用メモリ 41,532 KB
最終ジャッジ日時 2024-11-25 22:09:36
合計ジャッジ時間 3,738 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 6
権限があれば一括ダウンロードができます

ソースコード

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(Math.pow(2, L - 3) * N);

    }

}
0