結果

問題 No.820 Power of Two
ユーザー Array_guma
提出日時 2019-04-26 21:40:16
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 180 bytes
コンパイル時間 675 ms
コンパイル使用メモリ 69,624 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-11-25 02:28:14
合計ジャッジ時間 1,007 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 7 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <algorithm>
#include <cmath>
using namespace std;


int main(){
	double n,k; cin>>n>>k;
	if(n<=k)cout<<0<<endl;
	else cout<<pow(2,n)/pow(2,k)<<endl;
}
0