結果

問題 No.175 simpleDNA
ユーザー Mcpu3
提出日時 2018-09-19 23:47:37
言語 Java
(openjdk 23)
結果
AC  
実行時間 127 ms / 1,000 ms
コード長 255 bytes
コンパイル時間 1,712 ms
コンパイル使用メモリ 73,968 KB
実行使用メモリ 41,728 KB
最終ジャッジ日時 2024-07-18 08:22:28
合計ジャッジ時間 3,305 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

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