Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
227 B
0
Indexable
Never
#include <iostream>
#include <cmath>



int main()
{
	unsigned short a = 13, b = 3, step = 1;
	unsigned short res1,res2,res3;
	res1 = ~b;
	res2 = a ^ b;
	res3 = b >> step;
	std::cout << res1 << res2 << res3;
}