結果

問題 No.175 simpleDNA
ユーザー sorafiresorafire
提出日時 2020-06-27 03:36:25
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 303 bytes
コンパイル時間 1,439 ms
コンパイル使用メモリ 166,336 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-05 08:11:24
合計ジャッジ時間 2,008 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;

int main(int argc, char *argv[]) { ios::sync_with_stdio(false);cin.tie(nullptr);cout.tie(nullptr);

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

  return 0;
}
0