結果
| 問題 | No.1591 Two Digits |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-03-01 14:45:28 |
| 言語 | Rust (1.94.0 + proconio + num + itertools) |
| 結果 |
AC
|
| 実行時間 | 0 ms / 1,000 ms |
| + 768µs | |
| コード長 | 315 bytes |
| 記録 | |
| コンパイル時間 | 18,820 ms |
| コンパイル使用メモリ | 187,896 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-08-11 18:24:08 |
| 合計ジャッジ時間 | 2,464 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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()));
}