#include <iostream>
using namespace std;
void clearIthBits(int num, int i) {
int bitMask = (~0) << i;
num = num & bitMask;
cout << num << endl;
}
int main()
{
clearIthBits(15, 2);
return 0;
}
Yes. I found an available transcript of the video and summarized it simply. The video is “How To Become Red Coder? (codeforces.com)” by Err...
No comments:
Post a Comment