結果
問題 | No.175 simpleDNA |
ユーザー |
![]() |
提出日時 | 2016-08-15 23:23:47 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 210 bytes |
コンパイル時間 | 464 ms |
コンパイル使用メモリ | 59,404 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-07 18:03:50 |
合計ジャッジ時間 | 986 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
ソースコード
#include <iostream>#include <cmath>using namespace std;int main() {int L, N;char S[5];cin >> L >> N;for (int i = 0; i < N;i++) { cin >> S; }cout << N *(long long)pow(2, L - 3) << endl;return 0;}