結果
| 問題 | No.1591 Two Digits |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-01-11 22:40:47 |
| 言語 | Rust (1.92.0 + proconio + num) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 1,000 ms |
| コード長 | 294 bytes |
| 記録 | |
| コンパイル時間 | 28,280 ms |
| コンパイル使用メモリ | 413,948 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2026-01-11 22:41:17 |
| 合計ジャッジ時間 | 24,331 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 17 |
ソースコード
use proconio::{fastout, input};
#[fastout]
fn main() {
input! {
n: u16,
}
println!("{}", output(solve(n)))
}
fn solve(n: u16) -> bool {
n >= 10 && n <= 99
}
fn output(ans: bool) -> &'static str {
match ans {
true => "Yes",
false => "No",
}
}