ABC 045, not finished yet, got idea for c

This commit is contained in:
2022-05-29 23:41:44 +02:00
parent 5e31032955
commit 841394f84c
6 changed files with 133 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
use proconio::input;
fn main() {
input!{
a: u16,
b: u16,
h: u16,
};
let result = h * (a + b) / 2;
println!("{}", {result});
}