結果
問題 |
No.431 死亡フラグ
|
ユーザー |
![]() |
提出日時 | 2016-10-27 23:35:54 |
言語 | Java (openjdk 23) |
結果 |
WA
|
実行時間 | - |
コード長 | 272 bytes |
コンパイル時間 | 1,959 ms |
コンパイル使用メモリ | 74,168 KB |
実行使用メモリ | 41,736 KB |
最終ジャッジ日時 | 2024-11-24 05:00:31 |
合計ジャッジ時間 | 4,758 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 16 |
ソースコード
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<=1)) { System.out.println("DEAD"); } System.out.println("SURVIVED"); } }