結果
問題 |
No.47 ポケットを叩くとビスケットが2倍
|
ユーザー |
![]() |
提出日時 | 2018-09-17 19:18:04 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 158 bytes |
コンパイル時間 | 107 ms |
コンパイル使用メモリ | 28,416 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-18 07:47:05 |
合計ジャッジ時間 | 831 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | AC * 1 WA * 20 |
ソースコード
#include <stdio.h> #include <math.h> int main() { int n; int ans; scanf("%d",&n); ans=log2(n+1)-1; printf("%d",ans); return 0; }