結果
問題 |
No.47 ポケットを叩くとビスケットが2倍
|
ユーザー |
![]() |
提出日時 | 2019-06-27 22:26:02 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 223 bytes |
コンパイル時間 | 493 ms |
コンパイル使用メモリ | 65,152 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-28 14:42:32 |
合計ジャッジ時間 | 1,368 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 WA * 1 |
ソースコード
#include<iostream> #include<algorithm> using namespace std; using lint=int64_t; int main() { int N; cin >> N; int ans=0; for(int i=1;;) { i*=2; ans++; if(i>=N) break; } cout << ans << endl; return 0; }