結果
| 問題 | No.1517 Party Location |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-01-11 22:52:16 |
| 言語 | Rust (1.92.0 + proconio + num) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 285 bytes |
| 記録 | |
| コンパイル時間 | 26,296 ms |
| コンパイル使用メモリ | 411,720 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2026-01-11 22:52:44 |
| 合計ジャッジ時間 | 27,396 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 13 |
ソースコード
use proconio::{fastout, input};
#[fastout]
fn main() {
input! {
d: u16,
a: u16,
b: u16,
}
println!("{}", output(solve(d, a, b)))
}
fn solve(d: u16, a: u16, b: u16) -> u32 {
d as u32 * a.min(b) as u32
}
fn output(ans: u32) -> u32 {
ans
}