fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. bool valid = ("" == "1" && "" == "");
  6.  
  7. if (valid)
  8. cout << "Valid" << endl;
  9. else
  10. cout << "Invalid" << endl;
  11. return 0;
  12. }
Success #stdin #stdout 0s 5312KB
stdin
Standard input is empty
stdout
Invalid