結果
問題 |
No.431 死亡フラグ
|
ユーザー |
![]() |
提出日時 | 2016-10-27 23:34:20 |
言語 | Java (openjdk 23) |
結果 |
WA
|
実行時間 | - |
コード長 | 268 bytes |
コンパイル時間 | 2,411 ms |
コンパイル使用メモリ | 74,236 KB |
実行使用メモリ | 41,552 KB |
最終ジャッジ日時 | 2024-11-24 04:59:02 |
合計ジャッジ時間 | 4,742 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 12 WA * 4 |
ソースコード
import java.util.*; class A { static Scanner s = new Scanner(System.in); public static void main(String[] args) { int f = s.nextInt()+s.nextInt()+s.nextInt(); if(s.nextInt()!=1 && f>=2) { System.out.println("DEAD"); } System.out.println("SURVIVED"); } }