Language: C

#include<stdio.h>
 
int main(void)
{
   int n, x, i, j, k;
   int l = 0;
 
   while(1) {
      scanf("%d %d", &n, &x);
 
      if (n == 0 && x == 0) {
          break;
      }
 
      for (i = 1; i <= n - 2; i++) {
        for (j = i + 1; j <= n - 1; j++) {
          for (k = j + 1; k <= n; k++) {
            if (i + j + k == x) {
              l++;
            }
          }
        }
      }
      printf("%d\n", l);
   }
   return 0;
}


Compiler output:
main.c:2:1: error: stray '\302' in program
    2 | <U+00A0>
      | ^~~~~~~~
main.c: In function 'main':
main.c:5:1: error: stray '\302' in program
    5 | <U+00A0><U+00A0><U+00A0>int n, x, i, j, k;
      | ^~~~~~~~
main.c:5:2: error: stray '\302' in program
    5 | <U+00A0><U+00A0><U+00A0>int n, x, i, j, k;
      |         ^~~~~~~~
main.c:5:3: error: stray '\302' in program
    5 | <U+00A0><U+00A0><U+00A0>int n, x, i, j, k;
      |                 ^~~~~~~~
main.c:7:1: error: stray '\302' in program
    7 | <U+00A0>
      | ^~~~~~~~
main.c:8:1: error: stray '\302' in program
    8 | <U+00A0><U+00A0><U+00A0>while(1) {
      | ^~~~~~~~
main.c:8:2: error: stray '\302' in program
    8 | <U+00A0><U+00A0><U+00A0>while(1) {
      |         ^~~~~~~~
main.c:8:3: error: stray '\302' in program
    8 | <U+00A0><U+00A0><U+00A0>while(1) {
      |                 ^~~~~~~~
main.c:9:1: error: stray '\302' in program
    9 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>scanf("%d %d", &n, &x);
      | ^~~~~~~~
main.c:9:2: error: stray '\302' in program
    9 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>scanf("%d %d", &n, &x);
      |         ^~~~~~~~
main.c:9:3: error: stray '\302' in program
    9 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>scanf("%d %d", &n, &x);
      |                 ^~~~~~~~
main.c:9:4: error: stray '\302' in program
    9 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>scanf("%d %d", &n, &x);
      |                         ^~~~~~~~
main.c:9:5: error: stray '\302' in program
    9 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>scanf("%d %d", &n, &x);
      |                                 ^~~~~~~~
main.c:9:6: error: stray '\302' in program
    9 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>scanf("%d %d", &n, &x);
      |                                         ^~~~~~~~
main.c:10:1: error: stray '\302' in program
   10 | <U+00A0>
      | ^~~~~~~~
main.c:11:1: error: stray '\302' in program
   11 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if (n == 0 && x == 0) {
      | ^~~~~~~~
main.c:11:2: error: stray '\302' in program
   11 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if (n == 0 && x == 0) {
      |         ^~~~~~~~
main.c:11:3: error: stray '\302' in program
   11 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if (n == 0 && x == 0) {
      |                 ^~~~~~~~
main.c:11:4: error: stray '\302' in program
   11 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if (n == 0 && x == 0) {
      |                         ^~~~~~~~
main.c:11:5: error: stray '\302' in program
   11 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if (n == 0 && x == 0) {
      |                                 ^~~~~~~~
main.c:11:6: error: stray '\302' in program
   11 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if (n == 0 && x == 0) {
      |                                         ^~~~~~~~
main.c:12:1: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>break;
      | ^~~~~~~~
main.c:12:2: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>break;
      |         ^~~~~~~~
main.c:12:3: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>break;
      |                 ^~~~~~~~
main.c:12:4: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>break;
      |                         ^~~~~~~~
main.c:12:5: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>break;
      |                                 ^~~~~~~~
main.c:12:6: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>break;
      |                                         ^~~~~~~~
main.c:12:7: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>break;
      |                                                 ^~~~~~~~
main.c:12:8: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>break;
      |                                                         ^~~~~~~~
main.c:12:9: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>break;
      |                                                                 ^~~~~~~~
main.c:12:10: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>break;
      |                                                                         ^~~~~~~~
main.c:13:1: error: stray '\302' in program
   13 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>}
      | ^~~~~~~~
main.c:13:2: error: stray '\302' in program
   13 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>}
      |         ^~~~~~~~
main.c:13:3: error: stray '\302' in program
   13 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>}
      |                 ^~~~~~~~
main.c:13:4: error: stray '\302' in program
   13 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>}
      |                         ^~~~~~~~
main.c:13:5: error: stray '\302' in program
   13 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>}
      |                                 ^~~~~~~~
main.c:13:6: error: stray '\302' in program
   13 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>}
      |                                         ^~~~~~~~
main.c:14:1: error: stray '\302' in program
   14 | <U+00A0>
      | ^~~~~~~~
main.c:15:1: error: stray '\302' in program
   15 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>for (i = 1; i <= n - 2; i++) {
      | ^~~~~~~~
main.c:15:2: error: stray '\302' in program
   15 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>for (i = 1; i <= n - 2; i++) {
      |         ^~~~~~~~
main.c:15:3: error: stray '\302' in program
   15 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>for (i = 1; i <= n - 2; i++) {
      |                 ^~~~~~~~
main.c:15:4: error: stray '\302' in program
   15 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>for (i = 1; i <= n - 2; i++) {
      |                         ^~~~~~~~
main.c:15:5: error: stray '\302' in program
   15 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>for (i = 1; i <= n - 2; i++) {
      |                                 ^~~~~~~~
main.c:15:6: error: stray '\302' in program
   15 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>for (i = 1; i <= n - 2; i++) {
      |                                         ^~~~~~~~
main.c:16:1: error: stray '\302' in program
   16 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>for (j = i + 1; j <= n - 1; j++) {
      | ^~~~~~~~
main.c:16:2: error: stray '\302' in program
   16 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>for (j = i + 1; j <= n - 1; j++) {
      |         ^~~~~~~~
main.c:16:3: error: stray '\302' in program
   16 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>for (j = i + 1; j <= n - 1; j++) {
      |                 ^~~~~~~~
main.c:16:4: error: stray '\302' in program
   16 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>for (j = i + 1; j <= n - 1; j++) {
      |                         ^~~~~~~~
main.c:16:5: error: stray '\302' in program
   16 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>for (j = i + 1; j <= n - 1; j++) {
      |                                 ^~~~~~~~
main.c:16:6: error: stray '\302' in program
   16 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>for (j = i + 1; j <= n - 1; j++) {
      |                                         ^~~~~~~~
main.c:16:7: error: stray '\302' in program
   16 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>for (j = i + 1; j <= n - 1; j++) {
      |                                                 ^~~~~~~~
main.c:16:8: error: stray '\302' in program
   16 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>for (j = i + 1; j <= n - 1; j++) {
      |                                                         ^~~~~~~~
main.c:17:1: error: stray '\302' in program
   17 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>for (k = j + 1; k <= n; k++) {
      | ^~~~~~~~
main.c:17:2: error: stray '\302' in program
   17 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>for (k = j + 1; k <= n; k++) {
      |         ^~~~~~~~
main.c:17:3: error: stray '\302' in program
   17 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>for (k = j + 1; k <= n; k++) {
      |                 ^~~~~~~~
main.c:17:4: error: stray '\302' in program
   17 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>for (k = j + 1; k <= n; k++) {
      |                         ^~~~~~~~
main.c:17:5: error: stray '\302' in program
   17 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>for (k = j + 1; k <= n; k++) {
      |                                 ^~~~~~~~
main.c:17:6: error: stray '\302' in program
   17 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>for (k = j + 1; k <= n; k++) {
      |                                         ^~~~~~~~
main.c:17:7: error: stray '\302' in program
   17 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>for (k = j + 1; k <= n; k++) {
      |                                                 ^~~~~~~~
main.c:17:8: error: stray '\302' in program
   17 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>for (k = j + 1; k <= n; k++) {
      |                                                         ^~~~~~~~
main.c:17:9: error: stray '\302' in program
   17 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>for (k = j + 1; k <= n; k++) {
      |                                                                 ^~~~~~~~
main.c:17:10: error: stray '\302' in program