結果
問題 | No.1223 I hate Golf |
ユーザー |
![]() |
提出日時 | 2020-09-11 21:27:58 |
言語 | Rust (1.83.0 + proconio) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 509 bytes |
コンパイル時間 | 11,683 ms |
コンパイル使用メモリ | 404,372 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-12-27 01:36:07 |
合計ジャッジ時間 | 12,621 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 |
ソースコード
fn main() {let (n, k, t): (i32, i32, i32) = {let mut buf = String::new();std::io::stdin().read_line(&mut buf).unwrap();let mut iter = buf.split_whitespace();(iter.next().unwrap().parse().unwrap(),iter.next().unwrap().parse().unwrap(),iter.next().unwrap().parse().unwrap(),)};println!("{}",if (n.abs() + k - 1) / k <= t {"Yes"} else {"No"});}