結果
| 問題 | No.1591 Two Digits |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-03-01 14:45:28 |
| 言語 | Rust (1.83.0 + proconio) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 1,000 ms |
| コード長 | 315 bytes |
| 記録 | |
| コンパイル時間 | 19,058 ms |
| コンパイル使用メモリ | 382,120 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-07 20:48:06 |
| 合計ジャッジ時間 | 20,599 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 17 |
ソースコード
fn read() -> usize {
let mut buf: String = String::new();
std::io::stdin().read_line(&mut buf).unwrap();
buf.trim().parse().unwrap()
}
fn solve(n: usize) -> &'static str {
if (10..=99).contains(&n) {
"Yes"
} else {
"No"
}
}
fn main() {
println!("{}", solve(read()));
}