結果
問題 | No.175 simpleDNA |
ユーザー |
|
提出日時 | 2015-11-30 04:16:17 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 250 bytes |
コンパイル時間 | 495 ms |
コンパイル使用メモリ | 58,148 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-14 05:21:02 |
合計ジャッジ時間 | 956 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
ソースコード
#include <iostream>#include <cmath>using namespace std;int main(){ios::sync_with_stdio(false);int l, n;char tmp;cin >> l >> n;for(int i=0;i<4*n; ++i) cin.get();cout.precision(10);cout << pow(2, l-3)*n << "\n";return 0;}