Language: C++

#include<iostream>
using namespace std;
int calc_gcd(int a,int b){
  int x=a,y=b,z;
  if(x<y){
    z=x;
    x=y;
    y=z;
  }
  while(y>0){
    z=x%y;
    x=y;
    y=z;
  }
  return x;
}
int main(){
  int a,b;
  cin>>a>>b;
  cout<<calc_gcd(a,b)<<endl;
  return 0;
}


Compiler output:
a.cc:4:1: error: extended character   is not valid in an identifier
    4 |   int x=a,y=b,z;
      | ^
a.cc:4:1: error: extended character   is not valid in an identifier
a.cc:5:1: error: extended character   is not valid in an identifier
    5 |   if(x<y){
      | ^
a.cc:5:1: error: extended character   is not valid in an identifier
a.cc:6:1: error: extended character   is not valid in an identifier
    6 |     z=x;
      | ^
a.cc:6:1: error: extended character   is not valid in an identifier
a.cc:6:1: error: extended character   is not valid in an identifier
a.cc:6:1: error: extended character   is not valid in an identifier
a.cc:7:1: error: extended character   is not valid in an identifier
    7 |     x=y;
      | ^
a.cc:7:1: error: extended character   is not valid in an identifier
a.cc:7:1: error: extended character   is not valid in an identifier
a.cc:7:1: error: extended character   is not valid in an identifier
a.cc:8:1: error: extended character   is not valid in an identifier
    8 |     y=z;
      | ^
a.cc:8:1: error: extended character   is not valid in an identifier
a.cc:8:1: error: extended character   is not valid in an identifier
a.cc:8:1: error: extended character   is not valid in an identifier
a.cc:9:1: error: extended character   is not valid in an identifier
    9 |   }
      | ^
a.cc:9:1: error: extended character   is not valid in an identifier
a.cc:10:1: error: extended character   is not valid in an identifier
   10 |   while(y>0){
      | ^
a.cc:10:1: error: extended character   is not valid in an identifier
a.cc:11:1: error: extended character   is not valid in an identifier
   11 |     z=x%y;
      | ^
a.cc:11:1: error: extended character   is not valid in an identifier
a.cc:11:1: error: extended character   is not valid in an identifier
a.cc:11:1: error: extended character   is not valid in an identifier
a.cc:12:1: error: extended character   is not valid in an identifier
   12 |     x=y;
      | ^
a.cc:12:1: error: extended character   is not valid in an identifier
a.cc:12:1: error: extended character   is not valid in an identifier
a.cc:12:1: error: extended character   is not valid in an identifier
a.cc:13:1: error: extended character   is not valid in an identifier
   13 |     y=z;
      | ^
a.cc:13:1: error: extended character   is not valid in an identifier
a.cc:13:1: error: extended character   is not valid in an identifier
a.cc:13:1: error: extended character   is not valid in an identifier
a.cc:14:1: error: extended character   is not valid in an identifier
   14 |   }
      | ^
a.cc:14:1: error: extended character   is not valid in an identifier
a.cc:15:1: error: extended character   is not valid in an identifier
   15 |   return x;
      | ^
a.cc:15:1: error: extended character   is not valid in an identifier
a.cc:18:1: error: extended character   is not valid in an identifier
   18 |   int a,b;
      | ^
a.cc:18:1: error: extended character   is not valid in an identifier
a.cc:19:1: error: extended character   is not valid in an identifier
   19 |   cin>>a>>b;
      | ^
a.cc:19:1: error: extended character   is not valid in an identifier
a.cc:20:1: error: extended character   is not valid in an identifier
   20 |   cout<<calc_gcd(a,b)<<endl;
      | ^
a.cc:20:1: error: extended character   is not valid in an identifier
a.cc:21:1: error: extended character   is not valid in an identifier
   21 |   return 0;
      | ^
a.cc:21:1: error: extended character   is not valid in an identifier
a.cc: In function 'int calc_gcd(int, int)':
a.cc:4:1: error: '\U000000a0\U000000a0int' was not declared in this scope
    4 |   int x=a,y=b,z;
      | ^~~~~
a.cc:5:6: error: 'x' was not declared in this scope
    5 |   if(x<y){
      |      ^
a.cc:5:8: error: 'y' was not declared in this scope
    5 |   if(x<y){
      |        ^
a.cc:5:1: error: '\U000000a0\U000000a0if' was not declared in this scope
    5 |   if(x<y){
      | ^~~~
a.cc:10:1: error: '\U000000a0\U000000a0while' was not declared in this scope
   10 |   while(y>0){
      | ^~~~~~~
a.cc:15:1: error: '\U000000a0\U000000a0return' was not declared in this scope
   15 |   return x;
      | ^~~~~~~~
a.cc:16:1: warning: no return statement in function returning non-void [-Wreturn-type]
   16 | }
      | ^
a.cc: In function 'int main()':
a.cc:18:1: error: '\U000000a0\U000000a0int' was not declared in this scope
   18 |   int a,b;
      | ^~~~~
a.cc:19:1: error: '\U000000a0\U000000a0cin' was not declared in this scope
   19 |   cin>>a>>b;
      | ^~~~~
a.cc:19:8: error: 'a' was not declared in this scope
   19 |   cin>>a>>b;
      |        ^
a.cc:19:11: error: 'b' was not declared in this scope
   19 |   cin>>a>>b;
      |           ^
a.cc:20:1: error: '\U000000a0\U000000a0cout' was not declared in this scope
   20 |   cout<<calc_gcd(a,b)<<endl;
      | ^~~~~~
a.cc:21:1: error: '\U000000a0\U000000a0return' was not declared in this scope
   21 |   return 0;
      | ^~~~~~~~