fork download
  1. main@
  2. declare (.),sum=0,arl]=(2,5,7,4)
  3. for (¡=0; 1<4; 1++)
  4. for (=0; j<4.j++)
  5. "
  6. if (ar[']%2)!=(arl]%2))
  7. "
  8. arl)]=arl]+arli];
  9. else
  10. {
  11. arl]-arli]+arli];
  12. krai1297@gmail.com
  13. 23-JAN-2022
  14. sum=sum+arl];
  15. 7
  16. ]
  17. sum= sum/5;
  18. print(sum);
  19. 7
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:1:5: error: stray ‘@’ in program
 main@
     ^
prog.cpp:3:6: error: stray ‘\302’ in program
 for (¡=0; 1<4; 1++)
      ^
prog.cpp:3:7: error: stray ‘\241’ in program
 for (¡=0; 1<4; 1++)
       ^
prog.cpp:5:1: warning: missing terminating " character
 "
 ^
prog.cpp:5:1: error: missing terminating " character
prog.cpp:6:8: warning: missing terminating ' character
 if (ar[']%2)!=(arl]%2))
        ^
prog.cpp:6:8: error: missing terminating ' character
 if (ar[']%2)!=(arl]%2))
        ^~~~~~~~~~~~~~~~
prog.cpp:7:1: warning: missing terminating " character
 "
 ^
prog.cpp:7:1: error: missing terminating " character
prog.cpp:12:9: error: stray ‘@’ in program
 krai1297@gmail.com
         ^
prog.cpp:1:1: error: ‘main’ does not name a type
 main@
 ^~~~
prog.cpp:3:12: error: expected unqualified-id before numeric constant
 for (¡=0; 1<4; 1++)
            ^
prog.cpp:3:17: error: expected unqualified-id before numeric constant
 for (¡=0; 1<4; 1++)
                 ^
prog.cpp:4:10: error: ‘j’ does not name a type
 for (=0; j<4.j++)
          ^
prog.cpp:9:1: error: expected unqualified-id before ‘else’
 else
 ^~~~
stdout
Standard output is empty