結果
| 問題 |
No.47 ポケットを叩くとビスケットが2倍
|
| ユーザー |
ldsyb
|
| 提出日時 | 2016-03-03 10:43:45 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 264 bytes |
| コンパイル時間 | 598 ms |
| コンパイル使用メモリ | 54,280 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-24 13:41:36 |
| 合計ジャッジ時間 | 1,392 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
ソースコード
#include <iostream>
using namespace std;
//http://www.musashinodenpa.com/arduino/ref/index.php?f=0&pos=785
int main(){
int n;
cin >> n;
for(int i = 0;i < 30;i++){
if((n - 1) >> i == 0){
cout << i << endl;
return 0;
}
}
}
ldsyb