Language: C++

#include <stdio.h>
using namespace std ;
int main ( )
{
int a , b , c , d ;
scanf(”%d%d%d%d ” , &a , &b , &c , &d ) ;
int x = c − a , y = d − b ;
printf (”%d%d%d%d\n” , c − y , d + x , a − y , b + x ) ;
#include <bits/stdc++.h>
using namespace std;

int main() {
  int x1,y1,x2,y2;cin>>x1>>y1>>x2>>y2;
  cout<< x2-(y2-y1)<< " "<<y2-(x1-x2)<<" "<<x1-(y2-y1) <<" "<< y1-(x1-x2)<< endl;
}


Compiler output:
a.cc:6:7: error: extended character ” is not valid in an identifier
    6 | scanf(”%d%d%d%d ” , &a , &b , &c , &d ) ;
      |       ^
a.cc:6:17: error: extended character ” is not valid in an identifier
    6 | scanf(”%d%d%d%d ” , &a , &b , &c , &d ) ;
      |                 ^
a.cc:7:11: error: extended character − is not valid in an identifier
    7 | int x = c − a , y = d − b ;
      |           ^
a.cc:7:23: error: extended character − is not valid in an identifier
    7 | int x = c − a , y = d − b ;
      |                       ^
a.cc:8:9: error: extended character ” is not valid in an identifier
    8 | printf (”%d%d%d%d\n” , c − y , d + x , a − y , b + x ) ;
      |         ^
a.cc:8:18: error: stray '\' in program
    8 | printf (”%d%d%d%d\n” , c − y , d + x , a − y , b + x ) ;
      |                  ^
a.cc:8:19: error: extended character ” is not valid in an identifier
    8 | printf (”%d%d%d%d\n” , c − y , d + x , a − y , b + x ) ;
      |                   ^
a.cc:8:26: error: extended character − is not valid in an identifier
    8 | printf (”%d%d%d%d\n” , c − y , d + x , a − y , b + x ) ;
      |                          ^
a.cc:8:42: error: extended character − is not valid in an identifier
    8 | printf (”%d%d%d%d\n” , c − y , d + x , a − y , b + x ) ;
      |                                          ^
a.cc: In function 'int main()':
a.cc:6:7: error: '\U0000201d' was not declared in this scope
    6 | scanf(”%d%d%d%d ” , &a , &b , &c , &d ) ;
      |       ^
a.cc:7:11: error: expected ',' or ';' before '\U00002212'
    7 | int x = c − a , y = d − b ;
      |           ^
a.cc:8:25: error: expected ')' before '\U00002212'
    8 | printf (”%d%d%d%d\n” , c − y , d + x , a − y , b + x ) ;
      |        ~                ^~
      |                         )
a.cc:8:41: error: expected ')' before '\U00002212'
    8 | printf (”%d%d%d%d\n” , c − y , d + x , a − y , b + x ) ;
      |        ~                                ^~
      |                                         )
In file included from /usr/include/c++/14/cassert:43,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:33,
                 from a.cc:9:
/usr/include/x86_64-linux-gnu/c++/14/bits/c++config.h:308:1: error: 'namespace' definition is not allowed here
  308 | namespace std
      | ^~~~~~~~~
/usr/include/x86_64-linux-gnu/c++/14/bits/c++config.h:341:1: error: 'namespace' definition is not allowed here
  341 | namespace std
      | ^~~~~~~~~
/usr/include/x86_64-linux-gnu/c++/14/bits/c++config.h:345:1: error: 'namespace' definition is not allowed here
  345 | namespace __gnu_cxx
      | ^~~~~~~~~
/usr/include/x86_64-linux-gnu/c++/14/bits/c++config.h:534:1: error: 'namespace' definition is not allowed here
  534 | namespace std
      | ^~~~~~~~~
/usr/include/x86_64-linux-gnu/c++/14/bits/c++config.h:573:1: error: 'namespace' definition is not allowed here
  573 | namespace std
      | ^~~~~~~~~
/usr/include/x86_64-linux-gnu/c++/14/bits/c++config.h:604:1: error: 'namespace' definition is not allowed here
  604 | namespace std
      | ^~~~~~~~~
/usr/include/x86_64-linux-gnu/c++/14/bits/c++config.h:828:1: error: 'namespace' definition is not allowed here
  828 | namespace __gnu_cxx
      | ^~~~~~~~~
In file included from /usr/include/features.h:523,
                 from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:28,
                 from a.cc:1:
/usr/include/assert.h:66:1: error: expected unqualified-id before string constant
   66 | __BEGIN_DECLS
      | ^~~~~~~~~~~~~
/usr/include/ctype.h:28:1: error: expected unqualified-id before string constant
   28 | __BEGIN_DECLS
      | ^~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:35:
/usr/include/c++/14/cctype:62:1: error: 'namespace' definition is not allowed here
   62 | namespace std
      | ^~~~~~~~~
/usr/include/c++/14/cctype:85:1: error: 'namespace' definition is not allowed here
   85 | namespace std
      | ^~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/pthread_stack_min-dynamic.h:23:1: error: expected unqualified-id before string constant
   23 | __BEGIN_DECLS
      | ^~~~~~~~~~~~~
/usr/include/setjmp.h:27:1: error: expected unqualified-id before string constant
   27 | __BEGIN_DECLS
      | ^~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:39:
/usr/include/c++/14/csetjmp:55:1: error: 'namespace' definition is not allowed here
   55 | namespace std
      | ^~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:40:
/usr/include/c++/14/cstdarg:53:1: error: 'namespace' definition is not allowed here
   53 | namespace std
      | ^~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:41:
/usr/include/c++/14/cstddef:55:8: error: expected unqualified-id before string constant
   55 | extern "C++"
      |        ^~~~~
/usr/include/stdlib.h:34:1: error: expected unqualified-id before string constant
   34 | __BEGIN_DECLS
      | ^~~~~~~~~~~~~
In file included from /usr/include/c++/14/cstdlib:81,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:42:
/usr/include/c++/14/bits/std_abs.h:46:8: error: expected unqualified-id before string constant
   46 | extern "C++"
      |        ^~~~~
/usr/include/c++/14/cstdlib:125:8: error: expected unqualified-id before string constant
  125 | extern "C++"
      |        ^~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:45:
/usr/include/c++/14/cstdint:48:1: error: 'namespace' definition is not allowed here
   48 | namespace std
      | ^~~~~~~~~
/usr/include/c++/14/bits/functexcept.h:42:15: error: expected '=' before '__attribute__'
   42 | namespace std _GLIBCXX_VISIBILITY(default)
      |               ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/functexcept.h:42:15: error: expected identifier before '__attribute__'
In file included from /usr/include/c++/14/bits/stl_algobase.h:60,
                 from /usr/include/c++/14/algorithm:60,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:51:
/usr/include/c++/14/bits/functexcept.h:42:14: error: expected ';' before '__attribute__'
   42 | namespace std _GLIBCXX_VISIBILITY(default)
      |              ^
      |              ;
/usr/include/c++/14/bits/functexcept.h:43:1: error: expected primary-expression before '{' token
   43 | {
      | ^
In file included from /usr/include/c++/14/bits/stl_algobase.h:61:
/usr/include/c++/14/bits/cpp_type_traits.h:68:8: error: expected unqualified-id before string constant
   68 | extern "C++" {
      |        ^~~~~
In file included from /usr/include/c++/14/bits/stl_algobase.h:62:
/usr/include/c++/14/ext/type_traits.h:37:8: error: expected unqualified-id before string constant
   37 | extern "C++" {
      |        ^~~~~
/usr/include/c++/14/ext/numeric_traits.h:37:21: error: expected '=' before '__attribute__'
   37 | namespace __gnu_cxx _GLIBCXX_VISIBILITY(default)
      |                     ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/ext/numeric_traits.h:37:21: error: expected identifier before '__attribute__'
In file included from /usr/include/c++/14/bits/stl_algobase.h:63:
/usr/include/c++/14/ext/numeric_traits.h:37:20: error: expected ';' before '__attribute__'
   37 | namespace __gnu_cxx _GLIBCXX_VISIBILITY(default)
      |                    ^
      |                    ;
/usr/include/c++/14/ext/numeric_traits.h:38:1: error: expected primary-expression before '{' token
   38 | {
      | ^
/usr/include/c++/14/type_traits:65:15: error: expected '=' before '__attribute__'
   65 | namespace std _GLIBCXX_VISIBILITY(default)
      |               ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/type_traits:65:15: error: expected identifier before '__attribute__'
In file included from /usr/include/c++/14/bits/stl_pair.h:60,
                 from /usr/include/c++/14/bits/stl_algobase.h:64:
/usr/include/c++/14/type_traits:65:14: error: expected ';' before '__attribute__'
   65 | namespace std _GLIBCXX_VISIBILITY(default)
      |              ^
      |              ;
/usr/include/c++/14/type_traits:66:1: error: expected primary-expression before '{' token
   66 | {
      | ^
/usr/include/c++/14/bits/move.h:40:15: error: expected '=' before '__attribute__'
   40 | namespace std _GLIBCXX_VISIBILITY(default)
      |               ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/move.h:40:15: error: expected identifier before '__attribute__'
In file included from /usr/include/c++/14/bits/stl_pair.h:61:
/usr/include/c++/14/bits/move.h:40:14: error: expected ';' before '__attribute__'
   40 | namespace std _GLIBCXX_VISIBILITY(default)
      |              ^
      |              ;
/usr/include/c++/14/bits/move.h:41:1: error: expected primary-expression before '{' token
   41 | {
      | ^
/usr/include/c++/14/bits/utility.h:43:15: error: expected '=' before '__attribute__'
   43 | namespace std _GLIBCXX_VISIBILITY(default)
      |               ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/utility.h:43:15: error: expected identifier before '__attribute__'
In file included from /usr/include/c++/14/bits/stl_pair.h:62:
/usr/include/c++/14/bits/utility.h:43:14: error: expected ';' before '__attribute__'
   43 | namespace std _GLIBCXX_VISIBILITY(default)
      |              ^
      |              ;
/usr/include/c++/14/bits/utility.h:44:1: error: expected primary-expression before '{' token
   44 | {
      | ^
/usr/include/c++/14/bits/stl_pair.h:68:15: error: expected '=' before '__attribute__'
   68 | namespace std _GLIBCXX_VISIBILITY(default)
      |               ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/stl_pair.h:68:15: error: expected identifier before '__attribute__'
/usr/include/c++/14/bits/stl_pair.h:68:14: error: expected ';' before '__attribute__'
   68 | namespace std _GLIBCXX_VISIBILITY(default)
      |              ^
      |              ;
/usr/include/c++/14/bits/stl_pair.h:69:1: error: expected primary-expression before '{' token
   69 | {
      | ^
/usr/include/c++/14/bits/stl_iterator_base_types.h:74:15: error: expected '=' before '__attribute__'
   74 | nam