結果
問題 | No.175 simpleDNA |
ユーザー |
![]() |
提出日時 | 2015-07-25 17:56:25 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 342 bytes |
コンパイル時間 | 1,248 ms |
コンパイル使用メモリ | 157,148 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-08 13:48:10 |
合計ジャッジ時間 | 1,902 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
ソースコード
#include <bits/stdc++.h>using namespace std;#define repi(i,a,b) for(int i=(int)(a);i<(int)(b);i++)#define rep(i,n) repi(i,0,n)int n, m;int solve() {return m*(1<<(n-3));}void input() {cin >> n >> m;}int main() {cin.tie(0);ios_base::sync_with_stdio(0);input();cout << solve() << endl;return 0;}