fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. bool test ( int a, int b)
  5. {
  6. return a == b == 1;
  7. }
  8.  
  9. int main() {
  10. cout << test ( 1, 1) << endl << test(1, 3) << endl << test(3, 1) << endl <<test ( 3 ,3 ) << endl;
  11. return 0;
  12. }
Success #stdin #stdout 0s 3296KB
stdin
Standard input is empty
stdout
1
0
0
1