結果
問題 |
No.820 Power of Two
|
ユーザー |
![]() |
提出日時 | 2019-07-20 20:41:45 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 171 bytes |
コンパイル時間 | 2,117 ms |
コンパイル使用メモリ | 164,688 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-30 11:13:00 |
合計ジャッジ時間 | 3,188 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 |
ソースコード
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { int N, K; cin >> N >> K; cout << (int)(pow(2, N) / pow(2, K)) << "\n"; return 0; }