結果
問題 |
No.47 ポケットを叩くとビスケットが2倍
|
ユーザー |
|
提出日時 | 2015-08-15 23:57:31 |
言語 | PHP (843.2) |
結果 |
RE
|
実行時間 | - |
コード長 | 116 bytes |
コンパイル時間 | 411 ms |
コンパイル使用メモリ | 32,528 KB |
実行使用メモリ | 32,784 KB |
最終ジャッジ日時 | 2024-07-18 09:46:42 |
合計ジャッジ時間 | 2,104 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 21 |
コンパイルメッセージ
No syntax errors detected in Main.php
ソースコード
<?php $n =fgets(); $temp=0; $i = 0; while(true){ $temp = pow(2,$i); if ($temp > $n) { break; } $i++; } echo $temp;