結果
問題 |
No.47 ポケットを叩くとビスケットが2倍
|
ユーザー |
![]() |
提出日時 | 2019-02-18 14:40:23 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 263 bytes |
コンパイル時間 | 468 ms |
コンパイル使用メモリ | 54,712 KB |
実行使用メモリ | 10,016 KB |
最終ジャッジ日時 | 2024-10-06 04:48:17 |
合計ジャッジ時間 | 12,815 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | -- * 3 |
other | TLE * 1 -- * 20 |
ソースコード
#include <iostream> int main() { int num = 0; int sum = 1; int N; std::cin >> N; while(true) { if(sum >= N) { std::cout << num << std::endl; } num++; sum *= 2; } return 0; }