結果

問題 No.175 simpleDNA
ユーザー naipianaipia
提出日時 2018-05-27 21:02:56
言語 C++11
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 260 bytes
コンパイル時間 1,155 ms
コンパイル使用メモリ 161,788 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-30 07:18:56
合計ジャッジ時間 1,767 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;

int main(){
    int L,N,ans=0;
    string in;
    vector<string> s;
    cin >> L >> N;

    while(cin >> in) s.push_back(in);
    ans=N;
    for(int i=0;i<L-3;i++) ans*=2;
    cout << ans << endl;

    return 0;
}
0