| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 54332 | 邢逸轩 | 国王的米粒 | C++ | Wrong Answer | 0 | 0 MS | 256 KB | 178 | 2022-07-29 14:45:17 |
#include<bits/stdc++.h> using namespace std; double m,n,ans; int main(){ cin>>m>>n; if(n>m) swap(n,m); for(int i=m;i<=n;i++) ans+=(1<<(i-1)); cout<<ans; return 0; }