結果
| 問題 | No.1223 I hate Golf |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-01-15 15:06:37 |
| 言語 | Rust (1.92.0 + proconio + num) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 367 bytes |
| 記録 | |
| コンパイル時間 | 23,765 ms |
| コンパイル使用メモリ | 415,296 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2026-01-15 15:07:04 |
| 合計ジャッジ時間 | 24,929 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 |
ソースコード
use proconio::{fastout, input};
#[fastout]
fn main() {
input! {
n: i32,
k: i32,
t: i32,
}
println!("{}", output(solve(n, k, t)))
}
fn solve(n: i32, k: i32, t: i32) -> bool {
k as i64 * t as i64 >= n.abs() as i64
}
fn output(ans: bool) -> &'static str {
match ans {
true => "Yes",
false => "No",
}
}