結果
問題 |
No.175 simpleDNA
|
ユーザー |
![]() |
提出日時 | 2015-04-04 14:43:12 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 225 bytes |
コンパイル時間 | 1,304 ms |
コンパイル使用メモリ | 159,036 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-04 01:50:39 |
合計ジャッジ時間 | 1,721 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 2 WA * 4 |
ソースコード
#include<bits/stdc++.h> using namespace std; #define rep(i,n) for(int i = 0; i < n; i++) int main() { int L, N; string S[30]; cin >> L; cin >> N; rep(i, N) cin >> S[i]; cout << 1LL * pow(2, L - 3) * N << endl; }