Skip to content

Instantly share code, notes, and snippets.

@sadmiko
Created June 29, 2018 07:18
Show Gist options
  • Save sadmiko/ac64c6cd3afb1cf5cfecd28952dca3bd to your computer and use it in GitHub Desktop.
Save sadmiko/ac64c6cd3afb1cf5cfecd28952dca3bd to your computer and use it in GitHub Desktop.
#include<bits/stdc++.h>
using namespace std;
int main(){
int n,m;cin>>n>>m;
int ans=1900*m+100*(n-m);
for(int i=0;i<m;++i){
ans*=2;
}
cout<<ans<<endl;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment