結果
| 問題 | No.175 simpleDNA |
| コンテスト | |
| ユーザー |
sorafire
|
| 提出日時 | 2020-06-27 03:36:25 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 1,000 ms |
| コード長 | 303 bytes |
| 記録 | |
| コンパイル時間 | 1,187 ms |
| コンパイル使用メモリ | 179,644 KB |
| 実行使用メモリ | 6,144 KB |
| 最終ジャッジ日時 | 2026-03-26 15:20:49 |
| 合計ジャッジ時間 | 1,778 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 |
ソースコード
#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;
}
sorafire