結果

問題 No.175 simpleDNA
ユーザー Yang33
提出日時 2016-01-06 11:34:36
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 179 bytes
コンパイル時間 465 ms
コンパイル使用メモリ 58,204 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-09-19 12:08:42
合計ジャッジ時間 935 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 2 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<cmath>
using namespace std;
int main(void)
{
	int s, n;
	long double ans;

	cin >> s >> n;
	ans = n*pow(2, s - 3);
	cout << ans << endl;
	
	return 0;
}
0