Language: C

#include <stdio.h>

void swap(int *a, int *b) {　　// 変数を入れ替えるためのswap関数を作成

    int temp = *a;

    *a = *b;

    *b = temp;

}



int BubbleSort(int A[],int N) {   　　// flagを用いたバブルソート

    int i,j; 　　　　　　 //　ループ変数を宣言。

    int sw = 0;

    unsigned short flag = 1;

    for(i=0;flag;i++) {

        flag = 0;

        for(j=N-1;j>=i+1;j--) {

            if(A[j]<A[j-1]) {

                swap(&A[j],&A[j-1]);

                flag = 1;

                sw++;

            }

        }

    }

    return sw;

}



int main(void) {

    int i, A[100], N, sw;

    scanf("%d",&N);

    for(i=0;i<N;i++) scanf("%d",&A[i]);

    sw = BubbleSort(A,N);



    for(i=0;i<N;i++) {

        if (i) printf(" ");

        printf("%d",A[i]);

    }

    printf("\n%d\n",sw);

    return 0;

}


Compiler output:
main.c: In function 'swap':
main.c:3:28: error: stray '\343' in program
    3 | void swap(int *a, int *b) {<U+3000><U+3000>// <U+5909><U+6570><U+3092><U+5165><U+308C><U+66FF><U+3048><U+308B><U+305F><U+3081><U+306E>swap<U+95A2><U+6570><U+3092><U+4F5C><U+6210>
      |                            ^~~~~~~~
main.c:3:30: error: stray '\343' in program
    3 | void swap(int *a, int *b) {<U+3000><U+3000>// <U+5909><U+6570><U+3092><U+5165><U+308C><U+66FF><U+3048><U+308B><U+305F><U+3081><U+306E>swap<U+95A2><U+6570><U+3092><U+4F5C><U+6210>
      |                                    ^~~~~~~~
main.c: In function 'BubbleSort':
main.c:15:35: error: stray '\343' in program
   15 | int BubbleSort(int A[],int N) {   <U+3000><U+3000>// flag<U+3092><U+7528><U+3044><U+305F><U+30D0><U+30D6><U+30EB><U+30BD><U+30FC><U+30C8>
      |                                   ^~~~~~~~
main.c:15:37: error: stray '\343' in program
   15 | int BubbleSort(int A[],int N) {   <U+3000><U+3000>// flag<U+3092><U+7528><U+3044><U+305F><U+30D0><U+30D6><U+30EB><U+30BD><U+30FC><U+30C8>
      |                                           ^~~~~~~~
main.c:17:14: error: stray '\343' in program
   17 |     int i,j; <U+3000><U+3000><U+3000><U+3000><U+3000><U+3000> //<U+3000><U+30EB><U+30FC><U+30D7><U+5909><U+6570><U+3092><U+5BA3><U+8A00><U+3002>
      |              ^~~~~~~~
main.c:17:16: error: stray '\343' in program
   17 |     int i,j; <U+3000><U+3000><U+3000><U+3000><U+3000><U+3000> //<U+3000><U+30EB><U+30FC><U+30D7><U+5909><U+6570><U+3092><U+5BA3><U+8A00><U+3002>
      |                      ^~~~~~~~
main.c:17:18: error: stray '\343' in program
   17 |     int i,j; <U+3000><U+3000><U+3000><U+3000><U+3000><U+3000> //<U+3000><U+30EB><U+30FC><U+30D7><U+5909><U+6570><U+3092><U+5BA3><U+8A00><U+3002>
      |                              ^~~~~~~~
main.c:17:20: error: stray '\343' in program
   17 |     int i,j; <U+3000><U+3000><U+3000><U+3000><U+3000><U+3000> //<U+3000><U+30EB><U+30FC><U+30D7><U+5909><U+6570><U+3092><U+5BA3><U+8A00><U+3002>
      |                                      ^~~~~~~~
main.c:17:22: error: stray '\343' in program
   17 |     int i,j; <U+3000><U+3000><U+3000><U+3000><U+3000><U+3000> //<U+3000><U+30EB><U+30FC><U+30D7><U+5909><U+6570><U+3092><U+5BA3><U+8A00><U+3002>
      |                                              ^~~~~~~~
main.c:17:24: error: stray '\343' in program
   17 |     int i,j; <U+3000><U+3000><U+3000><U+3000><U+3000><U+3000> //<U+3000><U+30EB><U+30FC><U+30D7><U+5909><U+6570><U+3092><U+5BA3><U+8A00><U+3002>
      |                                                      ^~~~~~~~