結果
問題 | No.175 simpleDNA |
ユーザー |
![]() |
提出日時 | 2015-05-24 15:25:01 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 302 bytes |
コンパイル時間 | 1,084 ms |
コンパイル使用メモリ | 159,168 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-06 06:46:49 |
合計ジャッジ時間 | 1,525 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
ソースコード
#include <bits/stdc++.h>inline long nextInt(void) {long temp;std::cin >> temp;return temp;}int main() {int L, N;std::string str;std::cin >> L >> N;for(int i = 0; i < N; ++i) {std::cin >> str;}std::cout << (int)pow(2, (L-3)) * N << std::endl;return 0;}