結果

問題 No.508 超ゆとり教育
コンテスト
ユーザー PicklesSuperior
提出日時 2018-10-21 09:42:31
言語 PHP
(8.5.9)
コンパイル:
php -l _filename_
実行:
php _filename_
結果
WA  
実行時間 -
コード長 193 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 37 ms
コンパイル使用メモリ 38,236 KB
実行使用メモリ 38,360 KB
最終ジャッジ日時 2026-09-26 11:40:38
合計ジャッジ時間 1,305 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge3_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 6 WA * 1
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #
raw source code

<?php
    $input = trim(fgets(STDIN));
    #print($input . "\n");
    $square = ((float)$input)/3.0;
    #print($square . "\n");
    $ans = sqrt((float)$square);
    print((int)$ans . "\n");
?>
0