結果
| 問題 |
No.508 超ゆとり教育
|
| コンテスト | |
| ユーザー |
PicklesSuperior
|
| 提出日時 | 2018-10-21 09:45:55 |
| 言語 | PHP (843.2) |
| 結果 |
AC
|
| 実行時間 | 43 ms / 2,000 ms |
| コード長 | 259 bytes |
| コンパイル時間 | 131 ms |
| コンパイル使用メモリ | 32,016 KB |
| 実行使用メモリ | 32,272 KB |
| 最終ジャッジ日時 | 2024-11-19 03:16:58 |
| 合計ジャッジ時間 | 1,050 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 7 |
コンパイルメッセージ
No syntax errors detected in Main.php
ソースコード
<?php
$input = trim(fgets(STDIN));
#print($input . "\n");
$square = ((float)$input)/3.0;
#print($square . "\n");
$ans = (int) sqrt((float)$square);
if($ans == 0){
print(1 . "\n");
}else{
print($ans . "\n");
}
?>
PicklesSuperior