結果
問題 |
No.47 ポケットを叩くとビスケットが2倍
|
ユーザー |
![]() |
提出日時 | 2017-04-09 23:07:10 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 158 bytes |
コンパイル時間 | 389 ms |
コンパイル使用メモリ | 54,688 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-18 01:39:35 |
合計ジャッジ時間 | 1,172 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 21 |
ソースコード
#include <iostream> int main(void){ int N; int t=0; std::cin >> N; N--; while(N!=0){ N = N/2; t++; } std::cout << t+1 << std::endl; return 0; }