fork download
  1. #include <iostream>
  2. #include <string>
  3. using namespace std;
  4.  
  5. int main() {
  6. cout << (string("\\ x") == "\\ x");
  7. cout << (string("\\ x") == "\\\ x");
  8. cout << (string("\\ x") == "\\\\ x");
  9. return 0;
  10. }
Success #stdin #stdout 0s 4460KB
stdin
Standard input is empty
stdout
110