結果

問題 No.394 ハーフパイプ(1)
ユーザー takoshi186takoshi186
提出日時 2016-08-01 14:26:46
言語 PHP
(8.3.4)
結果
AC  
実行時間 44 ms / 2,000 ms
コード長 206 bytes
コンパイル時間 172 ms
コンパイル使用メモリ 32,400 KB
実行使用メモリ 31,508 KB
最終ジャッジ日時 2024-04-24 13:29:25
合計ジャッジ時間 1,142 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 44 ms
31,280 KB
testcase_01 AC 41 ms
31,104 KB
testcase_02 AC 41 ms
31,032 KB
testcase_03 AC 41 ms
31,268 KB
testcase_04 AC 44 ms
31,148 KB
testcase_05 AC 40 ms
31,124 KB
testcase_06 AC 41 ms
30,888 KB
testcase_07 AC 41 ms
30,988 KB
testcase_08 AC 41 ms
31,048 KB
testcase_09 AC 42 ms
31,508 KB
testcase_10 AC 40 ms
31,364 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
    // $text = "0 89 15 74 29 33";
    // $score = explode(" ", $text);

    $score = explode(" ", trim(fgets(STDIN)));


    echo sprintf("%.2f", (array_sum($score) - max($score) - min($score) )/ 4);
0