結果

問題 No.175 simpleDNA
ユーザー fal_rndfal_rnd
提出日時 2018-04-18 08:45:00
言語 Java21
(openjdk 21)
結果
AC  
実行時間 115 ms / 1,000 ms
コード長 280 bytes
コンパイル時間 1,851 ms
コンパイル使用メモリ 71,236 KB
実行使用メモリ 56,308 KB
最終ジャッジ日時 2023-09-09 11:19:09
合計ジャッジ時間 3,713 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 115 ms
55,692 KB
testcase_01 AC 114 ms
55,912 KB
testcase_02 AC 114 ms
56,196 KB
testcase_03 AC 114 ms
55,628 KB
testcase_04 AC 113 ms
56,020 KB
testcase_05 AC 114 ms
56,308 KB
testcase_06 AC 114 ms
56,228 KB
testcase_07 AC 115 ms
55,872 KB
testcase_08 AC 113 ms
55,732 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
class Main {
    static Scanner s=new Scanner(System.in);
    static int gInt(){return Integer.parseInt(s.next());}
    public static void main(String[] args) throws Exception {
        long n=gInt(),l=gInt();
        System.out.println((1<<(n-3))*l);
    }
}
0