Submission #8809506


Source Code Expand

fn main() {
    let (n, m) = {
        let mut buf = String::new();
        std::io::stdin().read_line(&mut buf).ok();
        let v: Vec<u32> = buf.split_whitespace().map(|x| x.parse().unwrap()).collect();
        (v[0], v[1])
    };

    let ans = (1900 * m + 100 * (n - m)) * 2u32.pow(m);
    println!("{}", ans);
}

Submission Info

Submission Time
Task C - HSI
User Yappii
Language Rust (1.15.1)
Score 300
Code Size 330 Byte
Status AC
Exec Time 2 ms
Memory 4352 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 300 / 300
Status
AC × 3
AC × 14
Set Name Test Cases
Sample example_0, example_1, example_2
All example_0, example_1, example_2, handmade_0, rand_0, rand_1, rand_2, rand_3, rand_4, rand_5, rand_6, rand_7, rand_8, rand_9
Case Name Status Exec Time Memory
example_0 AC 2 ms 4352 KB
example_1 AC 2 ms 4352 KB
example_2 AC 2 ms 4352 KB
handmade_0 AC 2 ms 4352 KB
rand_0 AC 2 ms 4352 KB
rand_1 AC 2 ms 4352 KB
rand_2 AC 2 ms 4352 KB
rand_3 AC 2 ms 4352 KB
rand_4 AC 2 ms 4352 KB
rand_5 AC 2 ms 4352 KB
rand_6 AC 2 ms 4352 KB
rand_7 AC 2 ms 4352 KB
rand_8 AC 2 ms 4352 KB
rand_9 AC 2 ms 4352 KB