Submission #5399997


Source Code Expand

Copy
#include <bits/stdc++.h>
using namespace std;

int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int N, M;
  cin >> N >> M;
  int t = 1900 * M + 100 * (N - M);
  int ans = t * pow(2, M);
  cout << ans << "\n";
  return 0;
}

Submission Info

Submission Time
Task C - HSI
User yamakasa
Language C++14 (GCC 5.4.1)
Score 300
Code Size 245 Byte
Status
Exec Time 1 ms
Memory 256 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 example_0, example_1, example_2
All 300 / 300 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 1 ms 256 KB
example_1 1 ms 256 KB
example_2 1 ms 256 KB
handmade_0 1 ms 256 KB
rand_0 1 ms 256 KB
rand_1 1 ms 256 KB
rand_2 1 ms 256 KB
rand_3 1 ms 256 KB
rand_4 1 ms 256 KB
rand_5 1 ms 256 KB
rand_6 1 ms 256 KB
rand_7 1 ms 256 KB
rand_8 1 ms 256 KB
rand_9 1 ms 256 KB