結果

問題 No.431 死亡フラグ
ユーザー kokoa1046kokoa1046
提出日時 2017-09-03 21:28:28
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 20 ms / 2,000 ms
コード長 183 bytes
コンパイル時間 58 ms
コンパイル使用メモリ 5,344 KB
実行使用メモリ 11,816 KB
最終ジャッジ日時 2023-08-06 17:07:01
合計ジャッジ時間 1,141 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
11,716 KB
testcase_01 AC 18 ms
11,616 KB
testcase_02 AC 19 ms
11,544 KB
testcase_03 AC 19 ms
11,612 KB
testcase_04 AC 20 ms
11,800 KB
testcase_05 AC 18 ms
11,812 KB
testcase_06 AC 17 ms
11,676 KB
testcase_07 AC 18 ms
11,760 KB
testcase_08 AC 18 ms
11,556 KB
testcase_09 AC 19 ms
11,620 KB
testcase_10 AC 19 ms
11,612 KB
testcase_11 AC 18 ms
11,680 KB
testcase_12 AC 18 ms
11,692 KB
testcase_13 AC 18 ms
11,800 KB
testcase_14 AC 19 ms
11,816 KB
testcase_15 AC 18 ms
11,808 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

(define d1 (read))
(define d2 (read))
(define d3 (read))
(define s (read))
(define dsum (+ d1 d2 d3))
(if (< 0 s) (print "SURVIVED")(if (> 2 dsum) (print  "SURVIVED") (print "DEAD")))
0