Submission #1761767


Source Code Expand

Copy
#include <iostream>
using namespace std;
int main(){
  int N, M;
  cin >> N >> M;
  int p = (1<<M);
  long long int ans = 0, t = (1900*M + (N-M)*100), c = 1;
  for(int i = 0; i < M; ++i) t *= 2;
  cout << t << endl;
  return 0;
}

Submission Info

Submission Time
Task C - HSI
User TAB
Language C++14 (GCC 5.4.1)
Score 300
Code Size 241 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