結果

問題 No.431 死亡フラグ
ユーザー takepantakepan
提出日時 2016-10-28 12:19:03
言語 PHP
(8.3.4)
結果
AC  
実行時間 16 ms / 2,000 ms
コード長 169 bytes
コンパイル時間 1,107 ms
コンパイル使用メモリ 18,440 KB
実行使用メモリ 18,772 KB
最終ジャッジ日時 2023-08-15 20:34:31
合計ジャッジ時間 2,077 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
18,700 KB
testcase_01 AC 16 ms
18,484 KB
testcase_02 AC 15 ms
18,604 KB
testcase_03 AC 15 ms
18,704 KB
testcase_04 AC 16 ms
18,600 KB
testcase_05 AC 15 ms
18,644 KB
testcase_06 AC 15 ms
18,700 KB
testcase_07 AC 15 ms
18,596 KB
testcase_08 AC 15 ms
18,712 KB
testcase_09 AC 15 ms
18,608 KB
testcase_10 AC 15 ms
18,600 KB
testcase_11 AC 15 ms
18,612 KB
testcase_12 AC 15 ms
18,712 KB
testcase_13 AC 16 ms
18,588 KB
testcase_14 AC 15 ms
18,772 KB
testcase_15 AC 15 ms
18,680 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
    fscanf(STDIN, "%d %d %d %d", $D1, $D2, $D3, $S);

    if (!$S && $D1 + $D2 + $D3 >= 2) {
        echo "DEAD\n";
    } else {
        echo "SURVIVED\n";
    }

0