Language: C

＃インクルード< stdio.h >

int ab、bc、ca;

int  gcm（int a1、int b1、int c1）{
    int a = a1、b = b1、c = c1、tmp;
    while（a％b！= 0）{
        tmp = a％b;
        a = b;
        b = tmp;
    }
    ab = b;
    a = a1; b = b1;
    while（b％c！= 0）{
        tmp = b％c;
        b = c;
        c = tmp;
    }
    bc = c;
    b = b1; c = c1;
    while（c％a！= 0）{
        tmp = c％a;
        c = a;
        a = tmp;
    }
    ca = a;
     0を返します。
}

int  main（void）{
    int k、ans = 0 ;
    scanf（" ％d "、＆​​k）;
    for（int i = 1 ; i <= k; i ++）{
        for（int i2 = 1 ; i2 <= k; i2 ++）{
            for（int i3 = 1 ; i3 <= k; i3 ++）{
                ab = i; bc = i2; ca = i3;
                while（！（ab == bc && bc == ca））{
                    gcm（ab、bc、ca）;
                }
                ans + = ab;
            }
        }
    }
    printf（" ％d "、ans）;
     0を返します。
}


Compiler output:
main.c:1:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | ＃インクルード< stdio.h >
      |               ^
main.c:3:7: error: stray '\343' in program
    3 | int ab<U+3001>bc<U+3001>ca;
      |       ^~~~~~~~
main.c:3:11: error: stray '\343' in program
    3 | int ab<U+3001>bc<U+3001>ca;
      |                 ^~~~~~~~
main.c:5:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'a1'
    5 | int  gcm（int a1、int b1、int c1）{
      |               ^~
main.c:5:17: error: stray '\343' in program
    5 | int  gcm<U+FF08>int a1<U+3001>int b1<U+3001>int c1<U+FF09>{
      |                       ^~~~~~~~
main.c:5:25: error: stray '\343' in program
    5 | int  gcm<U+FF08>int a1<U+3001>int b1<U+3001>int c1<U+FF09>{
      |                                     ^~~~~~~~
main.c:6:15: error: stray '\343' in program
    6 |     int a = a1<U+3001>b = b1<U+3001>c = c1<U+3001>tmp;
      |               ^~~~~~~~
main.c:6:23: error: stray '\343' in program
    6 |     int a = a1<U+3001>b = b1<U+3001>c = c1<U+3001>tmp;
      |                             ^~~~~~~~
main.c:6:31: error: stray '\343' in program
    6 |     int a = a1<U+3001>b = b1<U+3001>c = c1<U+3001>tmp;
      |                                           ^~~~~~~~
main.c:7:20: error: invalid suffix "）" on integer constant
    7 |     while（a％b！= 0）{
      |                    ^~~
main.c:14:20: error: invalid suffix "）" on integer constant
   14 |     while（b％c！= 0）{
      |                    ^~~
main.c:21:20: error: invalid suffix "）" on integer constant
   21 |     while（c％a！= 0）{
      |                    ^~~
main.c:27:6: error: invalid suffix "を返します" on integer constant
   27 |      0を返します。
      |      ^~~~~~~~~~~
main.c:27:17: error: stray '\343' in program
   27 |      0<U+3092><U+8FD4><U+3057><U+307E><U+3059><U+3002>
      |                                               ^~~~~~~~
main.c:30:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
   30 | int  main（void）{
      |                  ^
main.c:31:10: error: stray '\343' in program
   31 |     int k<U+3001>ans = 0 ;
      |          ^~~~~~~~
main.c:32:19: error: stray '\343' in program
   32 |     scanf<U+FF08>" <U+FF05>d "<U+3001><U+FF06><U+200B><U+200B>k<U+FF09>;
      |                               ^~~~~~~~
main.c:38:28: error: stray '\343' in program
   38 |                     gcm<U+FF08>ab<U+3001>bc<U+3001>ca<U+FF09>;
      |                                  ^~~~~~~~
main.c:38:32: error: stray '\343' in program
   38 |                     gcm<U+FF08>ab<U+3001>bc<U+3001>ca<U+FF09>;
      |                                            ^~~~~~~~
main.c:44:20: error: stray '\343' in program
   44 |     printf<U+FF08>" <U+FF05>d "<U+3001>ans<U+FF09>;
      |                                ^~~~~~~~
main.c:45:6: error: invalid suffix "を返します" on integer constant
   45 |      0を返します。
      |      ^~~~~~~~~~~
main.c:45:17: error: stray '\343' in program
   45 |      0<U+3092><U+8FD4><U+3057><U+307E><U+3059><U+3002>
      |                                               ^~~~~~~~