結果
| 問題 | No.47 ポケットを叩くとビスケットが2倍 |
| コンテスト | |
| ユーザー |
KeyAmuse
|
| 提出日時 | 2026-02-17 11:08:59 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 241 bytes |
| 記録 | |
| コンパイル時間 | 1,971 ms |
| コンパイル使用メモリ | 209,476 KB |
| 実行使用メモリ | 19,392 KB |
| 最終ジャッジ日時 | 2026-02-17 11:09:14 |
| 合計ジャッジ時間 | 14,743 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | -- * 3 |
| other | TLE * 1 -- * 20 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
long n,a=1;
cin >> n;
for(int i=0;i>-1;i++){
if(n<=a){
cout<<i;
}
a*=2;
}
return 0;
}
KeyAmuse