結果

問題 No.394 ハーフパイプ(1)
ユーザー papinianuspapinianus
提出日時 2016-07-25 12:50:14
言語 PHP
(8.3.4)
結果
WA  
実行時間 -
コード長 273 bytes
コンパイル時間 71 ms
コンパイル使用メモリ 30,868 KB
実行使用メモリ 31,144 KB
最終ジャッジ日時 2024-04-24 08:53:36
合計ジャッジ時間 952 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 34 ms
30,680 KB
testcase_01 AC 32 ms
30,552 KB
testcase_02 AC 32 ms
30,664 KB
testcase_03 AC 35 ms
30,440 KB
testcase_04 AC 35 ms
30,724 KB
testcase_05 AC 37 ms
30,572 KB
testcase_06 AC 33 ms
30,908 KB
testcase_07 WA -
testcase_08 AC 34 ms
30,812 KB
testcase_09 AC 33 ms
30,724 KB
testcase_10 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
$points = explode(" ", trim(fgets(STDIN)));
$max = max($points);
$min = min($points);
unset($points[array_search($max, $points)]);
unset($points[array_search($min, $points)]);
echo substr(array_sum($points)*25,0,-2).".".substr(array_sum($points)*25,-2);
echo PHP_EOL;
0