fork download
  1. #include <iostream>
  2. using namespace std;
  3. int main() {
  4. int a = 1, b = 2;
  5. int c = a | b;
  6. int d = c & a;
  7. int e = d ^ 0;
  8. cout << e << d << c;
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
113