Submission #988860

#TimeUsernameProblemLanguageResultExecution timeMemory
988860user736482Rack (eJOI19_rack)C++17
40 / 100
1 ms600 KiB
#include <bits/stdc++.h> using namespace std; long long a,b,c; int main() { cin>>a>>b; b--; while(a!=0){ a--; c*=2; c+=b%2; b/=2; } cout<<c+1; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...