Language: C

#include <stdio.h>
  int main(){
   int h,i,j,k
     int n,x,prob;
      prob=0;
      for(h=0;h>=0;h++){
       if(n=0 && x=0){
         break;
         }else{           
           scanf("%d%d",n,x);
             for(i=0;i<=n;i++){
             for(j=0;j<=n;j++){
             for(k=0;k<=n;k++){
              if(i=j || i=k || j=k){
                i=i;
                j=j;
                k=k;
                 }else{
                  if(i+j+k=x)
　　　　　　　　　　prob+=1;
                }
}
}
}
printf("%d",prob);
}
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
    4 |      int n,x,prob;
      |      ^~~
main.c:5:7: error: 'prob' undeclared (first use in this function)
    5 |       prob=0;
      |       ^~~~
main.c:5:7: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:11: error: 'n' undeclared (first use in this function)
    7 |        if(n=0 && x=0){
      |           ^
main.c:7:18: error: 'x' undeclared (first use in this function)
    7 |        if(n=0 && x=0){
      |                  ^
main.c:13:18: error: 'k' undeclared (first use in this function)
   13 |              for(k=0;k<=n;k++){
      |                  ^
main.c:20:1: error: stray '\343' in program
   20 | <U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000>prob+=1;
      | ^~~~~~~~
main.c:20:3: error: stray '\343' in program
   20 | <U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000>prob+=1;
      |         ^~~~~~~~
main.c:20:5: error: stray '\343' in program
   20 | <U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000>prob+=1;
      |                 ^~~~~~~~
main.c:20:7: error: stray '\343' in program
   20 | <U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000>prob+=1;
      |                         ^~~~~~~~
main.c:20:9: error: stray '\343' in program
   20 | <U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000>prob+=1;
      |                                 ^~~~~~~~
main.c:20:11: error: stray '\343' in program
   20 | <U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000>prob+=1;
      |                                         ^~~~~~~~
main.c:20:13: error: stray '\343' in program
   20 | <U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000>prob+=1;
      |                                                 ^~~~~~~~
main.c:20:15: error: stray '\343' in program
   20 | <U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000>prob+=1;
      |                                                         ^~~~~~~~
main.c:20:17: error: stray '\343' in program
   20 | <U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000>prob+=1;
      |                                                                 ^~~~~~~~
main.c:20:19: error: stray '\343' in program
   20 | <U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000>prob+=1;
      |                                                                         ^~~~~~~~