結果

問題 No.175 simpleDNA
コンテスト
ユーザー suibaka_ku
提出日時 2017-03-12 07:33:58
言語 C++14
(gcc 15.2.0 + boost 1.89.0)
コンパイル:
g++-15 -O2 -lm -std=c++14 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_
実行:
./a.out
結果
WA  
実行時間 -
コード長 333 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 444 ms
コンパイル使用メモリ 104,780 KB
実行使用メモリ 7,848 KB
最終ジャッジ日時 2026-03-11 07:13:58
合計ジャッジ時間 872 ms
ジャッジサーバーID
(参考情報)
judge2_0 / judge3_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 2 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <set>
#include <map>
#include <cmath>
#include <iomanip>
using namespace std;
using ll = long long;

int main() {
    int L, N;
    cin >> L >> N;
    for(int i=0; i<N; ++i) {
        string s; cin >> s;
    }
    cout << pow(2, L-3)*N << endl;
}
0