結果
問題 |
No.47 ポケットを叩くとビスケットが2倍
|
ユーザー |
![]() |
提出日時 | 2018-09-12 23:23:03 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 355 bytes |
コンパイル時間 | 386 ms |
コンパイル使用メモリ | 53,864 KB |
実行使用メモリ | 10,012 KB |
最終ジャッジ日時 | 2024-06-28 01:59:01 |
合計ジャッジ時間 | 12,858 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | -- * 3 |
other | TLE * 1 -- * 20 |
ソースコード
#include <iostream> #include <string> using namespace std; #define p(x) cout << x << endl; #define el cout << endl; int main(){ cin.tie(0); ios::sync_with_stdio(false); int n; cin >> n; int biscuit = 1; int count = 0; while(biscuit < n){ // biscuit *= 2; count += 1; } cout << count << endl; }