結果

問題 No.47 ポケットを叩くとビスケットが2倍
ユーザー papinianuspapinianus
提出日時 2016-06-02 17:35:31
言語 PHP
(8.3.4)
結果
WA  
実行時間 -
コード長 80 bytes
コンパイル時間 84 ms
コンパイル使用メモリ 31,124 KB
実行使用メモリ 31,316 KB
最終ジャッジ日時 2024-04-16 23:13:15
合計ジャッジ時間 1,930 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 45 ms
31,136 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 41 ms
31,056 KB
testcase_04 AC 42 ms
31,312 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 42 ms
31,008 KB
testcase_08 AC 41 ms
31,052 KB
testcase_09 AC 41 ms
30,788 KB
testcase_10 AC 42 ms
31,096 KB
testcase_11 AC 42 ms
30,848 KB
testcase_12 AC 42 ms
31,124 KB
testcase_13 AC 42 ms
30,840 KB
testcase_14 AC 42 ms
30,980 KB
testcase_15 AC 41 ms
30,888 KB
testcase_16 AC 41 ms
30,992 KB
testcase_17 AC 42 ms
30,908 KB
testcase_18 AC 41 ms
30,876 KB
testcase_19 AC 42 ms
31,100 KB
testcase_20 AC 41 ms
30,944 KB
testcase_21 AC 41 ms
31,064 KB
testcase_22 AC 41 ms
31,028 KB
testcase_23 AC 42 ms
30,872 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
$dec = trim(fgets(STDIN));
$bin = decbin($dec);
echo strlen($bin).PHP_EOL;
0