fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. bool A, B;
  6. bool wynik = false, wynik2=false;
  7.  
  8. cin>>A;
  9. cin>>B;
  10.  
  11. if(A || B) wynik = true;
  12.  
  13. //if(A|| B) wynik2 = true;
  14.  
  15. cout<<wynik;
  16.  
  17. return 0;
  18.  
  19. }
Success #stdin #stdout 0.02s 2280KB
stdin
1
1
stdout
Standard output is empty