結果
| 問題 |
No.2050 Speed
|
| コンテスト | |
| ユーザー |
ixTL255
|
| 提出日時 | 2022-12-27 22:54:44 |
| 言語 | Rust (1.83.0 + proconio) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 407 bytes |
| コンパイル時間 | 14,490 ms |
| コンパイル使用メモリ | 377,992 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-22 10:14:58 |
| 合計ジャッジ時間 | 13,585 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 15 |
ソースコード
use std::io::Read;
fn main() {
let mut s = String::new();
std::io::stdin().read_to_string(&mut s).ok();
let mut itr = s.trim().split_whitespace();
let a:u64 = itr.next().unwrap().parse().unwrap();
let b:u64 = itr.next().unwrap().parse().unwrap();
let ap = a * 1000;
let bp = b * 3600;
if ap > bp {
println!("KoD");
} else if ap < bp {
println!("blackyuki");
} else {
println!("same");
}
}
ixTL255