| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 55689 | 202103wsj | 国王的米粒 | C++ | Wrong Answer | 20 | 0 MS | 252 KB | 176 | 2022-07-30 17:42:40 |
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,d=1; long long c=0; cin>>a>>b; for(int i=a;i<=b;i++){ c+=d; d*=2; } cout<<c; return 0; }