結果
問題 |
No.47 ポケットを叩くとビスケットが2倍
|
ユーザー |
![]() |
提出日時 | 2019-02-22 17:27:39 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 203 bytes |
コンパイル時間 | 1,227 ms |
コンパイル使用メモリ | 157,328 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-11-24 17:25:29 |
合計ジャッジ時間 | 1,991 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | AC * 1 WA * 20 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; int two = 1; int ret = 0; while(two > n){ ret++; two *= 2; } cout << ret << endl; }