結果
| 問題 |
No.175 simpleDNA
|
| コンテスト | |
| ユーザー |
saytakaPC
|
| 提出日時 | 2015-04-02 23:41:33 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 232 bytes |
| コンパイル時間 | 1,213 ms |
| コンパイル使用メモリ | 160,176 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-04 01:27:53 |
| 合計ジャッジ時間 | 1,690 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int i=0;i<(n);i++)
typedef long long ll;
int main(){
ll ans=0;
int l,n;
string s;
cin>>l>>n;
while(n--){
cin>>s;
ans+=pow(2.0,l-3);
}
cout<<ans<<endl;
}
saytakaPC