fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5.  
  6.  
  7. int main(){
  8.  
  9. int i = 1;
  10.  
  11. if (‑‑i == 1) {
  12.  
  13. cout << i;
  14.  
  15. } else {
  16.  
  17. cout << ‑‑i;
  18.  
  19. }
  20.  
  21. return 0;
  22.  
  23. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:11:11: error: non-ASCII characters are not allowed outside of literals and identifiers
      if (‑‑i == 1) {
          ^
prog.cpp:11:14: error: non-ASCII characters are not allowed outside of literals and identifiers
      if (‑‑i == 1) {
           ^
prog.cpp:17:19: error: non-ASCII characters are not allowed outside of literals and identifiers
          cout << ‑‑i;
                  ^
prog.cpp:17:22: error: non-ASCII characters are not allowed outside of literals and identifiers
          cout << ‑‑i;
                   ^
4 errors generated.
stdout
Standard output is empty