結果
| 問題 |
No.47 ポケットを叩くとビスケットが2倍
|
| ユーザー |
mkan
|
| 提出日時 | 2017-04-17 12:55:33 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 426 bytes |
| コンパイル時間 | 517 ms |
| コンパイル使用メモリ | 64,696 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-19 05:21:04 |
| 合計ジャッジ時間 | 1,217 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
ソースコード
#include <iostream>
#include <string>
#include <algorithm>
#include <queue>
#include <vector>
#include <cstdio>
#include <cmath>
#include <cctype>
#define rep(i,a,b) for(int i=(a);i<b;i++)
#define INF 1000000000
#define MAX_N 105
#define X 1000000007
using namespace std;
bool debug=false;
int main(){
int cnt=0,n;
long long bis=1;
cin>>n;
for(cnt=0;bis<n;cnt++){
bis*=2;
}
cout<<cnt<<endl;
return 0;
}
mkan