結果
問題 |
No.175 simpleDNA
|
ユーザー |
|
提出日時 | 2020-06-20 10:50:37 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 1,000 ms |
コード長 | 372 bytes |
コンパイル時間 | 1,490 ms |
コンパイル使用メモリ | 94,612 KB |
最終ジャッジ日時 | 2025-01-11 08:34:22 |
ジャッジサーバーID (参考情報) |
judge2 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
ソースコード
#include <iostream> #include <vector> #include <algorithm> #include <set> #include <map> #include <math.h> #include <deque> #include <queue> using namespace std; typedef long long int ll; typedef unsigned long long int ull; int main(){ cin.tie(nullptr); ios::sync_with_stdio(false); ll n,m; cin >> n >> m; ll res=m*(1LL<<(n-3)); cout << res << endl; }