結果

問題 No.175 simpleDNA
ユーザー kichirb3
提出日時 2018-03-05 01:01:04
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 303 bytes
コンパイル時間 614 ms
コンパイル使用メモリ 69,444 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-07-18 01:50:52
合計ジャッジ時間 1,139 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 2 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

// No.175 simpleDNA
// https://yukicoder.me/problems/no/175
//
#include <iostream>
#include <cmath>
#include <algorithm>
using namespace std;

int main() {
    std::cin.tie(nullptr);
    std::ios::sync_with_stdio(false);

    unsigned int L, N;
    cin >> L >> N;
    cout << pow(2, L-3) * N << endl;
}
0