运行 ID: 30374

Main.cc: In function ‘int main()’:
Main.cc:26:13: error: incompatible types in assignment of ‘int’ to ‘char [20]’
  d=gcd(n1,n2);
             ^
Main.cc:27:4: error: invalid operands of types ‘int’ and ‘char [20]’ to binary ‘operator/’
  n1/=d;
  ~~^~~
Main.cc:27:6: error:   in evaluation of ‘operator/=(int, char [20])’
  n1/=d;
      ^
Main.cc:28:4: error: invalid operands of types ‘int’ and ‘char [20]’ to binary ‘operator/’
  n2/=d;
  ~~^~~
Main.cc:28:6: error:   in evaluation of ‘operator/=(int, char [20])’
  n2/=d;
      ^