fork download
  1. #include <iostream>
  2.  
  3. int main()
  4. {
  5. bool a = 2;
  6. bool b = 6;
  7. std::cout << (int)a << (int)b << (a ^ b) << std::endl;
  8. }
Success #stdin #stdout 0.01s 2680KB
stdin
Standard input is empty
stdout
110