結果
問題 |
No.175 simpleDNA
|
ユーザー |
![]() |
提出日時 | 2015-04-03 00:21:50 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 226 bytes |
コンパイル時間 | 1,226 ms |
コンパイル使用メモリ | 165,340 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-04 01:29:42 |
合計ジャッジ時間 | 1,691 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 2 WA * 4 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { int L, N; cin >> L >> N; set<string> st; for(int i=0; i<N;i++) { string s; cin >> s; st.insert(s); } cout << st.size() * pow(2.0,L-3) << endl; return 0; }