結果

問題 No.175 simpleDNA
ユーザー shinwisteriashinwisteria
提出日時 2019-03-17 16:10:30
言語 Java21
(openjdk 21)
結果
AC  
実行時間 124 ms / 1,000 ms
コード長 240 bytes
コンパイル時間 3,535 ms
コンパイル使用メモリ 72,548 KB
実行使用メモリ 56,424 KB
最終ジャッジ日時 2023-09-21 08:35:24
合計ジャッジ時間 5,013 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 124 ms
55,596 KB
testcase_01 AC 123 ms
55,764 KB
testcase_02 AC 123 ms
56,096 KB
testcase_03 AC 124 ms
56,112 KB
testcase_04 AC 123 ms
55,812 KB
testcase_05 AC 124 ms
55,824 KB
testcase_06 AC 124 ms
56,424 KB
testcase_07 AC 124 ms
54,240 KB
testcase_08 AC 123 ms
55,808 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class No175 {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int l = s.nextInt() , n = s.nextInt();
		s.close();

		System.out.println((int)Math.pow(2, l-3) * n);

	}

}
0