結果
| 問題 |
No.1672 404 Not Found
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-03-01 23:47:09 |
| 言語 | Rust (1.83.0 + proconio) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 1,000 ms |
| コード長 | 309 bytes |
| コンパイル時間 | 13,119 ms |
| コンパイル使用メモリ | 378,728 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-08 07:03:41 |
| 合計ジャッジ時間 | 14,222 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 |
ソースコード
fn read() -> usize {
let mut buf = String::new();
std::io::stdin().read_line(&mut buf).unwrap();
buf.trim().parse().unwrap()
}
fn solve(n: usize) -> &'static str {
if (400..=599).contains(&n) {
"Yes"
} else {
"No"
}
}
fn main() {
println!("{}", solve(read()));
}