結果
| 問題 |
No.175 simpleDNA
|
| コンテスト | |
| ユーザー |
spacenaut
|
| 提出日時 | 2016-05-22 16:11:45 |
| 言語 | Java (openjdk 23) |
| 結果 |
AC
|
| 実行時間 | 132 ms / 1,000 ms |
| コード長 | 300 bytes |
| コンパイル時間 | 2,013 ms |
| コンパイル使用メモリ | 73,996 KB |
| 実行使用メモリ | 41,408 KB |
| 最終ジャッジ日時 | 2024-10-06 20:33:24 |
| 合計ジャッジ時間 | 3,837 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 |
ソースコード
import java.util.*;
class No0175{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int l = sc.nextInt() - 3;
int n = sc.nextInt();
int sum = (int)Math.pow(2, l) * n;
String s;
for(int i = 0 ; i < n; i++){
s = sc.next();
}
System.out.println(sum);
}
}
spacenaut