Language: C

#include<stdio.h>
 
int main()
{
   int n, x, i, j, k;
   int l = 0;

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