AtCoder Regular Contest 085 C HSI
没学概率论还不怎么看得懂,虽然感觉不难,其实明明可以猜出来的。。。。。
参考博客:https://www.cnblogs.com/guoyongheng/p/7821298.html
1 #include<iostream> 2 #include<cstdio> 3 #include<cstring> 4 #include<algorithm> 5 using namespace std; 6 typedef long long ll; 7 8 int main() 9 { 10 ll n,m; 11 cin>>n>>m; 12 cout<<(1ll<<m)*(m*1900+(n-m)*100)<<endl; 13 return 0; 14 }