結果
| 問題 | No.431 死亡フラグ |
| コンテスト | |
| ユーザー |
fal_rnd
|
| 提出日時 | 2016-10-27 23:38:38 |
| 言語 | Java (openjdk 25.0.2) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 284 bytes |
| 記録 | |
| コンパイル時間 | 1,662 ms |
| コンパイル使用メモリ | 81,744 KB |
| 実行使用メモリ | 41,912 KB |
| 最終ジャッジ日時 | 2026-05-18 02:51:47 |
| 合計ジャッジ時間 | 3,611 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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");
}else {
System.out.println("SURVIVED");
}
}
}
fal_rnd