結果
問題 | No.175 simpleDNA |
ユーザー |
![]() |
提出日時 | 2015-12-20 10:59:20 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 55 ms / 1,000 ms |
コード長 | 422 bytes |
コンパイル時間 | 2,044 ms |
コンパイル使用メモリ | 75,344 KB |
実行使用メモリ | 50,224 KB |
最終ジャッジ日時 | 2024-09-17 11:55:42 |
合計ジャッジ時間 | 3,212 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
ソースコード
import java.io.*;import java.util.*;class Main175 {public static void out (Object out) {System.out.println(out);}public static void main (String[] args) throws IOException {BufferedReader br =new BufferedReader(new InputStreamReader(System.in));int l = Integer.parseInt(br.readLine());int n = Integer.parseInt(br.readLine());br.readLine();out((int)Math.pow(2, l - 3) * n);}}