Language: C

#include <stdio.h>




unsigned int gcd(unsigned int n1, unsigned int n2)
{
&#160; unsigned int n3;




&#160; while (n1 != 0){
&#160; &#160; n3 = n2;
&#160; &#160; n2 = n1;
&#160; &#160; n1 = n3 % n2;
&#160; }




&#160; return n2;
}




int main(void)
{
&#160; unsigned int a, b;
&#160; unsigned int i, j;




&#160; i = 0;
&#160; while (scanf("%d%d", &a, &b) != EOF){
&#160; &#160; printf("%d %d\n", gcd(a, b), (a / gcd(a, b) * b)); // bを後で掛けないとオーバーフローする。
&#160; }
&#160; return 0;
}

Compiler output:
main.c: In function 'gcd':
main.c:8:2: error: stray '#' in program
    8 | &#160; unsigned int n3;
      |  ^
main.c:8:1: error: lvalue required as unary '&' operand
    8 | &#160; unsigned int n3;
      | ^
main.c:13:2: error: stray '#' in program
   13 | &#160; while (n1 != 0){
      |  ^
main.c:13:1: error: lvalue required as unary '&' operand
   13 | &#160; while (n1 != 0){
      | ^
main.c:14:2: error: stray '#' in program
   14 | &#160; &#160; n3 = n2;
      |  ^
main.c:14:1: error: lvalue required as unary '&' operand
   14 | &#160; &#160; n3 = n2;
      | ^
main.c:14:9: error: stray '#' in program
   14 | &#160; &#160; n3 = n2;
      |         ^
main.c:14:8: error: lvalue required as unary '&' operand
   14 | &#160; &#160; n3 = n2;
      |        ^
main.c:15:2: error: stray '#' in program
   15 | &#160; &#160; n2 = n1;
      |  ^
main.c:15:1: error: lvalue required as unary '&' operand
   15 | &#160; &#160; n2 = n1;
      | ^
main.c:15:9: error: stray '#' in program
   15 | &#160; &#160; n2 = n1;
      |         ^
main.c:15:8: error: lvalue required as unary '&' operand
   15 | &#160; &#160; n2 = n1;
      |        ^
main.c:16:2: error: stray '#' in program
   16 | &#160; &#160; n1 = n3 % n2;
      |  ^
main.c:16:1: error: lvalue required as unary '&' operand
   16 | &#160; &#160; n1 = n3 % n2;
      | ^
main.c:16:9: error: stray '#' in program
   16 | &#160; &#160; n1 = n3 % n2;
      |         ^
main.c:16:8: error: lvalue required as unary '&' operand
   16 | &#160; &#160; n1 = n3 % n2;
      |        ^
main.c:17:2: error: stray '#' in program
   17 | &#160; }
      |  ^
main.c:17:1: error: lvalue required as unary '&' operand
   17 | &#160; }
      | ^
main.c:22:2: error: stray '#' in program
   22 | &#160; return n2;
      |  ^
main.c:22:1: error: lvalue required as unary '&' operand
   22 | &#160; return n2;
      | ^
main.c: In function 'main':
main.c:30:2: error: stray '#' in program
   30 | &#160; unsigned int a, b;
      |  ^
main.c:30:1: error: lvalue required as unary '&' operand
   30 | &#160; unsigned int a, b;
      | ^
main.c:31:2: error: stray '#' in program
   31 | &#160; unsigned int i, j;
      |  ^
main.c:31:1: error: lvalue required as unary '&' operand
   31 | &#160; unsigned int i, j;
      | ^
main.c:36:2: error: stray '#' in program
   36 | &#160; i = 0;
      |  ^
main.c:36:1: error: lvalue required as unary '&' operand
   36 | &#160; i = 0;
      | ^
main.c:37:2: error: stray '#' in program
   37 | &#160; while (scanf("%d%d", &a, &b) != EOF){
      |  ^
main.c:37:1: error: lvalue required as unary '&' operand
   37 | &#160; while (scanf("%d%d", &a, &b) != EOF){
      | ^
main.c:38:2: error: stray '#' in program
   38 | &#160; &#160; printf("%d %d\n", gcd(a, b), (a / gcd(a, b) * b)); // bを後で掛けないとオーバーフローする。
      |  ^
main.c:38:1: error: lvalue required as unary '&' operand
   38 | &#160; &#160; printf("%d %d\n", gcd(a, b), (a / gcd(a, b) * b)); // bを後で掛けないとオーバーフローする。
      | ^
main.c:38:9: error: stray '#' in program
   38 | &#160; &#160; printf("%d %d\n", gcd(a, b), (a / gcd(a, b) * b)); // bを後で掛けないとオーバーフローする。
      |         ^
main.c:38:8: error: lvalue required as unary '&' operand
   38 | &#160; &#160; printf("%d %d\n", gcd(a, b), (a / gcd(a, b) * b)); // bを後で掛けないとオーバーフローする。
      |        ^
main.c:39:2: error: stray '#' in program
   39 | &#160; }
      |  ^
main.c:39:1: error: lvalue required as unary '&' operand
   39 | &#160; }
      | ^
main.c:40:2: error: stray '#' in program
   40 | &#160; return 0;
      |  ^
main.c:40:1: error: lvalue required as unary '&' operand
   40 | &#160; return 0;
      | ^