結果

問題 No.175 simpleDNA
ユーザー alpha_virginis
提出日時 2015-05-24 15:18:44
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 293 bytes
コンパイル時間 1,174 ms
コンパイル使用メモリ 158,424 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-07-06 06:46:47
合計ジャッジ時間 1,553 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 2 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

inline long nextInt(void) {
  long temp;
  std::cin >> temp;
  return temp;
}

int main() {

  int L, N;
  std::string str;

  std::cin >> L >> N;
  for(int i = 0; i < N; ++i) {
    std::cin >> str;
  }

  std::cout << pow(2, (L-3)) * N << std::endl;

  return 0;
}

0