結果
問題 | No.47 ポケットを叩くとビスケットが2倍 |
ユーザー |
|
提出日時 | 2018-03-27 21:11:06 |
言語 | C++11 (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 152 bytes |
コンパイル時間 | 442 ms |
コンパイル使用メモリ | 58,456 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-25 12:52:28 |
合計ジャッジ時間 | 1,189 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 WA * 1 |
ソースコード
#include<iostream> #include<cmath> using namespace std; int main(){ int N; cin >> N; cout << int(log10(N-1)/log10(2)) +1 << endl; return 0; }