結果
| 問題 | No.446 ゆきこーだーの雨と雪 (1) |
| コンテスト | |
| ユーザー |
cra77756176
|
| 提出日時 | 2022-12-10 22:28:41 |
| 言語 | Rust (1.97.1 + proconio + num + itertools + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 0 ms / 2,000 ms |
| + 830µs | |
| コード長 | 427 bytes |
| 記録 | |
| コンパイル時間 | 427 ms |
| コンパイル使用メモリ | 179,840 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2026-09-17 09:58:06 |
| 合計ジャッジ時間 | 2,840 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 13 |
ソースコード
fn main() {
let mut xx = String::new();
std::io::Read::read_to_string(&mut std::io::stdin(), &mut xx).ok();
let xx: Vec<&str> = xx.split_whitespace().collect();
for x in xx {
match x.parse::<i64>() {
Ok(n) if (0..=12345).contains(&n) && n.to_string() == x => {}
_ => {
println!("NG");
return;
}
}
}
println!("OK");
}
cra77756176