結果
問題 |
No.2776 Bigger image
|
ユーザー |
![]() |
提出日時 | 2024-09-15 12:29:13 |
言語 | Rust (1.83.0 + proconio) |
結果 |
WA
|
実行時間 | - |
コード長 | 354 bytes |
コンパイル時間 | 13,173 ms |
コンパイル使用メモリ | 379,672 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-15 12:29:29 |
合計ジャッジ時間 | 14,650 ms |
ジャッジサーバーID (参考情報) |
judge6 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 14 WA * 11 |
ソースコード
use proconio::input; fn main () { input! { a: u64, b: u64, h: u64, w: u64, } let no_rot = a*h.max(b*w); let rot = a*w.max(b*h); match (rot, no_rot) { (r, nr) if r < nr => println!("Non-rotating"), (r, nr) if r > nr => println!("Rotating"), (_, _) => println!("Same"), } }