結果
| 問題 | No.431 死亡フラグ |
| コンテスト | |
| ユーザー |
cra77756176
|
| 提出日時 | 2022-11-23 20:05:01 |
| 言語 | Rust (1.97.1 + proconio + num + itertools) |
| 結果 |
AC
|
| 実行時間 | 0 ms / 2,000 ms |
| + 998µs | |
| コード長 | 403 bytes |
| 記録 | |
| コンパイル時間 | 1,832 ms |
| コンパイル使用メモリ | 178,412 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2026-09-03 15:31:22 |
| 合計ジャッジ時間 | 4,097 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 16 |
ソースコード
use std::io::{self, BufRead};
fn main() {
io::stdin().lock().lines().for_each(|l| {
let f = l
.unwrap()
.split_whitespace()
.map(|n| n.parse::<u8>().unwrap())
.collect::<Vec<_>>();
match &f[0..4] {
[1, 1, _, 0] | [1, _, 1, 0] | [_, 1, 1, 0] => println!("DEAD"),
_ => println!("SURVIVED"),
}
});
}
cra77756176