結果
| 問題 | No.1672 404 Not Found |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-05-03 09:57:28 |
| 言語 | Rust (1.94.0 + proconio + num + itertools) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 1,000 ms |
| コード長 | 387 bytes |
| 記録 | |
| コンパイル時間 | 15,416 ms |
| コンパイル使用メモリ | 185,408 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-05-18 08:20:01 |
| 合計ジャッジ時間 | 15,201 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 |
ソースコード
fn getline() -> String {
let mut _ret = String::new();
std::io::stdin().read_line(&mut _ret).ok();
return _ret.trim().to_string();
}
fn main() {
let binding = getline();
let s = binding.as_str();
let check_digit = s.chars().nth(0).unwrap();
if check_digit == '4' || check_digit == '5' {
println!("Yes");
} else {
println!("No");
}
}