結果
| 問題 | No.431 死亡フラグ |
| コンテスト | |
| ユーザー |
fal_rnd
|
| 提出日時 | 2016-10-27 23:35:54 |
| 言語 | Java (openjdk 25.0.2) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 272 bytes |
| 記録 | |
| コンパイル時間 | 2,151 ms |
| コンパイル使用メモリ | 82,200 KB |
| 実行使用メモリ | 42,276 KB |
| 最終ジャッジ日時 | 2026-05-18 02:51:37 |
| 合計ジャッジ時間 | 5,670 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");
}
System.out.println("SURVIVED");
}
}
fal_rnd