結果
問題 |
No.175 simpleDNA
|
ユーザー |
![]() |
提出日時 | 2016-02-26 20:44:12 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 387 bytes |
コンパイル時間 | 1,499 ms |
コンパイル使用メモリ | 159,488 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-22 14:02:09 |
合計ジャッジ時間 | 2,082 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
ソースコード
#include <bits/stdc++.h> #define rep(i,l,n) for(int i=l;i<n;i++) #define rer(i,l,n) for(int i=l;i<=n;i++) #define all(a) a.begin(),a.end() #define o(a) cout<<a<<endl using namespace std; typedef long long lint; typedef vector<int> vi; typedef vector<vi> vvi; typedef pair<int,int> pii; int main(){ lint l,n; cin>>l>>n; string s; rep(i,0,n) cin>>s; lint ans=n*pow(2,l-3); o(ans); }