fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. static constexpr bool a=true,b=true;
  7. if constexpr(a && !b){
  8. cout<<"true"<<endl;
  9. }else
  10.  
  11. cout<<"false"<<endl;
  12. return 0;
  13. }
Success #stdin #stdout 0s 5312KB
stdin
Standard input is empty
stdout
false