Language: C

#include<stdio.h>
#define MAX 100000
 
int A[MAX], n;
 
int partition(int p, int r) {
  int x, i, j, t;
  x = A[r];
  i = p - 1;
  for ( j = p; j < r; j++ ) {
    if ( A[j] <= x ){
      i++;
      t = A[i]; A[i] = A[j]; A[j] = t;
    }
  }
  t = A[i + 1]; A[i + 1] = A[r]; A[r] = t;
  return i + 1;
}
 
int main() {
  int i, q;
   
  scanf("%d", &n);
  for ( i = 0; i < n; i++ ) scanf("%d", &A[i]);
   
  q = partition(0, n - 1);
   
  for ( i = 0; i < n; i++ ) {
    if ( i ) printf(" ");
    if ( i == q ) printf("[");
    printf("%d", A[i]);
    if ( i == q ) printf("]");
  }
  printf("\n");
   
  return 0;
}


Compiler output:
main.c:3:1: error: stray '\302' in program
    3 | <U+00A0>
      | ^~~~~~~~
main.c:5:1: error: stray '\302' in program
    5 | <U+00A0>
      | ^~~~~~~~
main.c: In function 'partition':
main.c:7:1: error: stray '\302' in program
    7 | <U+00A0><U+00A0>int x, i, j, t;
      | ^~~~~~~~
main.c:7:2: error: stray '\302' in program
    7 | <U+00A0><U+00A0>int x, i, j, t;
      |         ^~~~~~~~
main.c:8:1: error: stray '\302' in program
    8 | <U+00A0><U+00A0>x = A[r];
      | ^~~~~~~~
main.c:8:2: error: stray '\302' in program
    8 | <U+00A0><U+00A0>x = A[r];
      |         ^~~~~~~~
main.c:9:1: error: stray '\302' in program
    9 | <U+00A0><U+00A0>i = p - 1;
      | ^~~~~~~~
main.c:9:2: error: stray '\302' in program
    9 | <U+00A0><U+00A0>i = p - 1;
      |         ^~~~~~~~
main.c:10:1: error: stray '\302' in program
   10 | <U+00A0><U+00A0>for ( j = p; j < r; j++ ) {
      | ^~~~~~~~
main.c:10:2: error: stray '\302' in program
   10 | <U+00A0><U+00A0>for ( j = p; j < r; j++ ) {
      |         ^~~~~~~~
main.c:11:1: error: stray '\302' in program
   11 | <U+00A0><U+00A0><U+00A0><U+00A0>if ( A[j] <= x ){
      | ^~~~~~~~
main.c:11:2: error: stray '\302' in program
   11 | <U+00A0><U+00A0><U+00A0><U+00A0>if ( A[j] <= x ){
      |         ^~~~~~~~
main.c:11:3: error: stray '\302' in program
   11 | <U+00A0><U+00A0><U+00A0><U+00A0>if ( A[j] <= x ){
      |                 ^~~~~~~~
main.c:11:4: error: stray '\302' in program
   11 | <U+00A0><U+00A0><U+00A0><U+00A0>if ( A[j] <= x ){
      |                         ^~~~~~~~
main.c:12:1: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>i++;
      | ^~~~~~~~
main.c:12:2: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>i++;
      |         ^~~~~~~~
main.c:12:3: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>i++;
      |                 ^~~~~~~~
main.c:12:4: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>i++;
      |                         ^~~~~~~~
main.c:12:5: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>i++;
      |                                 ^~~~~~~~
main.c:12:6: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>i++;
      |                                         ^~~~~~~~
main.c:13:1: error: stray '\302' in program
   13 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>t = A[i]; A[i] = A[j]; A[j] = t;
      | ^~~~~~~~
main.c:13:2: error: stray '\302' in program
   13 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>t = A[i]; A[i] = A[j]; A[j] = t;
      |         ^~~~~~~~
main.c:13:3: error: stray '\302' in program
   13 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>t = A[i]; A[i] = A[j]; A[j] = t;
      |                 ^~~~~~~~
main.c:13:4: error: stray '\302' in program
   13 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>t = A[i]; A[i] = A[j]; A[j] = t;
      |                         ^~~~~~~~
main.c:13:5: error: stray '\302' in program
   13 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>t = A[i]; A[i] = A[j]; A[j] = t;
      |                                 ^~~~~~~~
main.c:13:6: error: stray '\302' in program
   13 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>t = A[i]; A[i] = A[j]; A[j] = t;
      |                                         ^~~~~~~~
main.c:14:1: error: stray '\302' in program
   14 | <U+00A0><U+00A0><U+00A0><U+00A0>}
      | ^~~~~~~~
main.c:14:2: error: stray '\302' in program
   14 | <U+00A0><U+00A0><U+00A0><U+00A0>}
      |         ^~~~~~~~
main.c:14:3: error: stray '\302' in program
   14 | <U+00A0><U+00A0><U+00A0><U+00A0>}
      |                 ^~~~~~~~
main.c:14:4: error: stray '\302' in program
   14 | <U+00A0><U+00A0><U+00A0><U+00A0>}
      |                         ^~~~~~~~
main.c:15:1: error: stray '\302' in program
   15 | <U+00A0><U+00A0>}
      | ^~~~~~~~
main.c:15:2: error: stray '\302' in program
   15 | <U+00A0><U+00A0>}
      |         ^~~~~~~~
main.c:16:1: error: stray '\302' in program
   16 | <U+00A0><U+00A0>t = A[i + 1]; A[i + 1] = A[r]; A[r] = t;
      | ^~~~~~~~
main.c:16:2: error: stray '\302' in program
   16 | <U+00A0><U+00A0>t = A[i + 1]; A[i + 1] = A[r]; A[r] = t;
      |         ^~~~~~~~
main.c:17:1: error: stray '\302' in program
   17 | <U+00A0><U+00A0>return i + 1;
      | ^~~~~~~~
main.c:17:2: error: stray '\302' in program
   17 | <U+00A0><U+00A0>return i + 1;
      |         ^~~~~~~~
main.c: At top level:
main.c:19:1: error: stray '\302' in program
   19 | <U+00A0>
      | ^~~~~~~~
main.c: In function 'main':
main.c:21:1: error: stray '\302' in program
   21 | <U+00A0><U+00A0>int i, q;
      | ^~~~~~~~
main.c:21:2: error: stray '\302' in program
   21 | <U+00A0><U+00A0>int i, q;
      |         ^~~~~~~~
main.c:22:1: error: stray '\302' in program
   22 | <U+00A0><U+00A0><U+00A0>
      | ^~~~~~~~
main.c:22:2: error: stray '\302' in program
   22 | <U+00A0><U+00A0><U+00A0>
      |         ^~~~~~~~
main.c:22:3: error: stray '\302' in program
   22 | <U+00A0><U+00A0><U+00A0>
      |                 ^~~~~~~~
main.c:23:1: error: stray '\302' in program
   23 | <U+00A0><U+00A0>scanf("%d", &n);
      | ^~~~~~~~
main.c:23:2: error: stray '\302' in program
   23 | <U+00A0><U+00A0>scanf("%d", &n);
      |         ^~~~~~~~
main.c:24:1: error: stray '\302' in program
   24 | <U+00A0><U+00A0>for ( i = 0; i < n; i++ ) scanf("%d", &A[i]);
      | ^~~~~~~~
main.c:24:2: error: stray '\302' in program
   24 | <U+00A0><U+00A0>for ( i = 0; i < n; i++ ) scanf("%d", &A[i]);
      |         ^~~~~~~~
main.c:25:1: error: stray '\302' in program
   25 | <U+00A0><U+00A0><U+00A0>
      | ^~~~~~~~
main.c:25:2: error: stray '\302' in program
   25 | <U+00A0><U+00A0><U+00A0>
      |         ^~~~~~~~
main.c:25:3: error: stray '\302' in program
   25 | <U+00A0><U+00A0><U+00A0>
      |                 ^~~~~~~~
main.c:26:1: error: stray '\302' in program
   26 | <U+00A0><U+00A0>q = partition(0, n - 1);
      | ^~~~~~~~
main.c:26:2: error: stray '\302' in program
   26 | <U+00A0><U+00A0>q = partition(0, n - 1);
      |         ^~~~~~~~
main.c:27:1: error: stray '\302' in program
   27 | <U+00A0><U+00A0><U+00A0>
      | ^~~~~~~~
main.c:27:2: error: stray '\302' in program
   27 | <U+00A0><U+00A0><U+00A0>
      |         ^~~~~~~~
main.c:27:3: error: stray '\302' in program
   27 | <U+00A0><U+00A0><U+00A0>
      |                 ^~~~~~~~
main.c:28:1: error: stray '\302' in program
   28 | <U+00A0><U+00A0>for ( i = 0; i < n; i++ ) {
      | ^~~~~~~~
main.c:28:2: error: stray '\302' in program
   28 | <U+00A0><U+00A0>for ( i = 0; i < n; i++ ) {
      |         ^~~~~~~~
main.c:29:1: error: stray '\302' in program
   29 | <U+00A0><U+00A0><U+00A0><U+00A0>if ( i ) printf(" ");
      | ^~~~~~~~
main.c:29:2: error: stray '\302' in program
   29 | <U+00A0><U+00A0><U+00A0><U+00A0>if ( i ) printf(" ");
      |         ^~~~~~~~
main.c:29:3: error: stray '\302' in program
   29 | <U+00A0><U+00A0><U+00A0><U+00A0>if ( i ) printf(" ");
      |                 ^~~~~~~~
main.c:29:4: error: stray '\302' in program
   29 | <U+00A0><U+00A0><U+00A0><U+00A0>if ( i ) printf(" ");
      |                         ^~~~~~~~
main.c:30:1: error: stray '\302' in program
   30 | <U+00A0><U+00A0><U+00A0><U+00A0>if ( i == q ) printf("[");
      | ^~~~~~~~
main.c:30:2: error: stray '\302' in program
   30 | <U+00A0><U+00A0><U+00A0><U+00A0>if ( i == q ) printf("[");
      |         ^~~~~~~~
main.c:30:3: error: stray '\302' in program
   30 | <U+00A0><U+00A0><U+00A0><U+00A0>if ( i == q ) printf("[");
      |                 ^~~~~~~~
main.c:30:4: error: stray '\302' in program
   30 | <U+00A0><U+00A0><U+00A0><U+00A0>if ( i == q ) printf("[");
      |                         ^~~~~~~~
main.c:31:1: error: stray '\302' in program
   31 | <U+00A0><U+00A0><U+00A0><U+00A0>printf("%d", A[i]);
      | ^~~~~~~~
main.c:31:2: error: stray '\302' in program
   31 | <U+00A0><U+00A0><U+00A0><U+00A0>printf("%d", A[i]);
      |         ^~~~~~~~
main.c:31:3: error: stray '\302' in program
   31 | <U+00A0><U+00A0><U+00A0><U+00A0>printf("%d", A[i]);
      |                 ^~~~~~~~
main.c:31:4: error: stray '\302' in program
   31 | <U+00A0><U+00A0><U+00A0><U+00A0>printf("%d", A[i]);
      |                         ^~~~~~~~
main.c:32:1: error: stray '\302' in program
   32 | <U+00A0><U+00A0><U+00A0><U+00A0>if ( i == q ) printf("]");
      | ^~~~~~~~
main.c:32:2: error: stray '\302' in program
   32 | <U+00A0><U+00A0><U+00A0><U+00A0>if ( i == q ) printf("]");
      |         ^~~~~~~~
main.c:32:3: error: stray '\302' in program
   32 | <U+00A0><U+00A0><U+00A0><U+00A0>if ( i == q ) printf("]");
      |                 ^~~~~~~~
main.c:32:4: error: stray '\302' in program
   32 | <U+00A0><U+00A0><U+00A0><U+00A0>if ( i == q ) printf("]");
      |                         ^~~~~~~~
main.c:33:1: error: stray '\302' in program
   33 | <U+00A0><U+00A0>}
      | ^~~~~~~~
main.c:33:2: error: stray '\302' in program
   33 | <U+00A0><U+00A0>}
      |         ^~~~~~~~
main.c:34:1: error: stray '\302' in program
   34 | <U+00A0><U+00A0>printf("\n");
      | ^~~~~~~~
main.c:34:2: error: stray '\302' in program
   34 | <U+00A0><U+00A0>printf("\n");
      |         ^~~~~~~~
main.c:35:1: error: stray '\302' in program
   35 | <U+00A0><U+00A0><U+00A0>
      | ^~~~~~~~
main.c:35:2: error: stray '\302' in program
   35 | <U+00A0><U+00A0><U+00A0>
      |         ^~~~~~~~
main.c:35:3: error: stray '\302' in program
   35 | <U+00A0><U+00A0><U+00A0>
      |                 ^~~~~~~~
main.c:36:1: error: stray '\302' in program
   36 | <U+00A0><U+00A0>return 0;
      | ^~~~~~~~
main.c:36:2: error: stray '\302' in program
   36 | <U+00A0><U+00A0>return 0;
      |         ^~~~~~~~