結果

問題 No.508 超ゆとり教育
コンテスト
ユーザー PicklesSuperior
提出日時 2018-10-21 09:42:31
言語 PHP
(8.5.4)
コンパイル:
php -l _filename_
実行:
php _filename_
結果
WA  
実行時間 -
コード長 193 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 100 ms
コンパイル使用メモリ 36,400 KB
実行使用メモリ 36,784 KB
最終ジャッジ日時 2026-05-13 11:33:54
合計ジャッジ時間 1,317 ms
ジャッジサーバーID
(参考情報)
judge1_1 / judge2_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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