結果

問題 No.431 死亡フラグ
ユーザー pirorirori_n712pirorirori_n712
提出日時 2018-06-20 01:30:33
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 60 ms / 2,000 ms
コード長 229 bytes
コンパイル時間 2,026 ms
コンパイル使用メモリ 101,448 KB
実行使用メモリ 23,912 KB
最終ジャッジ日時 2023-09-13 07:17:41
合計ジャッジ時間 3,984 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 58 ms
21,836 KB
testcase_01 AC 58 ms
19,776 KB
testcase_02 AC 59 ms
23,808 KB
testcase_03 AC 60 ms
21,740 KB
testcase_04 AC 59 ms
21,836 KB
testcase_05 AC 58 ms
21,824 KB
testcase_06 AC 59 ms
21,968 KB
testcase_07 AC 59 ms
23,912 KB
testcase_08 AC 58 ms
19,732 KB
testcase_09 AC 58 ms
21,952 KB
testcase_10 AC 59 ms
21,792 KB
testcase_11 AC 58 ms
21,836 KB
testcase_12 AC 58 ms
19,720 KB
testcase_13 AC 59 ms
21,868 KB
testcase_14 AC 59 ms
21,864 KB
testcase_15 AC 60 ms
21,828 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Linq;

class No431{
    static void Main(){
        var c=Console.ReadLine().Split().Select(n=>Int32.Parse(n)).ToList();
        Console.WriteLine((c[3]==1||c[0]+c[1]+c[2]<2)?"SURVIVED":"DEAD");
    }
}
0