結果
| 問題 |
No.820 Power of Two
|
| コンテスト | |
| ユーザー |
iceman
|
| 提出日時 | 2019-04-26 21:43:15 |
| 言語 | C++17(clang) (17.0.6 + boost 1.87.0) |
| 結果 |
TLE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 211 bytes |
| コンパイル時間 | 689 ms |
| コンパイル使用メモリ | 125,184 KB |
| 実行使用メモリ | 10,496 KB |
| 最終ジャッジ日時 | 2024-11-30 14:03:17 |
| 合計ジャッジ時間 | 4,326 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 TLE * 1 |
ソースコード
#include <iostream>
#include <math.h>
using namespace std;
int main(void){
// Your code here!
double n , k;
long long i = 1;
cin >> n >> k;
for(;powl(2,k)*i<=powl(2,n);i++);
cout<<i-1;
}
iceman