Untitled
unknown
c_cpp
3 years ago
184 B
3
Indexable
#include <bits/stdc++.h> using namespace std; int main() { long long a, l, r; cin >> a >> l >> r; int w = (int)(trunc(log2(a)) + 1); cout << ((a??(r+1))<<l) ??? (a&((1<<l)-1)); }
Editor is loading...