Submission #3995733


Source Code Expand

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in);) {
            new Main().solve(sc);
        }
    }

    void solve(Scanner sc) {
        int n = sc.nextInt();
        int m = sc.nextInt();
        System.out.println((1900 * m + 100 * (n - m)) * (int)Math.pow(2, m));
    }
}

Submission Info

Submission Time
Task C - HSI
User mt_kuma
Language Java8 (OpenJDK 1.8.0)
Score 300
Code Size 386 Byte
Status AC
Exec Time 99 ms
Memory 21844 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 99 ms 19796 KB
example_1 AC 97 ms 21716 KB
example_2 AC 96 ms 18644 KB
handmade_0 AC 98 ms 19540 KB
rand_0 AC 97 ms 21716 KB
rand_1 AC 98 ms 18900 KB
rand_2 AC 99 ms 19924 KB
rand_3 AC 96 ms 21716 KB
rand_4 AC 97 ms 19412 KB
rand_5 AC 98 ms 21716 KB
rand_6 AC 95 ms 18900 KB
rand_7 AC 99 ms 19540 KB
rand_8 AC 95 ms 18772 KB
rand_9 AC 97 ms 21844 KB