criyle/codenet-compile-errors huggingface dataset:
Language: C

include <stdio.h>

int main()
{
  int a,b,c,x,amari,yakusuu;

  yakusuu = 0;

  scanf("%d %d %d", &a , &b , &c);

  for( x = a ; x <= b ; x++ )
    {
      amari = c%x;
      if( amari == 0 )
        {
          yakusuu++;
        }
    }

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

  return 0;
}
"~/itp1/C/topic3d.c" 24 lines, 266 characters



Compiler output:
main.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include <stdio.h>
      |         ^
main.c:24:1: error: expected identifier or '(' before string constant
   24 | "~/itp1/C/topic3d.c" 24 lines, 266 characters
      | ^~~~~~~~~~~~~~~~~~~~
Language: C

include<stdio.h>

int main()
{
  int a,b,c,x,amari,yakusuu;

  yakusuu = 0;

  scanf("%d %d %d", &a , &b , &c);

  for( x = a ; x <= b ; x++ )
    {
      amari = c%x;
      if( amari == 0 )
        {
          yakusuu++;
        }
    }

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

  return 0;
}



Compiler output:
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include<stdio.h>
      |        ^
Language: C

include  <stdio.h>

int main()
{
  int a,b,c,x,amari,yakusuu;

  yakusuu = 0;

  scanf("%d %d %d", &a , &b , &c);

  for( x = a ; x <= b ; x++ )
    {
      amari = c%x;
      if( amari == 0 )
        {
          yakusuu++;
        }
    }

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

  return 0;
}



Compiler output:
main.c:1:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include  <stdio.h>
      |          ^
Language: C

includ<stdio.h>

int main()
{
  int a,b,c,x,amari,yakusuu;

  yakusuu = 0;

  scanf("%d %d %d", &a , &b , &c);

  for( x = a ; x <= b ; x++ )
    {
      amari = c%x;
      if( amari == 0 )
        {
          yakusuu++;
        }
    }

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

  return 0;
}



Compiler output:
main.c:1:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | includ<stdio.h>
      |       ^
Language: C

#include <include.h>
int main(void)
{
 int a,b,c,x,y;
 scanf("%d%d%d",&a,&b,&c);
 for(x=a;x<=b,x++)
  {
   if(c%x==0)
    y++;
  }
 print("%d\n",y);
 return 0;
}


Compiler output:
main.c:1:10: fatal error: include.h: No such file or directory
    1 | #include <include.h>
      |          ^~~~~~~~~~~
compilation terminated.
Language: C

#include <include.h>
int main(void)
{
 int a,b,c,x,y=0;
 scanf("%d%d%d",&a,&b,&c);
 for(x=a;x<=b,x++)
  {
   if(c%x==0)
    y++;
  }
 print("%d\n",y);
 return 0;
}


Compiler output:
main.c:1:10: fatal error: include.h: No such file or directory
    1 | #include <include.h>
      |          ^~~~~~~~~~~
compilation terminated.
Language: C

#include <stdio.h>
int main(void)
{
 int a,b,c,x,y=0;
 scanf("%d%d%d",&a,&b,&c);
 for(x=a;x<=b,x++)
  {
   if(c%x==0)
    y++;
  }
 print("%d\n",y);
 return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:18: error: expected ';' before ')' token
    6 |  for(x=a;x<=b,x++)
      |                  ^
      |                  ;
main.c:11:2: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
   11 |  print("%d\n",y);
      |  ^~~~~
      |  printf
Language: C

#include <stdio.h>
int main(void)
{
 int a,b,c,x,y=0;
 scanf("%d%d%d",&a,&b,&c);
 for(x=a;x<=b;x++)
  {
   if(c%x==0)
    y++;
  }
 print("%d\n",y);
 return 0;
}


Compiler output:
main.c: In function 'main':
main.c:11:2: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
   11 |  print("%d\n",y);
      |  ^~~~~
      |  printf
Language: C

#include <stdio.h>
int main(void){
    int a,b,c,x;
    scanf("%d%d%d",&a,&b,&c);
    for(a;a<=b;a++)
    if(c%a==0)x++;
    printf("%d\n",x);
    return 0;




Compiler output:
main.c: In function 'main':
main.c:8:5: error: expected declaration or statement at end of input
    8 |     return 0;
      |     ^~~~~~
Language: C

int main()
{
	int a,b,c,x;
	int count = 0;
	
	scanf( "%d %d %d",&a, &b, &c);
	
	for( x = a; x <= b; x++ );
	{
		if( c % x = 0;)
		{
			count++
		}
		
		printf( "%d\n",count );
	}
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:9: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    6 |         scanf( "%d %d %d",&a, &b, &c);
      |         ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main()
main.c:6:9: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    6 |         scanf( "%d %d %d",&a, &b, &c);
      |         ^~~~~
main.c:6:9: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:10:27: error: lvalue required as left operand of assignment
   10 |                 if( c % x = 0;)
      |                           ^
main.c:10:30: error: expected ')' before ';' token
   10 |                 if( c % x = 0;)
      |                   ~          ^
      |                              )
main.c:12:32: error: expected ';' before '}' token
   12 |                         count++
      |                                ^
      |                                ;
   13 |                 }
      |                 ~               
main.c:15:17: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   15 |                 printf( "%d\n",count );
      |                 ^~~~~~
main.c:15:17: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:15:17: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:15:17: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#include<stdio.h>

int main()
{
	int a,b,c,d,x;
	int i = 0;
	
	scanf( "%d %d %d",&a, &b, &c);
	
	for( x = a; x <= b; x++ );
	{
		d = c % x
		if( d = 0)
		{
			i = i + 1;
		}
		
		printf( "%d\n",i );
	}
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:12:26: error: expected ';' before 'if'
   12 |                 d = c % x
      |                          ^
      |                          ;
   13 |                 if( d = 0)
      |                 ~~
Language: C

include <stdio.h>

int main(int argc,const char * arg[])
{
    int a, b, c, t, count=0;
    
    scanf("%d %d %d",&a,&b,&c);
    
    for(t=a;t<b+1;t++){
        if(c<t)break;
        if(c%t==0)count++;
    }
    printf("%d",count);
    
    return 0;
}


Compiler output:
main.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include <stdio.h>
      |         ^
Language: C

#include<stdio.h>

int main(){

  int a,b,c,x,ans;
  for(x=a;x<=b;x++){
    scanf("%d %d %d",&a,&b,&c);
    if(c%x==0){
      ans+=1;
    }
    printf("%d\n",ans);

    return 0 ;
  }


Compiler output:
main.c: In function 'main':
main.c:14:3: error: expected declaration or statement at end of input
   14 |   }
      |   ^
Language: C

#include<stdio.h>

int main(){
 int a, b, c, i;

 scanf("%d %d %d", &a,&b,&c);
 for(int i = a; i <= b; i++){
 if( c%i = 0 ){
 printf("%d %d %d\n", a,b,c);
 }
}
 






Compiler output:
main.c: In function 'main':
main.c:8:10: error: lvalue required as left operand of assignment
    8 |  if( c%i = 0 ){
      |          ^
main.c:11:1: error: expected declaration or statement at end of input
   11 | }
      | ^
Language: C

#include<stdio.h>

int main(){
 int a, b, c, i;

 scanf("%d %d %d", &a,&b,&c);
 for(int i = a; i <= b; i++){
 if( c%i = 0 ){
 printf("%d %d %d\n", a,b,c);
 }
 }
}
 






Compiler output:
main.c: In function 'main':
main.c:8:10: error: lvalue required as left operand of assignment
    8 |  if( c%i = 0 ){
      |          ^
Language: C

#include<stdio.h>

int main(){
 int a, b, c, i, x=0;

 scanf("%d %d %d", &a,&b,&c);
 for(int i = a; i <= b; i++){
 if( c%i = 0 ){
	x++;
 }
 }
 printf("%d\n", x);
 }
}
 






Compiler output:
main.c: In function 'main':
main.c:8:10: error: lvalue required as left operand of assignment
    8 |  if( c%i = 0 ){
      |          ^
main.c: At top level:
main.c:14:1: error: expected identifier or '(' before '}' token
   14 | }
      | ^
Language: C

#include<stdio.h>

int main(){
 int a, b, c, i, x=0;

 scanf("%d %d %d", &a,&b,&c);
 for(int i = a; i <= b; i++){
 if( c%i = 0 ){
	x++;
 }
 }
 printf("%d\n", x);
}
 






Compiler output:
main.c: In function 'main':
main.c:8:10: error: lvalue required as left operand of assignment
    8 |  if( c%i = 0 ){
      |          ^
Language: C

#include <stdio.h>
int main (void)
{
	int a,b,c,x,y;
	x=0,y=0;

	scan("%d %d %d",&a,&b,&c);
	for(x=a,x<=b; x++)
		{
		if (c%x == 0)x++;
		}	
	printf("%d\n,x");
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:9: error: implicit declaration of function 'scan'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    7 |         scan("%d %d %d",&a,&b,&c);
      |         ^~~~
      |         scanf
main.c:8:26: error: expected ';' before ')' token
    8 |         for(x=a,x<=b; x++)
      |                          ^
      |                          ;
Language: C

#include <stdio.h>
int main (void)
{
	int a,b,c;
        int x,y;

	scan("%d %d %d",&a,&b,&c);
        x=0;

	for(x=a,x<=b; x++)
		{
		if (c%x == 0)x++;
		}	
	printf("%d\n,x");
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:9: error: implicit declaration of function 'scan'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    7 |         scan("%d %d %d",&a,&b,&c);
      |         ^~~~
      |         scanf
main.c:10:26: error: expected ';' before ')' token
   10 |         for(x=a,x<=b; x++)
      |                          ^
      |                          ;
Language: C

#include <stdio.h>
#include <stdlib.h>
int main (void)
{
	int a,b,c;
        int x,y;

	scan("%d %d %d",&a,&b,&c);
        x=0;

	for(x=a,x<=b; x++)
		{
		if (c%x == 0)x++;
		}	
	printf("%d\n,x");
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:8:9: error: implicit declaration of function 'scan'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    8 |         scan("%d %d %d",&a,&b,&c);
      |         ^~~~
      |         scanf
main.c:11:26: error: expected ';' before ')' token
   11 |         for(x=a,x<=b; x++)
      |                          ^
      |                          ;
Language: C

#include <stdio.h>
#include <stdlib.h>

int main (void)
{
	int a,b,c;
        int x;
        int y;

	scan("%d %d %d",&a,&b,&c);
        x=0;

	for(x=a;x<=b;x++)
		{
		if (c%x == 0)x++;
		}	
	printf("%d\n",x);
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:10:9: error: implicit declaration of function 'scan'; did you mean 'scanf'? [-Wimplicit-function-declaration]
   10 |         scan("%d %d %d",&a,&b,&c);
      |         ^~~~
      |         scanf
Language: C

#include <stdio.h>
#include <stdlib.h>

int main (void)
{
	int a,b,c;
        int x;
        int y;

	scan("%d %d %d",&a,&b,&c);
        x=0;

	for(x=a;x<=b;x++)
		{
		if (c % x == 0)y++;
		}	
	printf("%d\n",y);
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:10:9: error: implicit declaration of function 'scan'; did you mean 'scanf'? [-Wimplicit-function-declaration]
   10 |         scan("%d %d %d",&a,&b,&c);
      |         ^~~~
      |         scanf
Language: C

#include <stdio.h>
#include <stdlib.h>

int main (void)
{
	int a,b,c;
        int x;
        int y;

	scan("%d %d %d",&a,&b,&c);
        x=0;
	for(x=a; x<=b; x++){
		if (c % x == 0)y++;
	}	
	printf("%d\n",y);
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:10:9: error: implicit declaration of function 'scan'; did you mean 'scanf'? [-Wimplicit-function-declaration]
   10 |         scan("%d %d %d",&a,&b,&c);
      |         ^~~~
      |         scanf
Language: C

#include <stdio.h>
int main(void){
  int a,b,c;
  int count;

  scanf("%d %d %d\n",&a,&b,&c);

  for(a ; a <= b ; a++){
    if(c%a == 0){
      count++
    }
  }

  printf("%d\n",count);
  return 0;
}



Compiler output:
main.c: In function 'main':
main.c:10:14: error: expected ';' before '}' token
   10 |       count++
      |              ^
      |              ;
   11 |     }
      |     ~
Language: C

#include<stdio.h>
 
int main(void){
    int i, n, num, cnt = 0;
    scanf("%d %d %d", &i, &n, &num);
    for(; i <= n; i++){
        if(num%i == 0){
            cnt++;
        }
    }
    printf("%d\n", cnt);
     
    return 0;
}


Compiler output:
main.c:2:1: error: stray '\302' in program
    2 | <U+00A0>
      | ^~~~~~~~
main.c: In function 'main':
main.c:4:1: error: stray '\302' in program
    4 | <U+00A0><U+00A0><U+00A0><U+00A0>int i, n, num, cnt = 0;
      | ^~~~~~~~
main.c:4:2: error: stray '\302' in program
    4 | <U+00A0><U+00A0><U+00A0><U+00A0>int i, n, num, cnt = 0;
      |         ^~~~~~~~
main.c:4:3: error: stray '\302' in program
    4 | <U+00A0><U+00A0><U+00A0><U+00A0>int i, n, num, cnt = 0;
      |                 ^~~~~~~~
main.c:4:4: error: stray '\302' in program
    4 | <U+00A0><U+00A0><U+00A0><U+00A0>int i, n, num, cnt = 0;
      |                         ^~~~~~~~
main.c:12:1: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>
      | ^~~~~~~~
main.c:12:2: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>
      |         ^~~~~~~~
main.c:12:3: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>
      |                 ^~~~~~~~
main.c:12:4: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>
      |                         ^~~~~~~~
main.c:12:5: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>
      |                                 ^~~~~~~~
main.c:13:1: error: stray '\302' in program
   13 | <U+00A0><U+00A0><U+00A0><U+00A0>return 0;
      | ^~~~~~~~
main.c:13:2: error: stray '\302' in program
   13 | <U+00A0><U+00A0><U+00A0><U+00A0>return 0;
      |         ^~~~~~~~
main.c:13:3: error: stray '\302' in program
   13 | <U+00A0><U+00A0><U+00A0><U+00A0>return 0;
      |                 ^~~~~~~~
main.c:13:4: error: stray '\302' in program
   13 | <U+00A0><U+00A0><U+00A0><U+00A0>return 0;
      |                         ^~~~~~~~
Language: C

#include<stdio.h>

int main(void){
    int i, start, n, num, cnt = 0;
    scanf("%d %d %d", &start, &n, &num);
    for(i = start; i <= n; i++){
        if(num%i == 0){
            cnt++;
        }
    }
    printf("%d\n", cnt);
     
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:4:1: error: stray '\302' in program
    4 | <U+00A0><U+00A0><U+00A0><U+00A0>int i, start, n, num, cnt = 0;
      | ^~~~~~~~
main.c:4:2: error: stray '\302' in program
    4 | <U+00A0><U+00A0><U+00A0><U+00A0>int i, start, n, num, cnt = 0;
      |         ^~~~~~~~
main.c:4:3: error: stray '\302' in program
    4 | <U+00A0><U+00A0><U+00A0><U+00A0>int i, start, n, num, cnt = 0;
      |                 ^~~~~~~~
main.c:4:4: error: stray '\302' in program
    4 | <U+00A0><U+00A0><U+00A0><U+00A0>int i, start, n, num, cnt = 0;
      |                         ^~~~~~~~
main.c:12:1: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>
      | ^~~~~~~~
main.c:12:2: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>
      |         ^~~~~~~~
main.c:12:3: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>
      |                 ^~~~~~~~
main.c:12:4: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>
      |                         ^~~~~~~~
main.c:12:5: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>
      |                                 ^~~~~~~~
main.c:13:1: error: stray '\302' in program
   13 | <U+00A0><U+00A0><U+00A0><U+00A0>return 0;
      | ^~~~~~~~
main.c:13:2: error: stray '\302' in program
   13 | <U+00A0><U+00A0><U+00A0><U+00A0>return 0;
      |         ^~~~~~~~
main.c:13:3: error: stray '\302' in program
   13 | <U+00A0><U+00A0><U+00A0><U+00A0>return 0;
      |                 ^~~~~~~~
main.c:13:4: error: stray '\302' in program
   13 | <U+00A0><U+00A0><U+00A0><U+00A0>return 0;
      |                         ^~~~~~~~
Language: C

#include<stdio.h>

int main(void){
    int i, n, number, cnt = 0;
    scanf("%d %d %d", &i, &n, &number);
    for(; i <= n; i++){
        if(number%i == 0){
            cnt++;
        }
    }
    printf("%d\n", cnt);
     
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:4:1: error: stray '\302' in program
    4 | <U+00A0><U+00A0><U+00A0><U+00A0>int i, n, number, cnt = 0;
      | ^~~~~~~~
main.c:4:2: error: stray '\302' in program
    4 | <U+00A0><U+00A0><U+00A0><U+00A0>int i, n, number, cnt = 0;
      |         ^~~~~~~~
main.c:4:3: error: stray '\302' in program
    4 | <U+00A0><U+00A0><U+00A0><U+00A0>int i, n, number, cnt = 0;
      |                 ^~~~~~~~
main.c:4:4: error: stray '\302' in program
    4 | <U+00A0><U+00A0><U+00A0><U+00A0>int i, n, number, cnt = 0;
      |                         ^~~~~~~~
main.c:12:1: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>
      | ^~~~~~~~
main.c:12:2: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>
      |         ^~~~~~~~
main.c:12:3: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>
      |                 ^~~~~~~~
main.c:12:4: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>
      |                         ^~~~~~~~
main.c:12:5: error: stray '\302' in program
   12 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>
      |                                 ^~~~~~~~
main.c:13:1: error: stray '\302' in program
   13 | <U+00A0><U+00A0><U+00A0><U+00A0>return 0;
      | ^~~~~~~~
main.c:13:2: error: stray '\302' in program
   13 | <U+00A0><U+00A0><U+00A0><U+00A0>return 0;
      |         ^~~~~~~~
main.c:13:3: error: stray '\302' in program
   13 | <U+00A0><U+00A0><U+00A0><U+00A0>return 0;
      |                 ^~~~~~~~
main.c:13:4: error: stray '\302' in program
   13 | <U+00A0><U+00A0><U+00A0><U+00A0>return 0;
      |                         ^~~~~~~~
Language: C

#include<stdio.h>

int main(void){
    int i, n, num, cnt;
    cnt = 0;
    scanf("%d %d %d", &i, &n, &num);
    for(; i <= n; i++){
        if(num%i == 0){
            cnt++;
        }
    }
    printf("%d\n", cnt);

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:4:1: error: stray '\302' in program
    4 | <U+00A0><U+00A0><U+00A0><U+00A0>int i, n, num, cnt;
      | ^~~~~~~~
main.c:4:2: error: stray '\302' in program
    4 | <U+00A0><U+00A0><U+00A0><U+00A0>int i, n, num, cnt;
      |         ^~~~~~~~
main.c:4:3: error: stray '\302' in program
    4 | <U+00A0><U+00A0><U+00A0><U+00A0>int i, n, num, cnt;
      |                 ^~~~~~~~
main.c:4:4: error: stray '\302' in program
    4 | <U+00A0><U+00A0><U+00A0><U+00A0>int i, n, num, cnt;
      |                         ^~~~~~~~
main.c:14:1: error: stray '\302' in program
   14 | <U+00A0><U+00A0><U+00A0><U+00A0>return 0;
      | ^~~~~~~~
main.c:14:2: error: stray '\302' in program
   14 | <U+00A0><U+00A0><U+00A0><U+00A0>return 0;
      |         ^~~~~~~~
main.c:14:3: error: stray '\302' in program
   14 | <U+00A0><U+00A0><U+00A0><U+00A0>return 0;
      |                 ^~~~~~~~
main.c:14:4: error: stray '\302' in program
   14 | <U+00A0><U+00A0><U+00A0><U+00A0>return 0;
      |                         ^~~~~~~~
Language: C

#include <stdio.h>

int　main()
{
    int a,b,c,count;
    
    scanf("%d %d %d", &a,&b,&c);
    
    for(c=a;c<b;c++){
    count++;
    }
    printf("%d",count);
    
    return 0;
}


Compiler output:
main.c:3:4: error: stray '\343' in program
    3 | int<U+3000>main()
      |    ^~~~~~~~
Language: C

#include <stdio.h>

int　main()
{
    int a,b,c,x,count;
    
    scanf("%d %d %d", &a,&b,&c);
    
    for(x=a;x<b;x++){
    count++;
    }
    printf("%d",count);
    
    return 0;
}


Compiler output:
main.c:3:4: error: stray '\343' in program
    3 | int<U+3000>main()
      |    ^~~~~~~~
Language: C

#include <stdio.h>

int　main()
{
    int a,b,c,x;
    int count=0;
    
    scanf("%d %d %d", &a,&b,&c);
    
    for(x=a;x<b;x++){
        if(c%x == 0){
        count++;
        }
    }
    printf("%d\n",count);
    
    return 0;
}


Compiler output:
main.c:3:4: error: stray '\343' in program
    3 | int<U+3000>main()
      |    ^~~~~~~~
Language: C

#include <stdio.h>

int　main()
{
    int a,b,c,x;
    int count;
    
    count =0;
    
    scanf("%d %d %d", &a,&b,&c);
    
    for(x=a;x<b;x++){
        if(c%x == 0){
        count++;
        }
    }
    printf("%d\n",count);
    
    return 0;
}


Compiler output:
main.c:3:4: error: stray '\343' in program
    3 | int<U+3000>main()
      |    ^~~~~~~~
Language: C

#include <stdio.h>
int　main(){
   int a,b,c,x;
   int count;

    count =0;

     scanf("%d %d %d", &a,&b,&c);
     
     for(x=a;x<b;x++){
       	if(c%x == 0){
       		count++;
       	}
     }
   printf("%d\n",count);


     return 0;

}



Compiler output:
main.c:2:4: error: stray '\343' in program
    2 | int<U+3000>main(){
      |    ^~~~~~~~
Language: C

#include<stdio.h>
int main(){
  int a,b,c,x;
  int count = 0;
  scanf("%d%d%d", &a,&b,&c);
  for(int x = a;x <=b;x++){
    if ( c % x = 0)count++;
  }
  printf("%d\n", count);
  return 0;
}



Compiler output:
main.c: In function 'main':
main.c:7:16: error: lvalue required as left operand of assignment
    7 |     if ( c % x = 0)count++;
      |                ^
Language: C

#include<stdio.h>

int main(void)
[
  int a, b, c, i, k;

  scanf("%d %d %d", &a, &b, &c);

  for(i=a; i <= b; i++)
  {
    if(c % i == 0)
      k++;
  }

  return 0;
}



Compiler output:
main.c:5:3: error: expected expression before 'int'
    5 |   int a, b, c, i, k;
      |   ^~~
Language: C

#include<stdio.h>

int main(void)
[
  int a, b, c, i, k;

  scanf("%d %d %d", &a, &b, &c);

  for(i=a; i <= b; i++)
  {
    if(c % i == 0)
      k++;
  }
  
  printf("%d", k);

  return 0;
}



Compiler output:
main.c:5:3: error: expected expression before 'int'
    5 |   int a, b, c, i, k;
      |   ^~~
Language: C

#include<stdio.h>
 
int main(void)
{
	int a,b,c,x;
	scanf("%d %d %d",&a,&b,&c);
 
	for(i=a;i<=b;i++){
		if(c%i==0)
		x++;
	}
   
 	 printf("%d\n",x);
 
  	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:8:13: error: 'i' undeclared (first use in this function)
    8 |         for(i=a;i<=b;i++){
      |             ^
main.c:8:13: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>

//メイン関数
int main(void){
  int a, b, c;
  int count = 0;
  scanf("%d %d %d", &a, &b, &c);
  for(int i = a; i <= b; i++){
    if(i%c == 0){
      count++;
    }
  }
  printf("%d", count)
}



Compiler output:
main.c: In function 'main':
main.c:13:22: error: expected ';' before '}' token
   13 |   printf("%d", count)
      |                      ^
      |                      ;
   14 | }
      | ~
Language: C

#include <stdio.h>

int main(void){
int A;
int a;
int b;
int c;
int x;
scanf("%d%d%d",&a,&b,&c);
for(int n=a;n<=b;n++){
A=c%n;
if(A=0){
x=x+1;}}
printf("%d\n"x);}


Compiler output:
main.c: In function 'main':
main.c:14:14: error: expected ')' before 'x'
   14 | printf("%d\n"x);}
      |       ~      ^
      |              )
Language: C

#include <stdio.h>

int main()
{
	int a, b, c, i, x;

	scanf("%d%d%d", &a, &b, &c);
	
	i = 0;
	
	for (k = a; k <= b; k++){
		if (c % k == 0) i++;
	}
	printf("%d\n", i);
	
	return 0;
}



Compiler output:
main.c: In function 'main':
main.c:11:14: error: 'k' undeclared (first use in this function)
   11 |         for (k = a; k <= b; k++){
      |              ^
main.c:11:14: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>
int main(void)
{
	int a, b, c=0;
	int cnt = 0;
	scanf("%d", &a);
	scanf("%d", &b);
	scanf("%d", &c);

	for (; a < b; a++) {
		if (c%a == 0) {
			cnt++;
		}
	}

	pritnf("%d", cnt);
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:16:9: error: implicit declaration of function 'pritnf'; did you mean 'printf'? [-Wimplicit-function-declaration]
   16 |         pritnf("%d", cnt);
      |         ^~~~~~
      |         printf
Language: C

#inclue<stdio.h>
 int main(){
 int a,b,c;
 int total;
 scan("%d%d%d",a,b,c);
 total=0

 for(i=a;a<b;i++){
 if(c%a==0)total+=1;
 printf("%d\n",total);
 }
 return 0; 
 }



Compiler output:
main.c:1:2: error: invalid preprocessing directive #inclue; did you mean #include?
    1 | #inclue<stdio.h>
      |  ^~~~~~
      |  include
main.c: In function 'main':
main.c:5:2: error: implicit declaration of function 'scan' [-Wimplicit-function-declaration]
    5 |  scan("%d%d%d",a,b,c);
      |  ^~~~
main.c:6:9: error: expected ';' before 'for'
    6 |  total=0
      |         ^
      |         ;
    7 | 
    8 |  for(i=a;a<b;i++){
      |  ~~~
Language: C

#inclue<stdio.h>
 int main(){
 int a,b,c;
 int total;
 scanf("%d%d%d",a,b,c);


 for(i=a;a<b;i++){
 total=0;
 if(c%a==0)total+=1;
 printf("%d\n",total);
 }
 return 0; 
 }



Compiler output:
main.c:1:2: error: invalid preprocessing directive #inclue; did you mean #include?
    1 | #inclue<stdio.h>
      |  ^~~~~~
      |  include
main.c: In function 'main':
main.c:5:2: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    5 |  scanf("%d%d%d",a,b,c);
      |  ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #inclue<stdio.h>
main.c:5:2: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    5 |  scanf("%d%d%d",a,b,c);
      |  ^~~~~
main.c:5:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:8:6: error: 'i' undeclared (first use in this function)
    8 |  for(i=a;a<b;i++){
      |      ^
main.c:8:6: note: each undeclared identifier is reported only once for each function it appears in
main.c:11:2: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   11 |  printf("%d\n",total);
      |  ^~~~~~
main.c:11:2: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:11:2: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:11:2: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#inclue<stdio.h>
 int main(){
 int i,a,b,c;
 int total;
 scanf("%d%d%d",a,b,c);

 for(i=a;a<b;i++){
 total=0;
 if(c%i==0)total++;
 printf("%d\n",total);
 }

 return 0; 
 }



Compiler output:
main.c:1:2: error: invalid preprocessing directive #inclue; did you mean #include?
    1 | #inclue<stdio.h>
      |  ^~~~~~
      |  include
main.c: In function 'main':
main.c:5:2: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    5 |  scanf("%d%d%d",a,b,c);
      |  ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #inclue<stdio.h>
main.c:5:2: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    5 |  scanf("%d%d%d",a,b,c);
      |  ^~~~~
main.c:5:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:10:2: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   10 |  printf("%d\n",total);
      |  ^~~~~~
main.c:10:2: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:10:2: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:10:2: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#inclue<stdio.h>
 int main(){
 int i,a,b,c;
 int t;
 scanf("%d%d%d",a,b,c);

 for(i=a;a<b;i++){
 total=0;
 if(c%i==0)t++;
 printf("%d\n",t);
 }

 return 0; 
 }



Compiler output:
main.c:1:2: error: invalid preprocessing directive #inclue; did you mean #include?
    1 | #inclue<stdio.h>
      |  ^~~~~~
      |  include
main.c: In function 'main':
main.c:5:2: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    5 |  scanf("%d%d%d",a,b,c);
      |  ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #inclue<stdio.h>
main.c:5:2: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    5 |  scanf("%d%d%d",a,b,c);
      |  ^~~~~
main.c:5:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:8:2: error: 'total' undeclared (first use in this function)
    8 |  total=0;
      |  ^~~~~
main.c:8:2: note: each undeclared identifier is reported only once for each function it appears in
main.c:10:2: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   10 |  printf("%d\n",t);
      |  ^~~~~~
main.c:10:2: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:10:2: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:10:2: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#inclue<stdio.h>
 int main(){
 int i,a,b,c;
 int t;
 scanf("%d%d%d",&a,&b,&c);

 for(i=a;a<b;i++){
 total=0;
 if(c%i==0)t++;
 printf("%d\n",t);
 }

 return 0; 
 }



Compiler output:
main.c:1:2: error: invalid preprocessing directive #inclue; did you mean #include?
    1 | #inclue<stdio.h>
      |  ^~~~~~
      |  include
main.c: In function 'main':
main.c:5:2: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    5 |  scanf("%d%d%d",&a,&b,&c);
      |  ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #inclue<stdio.h>
main.c:5:2: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    5 |  scanf("%d%d%d",&a,&b,&c);
      |  ^~~~~
main.c:5:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:8:2: error: 'total' undeclared (first use in this function)
    8 |  total=0;
      |  ^~~~~
main.c:8:2: note: each undeclared identifier is reported only once for each function it appears in
main.c:10:2: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   10 |  printf("%d\n",t);
      |  ^~~~~~
main.c:10:2: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:10:2: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:10:2: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#inclue<stdio.h>
 int main(){
 int i,a,b,c;
 int t;
 scanf("%d%d%d",&a,&b,&c);

 for(i=a;i<=b;i++){
 t=0;
 if(c%i==0)t++;
 printf("%d\n",t);
 }

 return 0; 
 }



Compiler output:
main.c:1:2: error: invalid preprocessing directive #inclue; did you mean #include?
    1 | #inclue<stdio.h>
      |  ^~~~~~
      |  include
main.c: In function 'main':
main.c:5:2: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    5 |  scanf("%d%d%d",&a,&b,&c);
      |  ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #inclue<stdio.h>
main.c:5:2: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    5 |  scanf("%d%d%d",&a,&b,&c);
      |  ^~~~~
main.c:5:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:10:2: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   10 |  printf("%d\n",t);
      |  ^~~~~~
main.c:10:2: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:10:2: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:10:2: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#inclue<stdio.h>
 int main(){
 int i,a,b,c;
 int t;

 scanf("%d%d%d",&a,&b,&c);

 for(i=a;i<=b;i++){
 t=0;
 if(c%i==0)t++;
 }
 printf("%d\n",t);
 return 0; 
 }



Compiler output:
main.c:1:2: error: invalid preprocessing directive #inclue; did you mean #include?
    1 | #inclue<stdio.h>
      |  ^~~~~~
      |  include
main.c: In function 'main':
main.c:6:2: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    6 |  scanf("%d%d%d",&a,&b,&c);
      |  ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #inclue<stdio.h>
main.c:6:2: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    6 |  scanf("%d%d%d",&a,&b,&c);
      |  ^~~~~
main.c:6:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:12:2: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   12 |  printf("%d\n",t);
      |  ^~~~~~
main.c:12:2: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:12:2: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:12:2: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C++

#include <iostream>
using namespace std;
int main () {
	int a , b , c , count;
	cin >> a >> b >>c ;
	for (int i=a;i<=b;i+1) {
		if ( c%i=0 ) {
			count = count + 1;
		}
	}
	cout << count << endl;
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:23: error: lvalue required as left operand of assignment
    7 |                 if ( c%i=0 ) {
      |                      ~^~
Language: C++

#include <iostream>
using namespace std;
int main () {
	int a,b,c;
	cin>> a >> b >> c;
	int count = 0;
	for (int i = a; i<=b ; i++ ) { 
	if (c % i == 0) {
		count++
		}
    cout << count <<endl;
	
	
	}



Compiler output:
a.cc: In function 'int main()':
a.cc:9:24: error: expected ';' before '}' token
    9 |                 count++
      |                        ^
      |                        ;
   10 |                 }
      |                 ~       
a.cc:14:10: error: expected '}' at end of input
   14 |         }
      |          ^
a.cc:3:13: note: to match this '{'
    3 | int main () {
      |             ^
Language: C++

#include <iostream>
using namespace std;
int main () {
	int a,b,c;
	cin>> a >> b >> c;
	int count = 0;
	for (int i = a; i<=b ; i++ ) { 
	if (c % i == 0) {
		count++;
		}
    cout << count <<endl;
	
	
	}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:10: error: expected '}' at end of input
   14 |         }
      |          ^
a.cc:3:13: note: to match this '{'
    3 | int main () {
      |             ^
Language: C++

#include<iostream>
using namespace std;
int main(){
int a,b,c,z;
cin >> a >> b >> c;
for(int ,i=a; i<=b; i++){
if(c/i==0) z++;
}
cout << z <<endl;
return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: expected unqualified-id before ',' token
    6 | for(int ,i=a; i<=b; i++){
      |         ^
Language: C++

#include <stdio.h>

int main() {
	int a,b,c;
	int d = 0;
	scanf_s("%d %d %d", &a, &b, &c);
	for (int i = a; i <= b; i++) {
		if (c % i == 0) {
			d += 1;
		}
	}
	printf("%d\n", d);
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
    6 |         scanf_s("%d %d %d", &a, &b, &c);
      |         ^~~~~~~
      |         scanf
Language: C++

// http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_D&lang=jp

#include<iostream>
 using namespace std;

//力づくの解法。cを因数に分解して、積のパターンで約数を作るのがスマートなのだが・・・

int main(){

    int a , b, c ;
    int yakusuunokosuu = 0 ;
 	cin >> a >> b >> c ;

for (int i=0; i<=10000; i=i+1 )
 	{
 	
	if( a + i >= b )
 	{
 	break;
 	}else{

	    if ( c % ( a + i ) = 0 ) //cがa+iで割り切れる場合
        yakusuunokosuu = yakusuunokosuu + 1 ; //約数の個数を1個増やす
        }else{
        // 何もしない
        }

 	}

    cout<< yakusuunokosuu << endl;
    }
    
 return 0;
 }


Compiler output:
a.cc: In function 'int main()':
a.cc:22:20: error: lvalue required as left operand of assignment
   22 |             if ( c % ( a + i ) = 0 ) //cがa+iで割り切れる場合
      |                  ~~^~~~~~~~~~~
a.cc:24:10: error: 'else' without a previous 'if'
   24 |         }else{
      |          ^~~~
a.cc: At global scope:
a.cc:33:2: error: expected unqualified-id before 'return'
   33 |  return 0;
      |  ^~~~~~
a.cc:34:2: error: expected declaration before '}' token
   34 |  }
      |  ^
Language: C++

// http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_D&lang=jp

#include<iostream>
 using namespace std;

//力づくの解法。cを因数に分解して、積のパターンで約数を作るのがスマートなのだが・・・

int main(){

    int a , b, c ;
    int yakusuunokosuu = 0 ;
 	cin >> a >> b >> c ;

for (int i = 0; i <= 10000; i=i+1 )
 	{
 	
	if( ( a + i ) >= b )
 	{
 	break;
 	}else{

	    if ( c % ( a + i ) = 0 ) //cがa+iで割り切れる場合
        {
        yakusuunokosuu = yakusuunokosuu + 1 ; //約数の個数を1個増やす
        }else{
        // 何もしない
        }

 	}

    cout<< yakusuunokosuu << endl;
    }
    
 return 0;
 }


Compiler output:
a.cc: In function 'int main()':
a.cc:22:20: error: lvalue required as left operand of assignment
   22 |             if ( c % ( a + i ) = 0 ) //cがa+iで割り切れる場合
      |                  ~~^~~~~~~~~~~
Language: C++

// http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_D&lang=jp

#include<iostream>
 using namespace std;

//力づくの解法。cを因数に分解して、積のパターンで約数を作るのがスマートなのだが・・・

int main(){

int a , b, c ;
int yakusuunokosuu = 0 ;
cin >> a >> b >> c ;

    for (int i = 0; i <= 10000; i=i+1 )
 	{
 	
	if( ( a + i ) >= b )
 	{
 	break;
 	}else{

	    if ( c % ( a + i ) = 0 ) //cがa+iで割り切れる場合
        {
        yakusuunokosuu = yakusuunokosuu + 1 ; //約数の個数を1個増やす
        }else{
        // 何もしない
        }

 	}

    cout<< yakusuunokosuu << endl;
    }
    
 return 0;
 }


Compiler output:
a.cc: In function 'int main()':
a.cc:22:20: error: lvalue required as left operand of assignment
   22 |             if ( c % ( a + i ) = 0 ) //cがa+iで割り切れる場合
      |                  ~~^~~~~~~~~~~
Language: C++

// http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_D&lang=jp

#include<iostream>
 using namespace std;

//　力づくの解法。cを因数に分解して、積のパターンで約数を作るのがスマートなのだが・・・

int main(){

int a , b, c ;
int yakusuunokosuu = 0 ;

cin >> a >> b >> c ;

    for (int i = 0; i <= 10000; i=i+1 )
 	{
 	    if　( ( a + i ) >= b )
 	    {
        break;
 	    }else{
	        if ( c % ( a + i ) =＝ 0 ) //cがa+iで割り切れる場合
            {
             yakusuunokosuu = yakusuunokosuu + 1 ; //約数の個数を1個増やす
            }else{
            // 何もしない
            ｝
        }

 	}

    cout<< yakusuunokosuu << endl;
    }
    
 return 0;
 }


Compiler output:
a.cc:17:13: error: extended character 　 is not valid in an identifier
   17 |             if　( ( a + i ) >= b )
      |             ^
a.cc: In function 'int main()':
a.cc:17:13: error: 'if\U00003000' was not declared in this scope
   17 |             if　( ( a + i ) >= b )
      |             ^~~~
a.cc:20:14: error: 'else' without a previous 'if'
   20 |             }else{
      |              ^~~~
a.cc:21:37: error: '\U0000ff1d' was not declared in this scope
   21 |                 if ( c % ( a + i ) =＝ 0 ) //cがa+iで割り切れる場合
      |                                     ^~
a.cc:21:39: error: expected ')' before numeric constant
   21 |                 if ( c % ( a + i ) =＝ 0 ) //cがa+iで割り切れる場合
      |                    ~                  ^~
      |                                       )
a.cc:26:13: error: '\U0000ff5d' was not declared in this scope
   26 |             ｝
      |             ^~
Language: C++

// http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_D&lang=jp

#include<iostream>
 using namespace std;

//　力づくの解法。cを因数に分解して、積のパターンで約数を作るのがスマートなのだが・・・

int main(){

int a , b, c ;
int yakusuunokosuu = 0 ;

cin >> a >> b >> c ;

    for (int i = 0; i <= 10000; i=i+1 )
 	{
 	    if　( ( a + i ) >= b )
 	    {
        break;
 	    }else{

	        if ( c % ( a + i ) =＝ 0 ) //cがa+iで割り切れる場合
            {
             yakusuunokosuu = yakusuunokosuu + 1 ; //約数の個数を1個増やす
            }else{
            // 何もしない
            ｝
        }

 	}

cout<< yakusuunokosuu << endl;
    
return 0;
 }


Compiler output:
a.cc:17:13: error: extended character 　 is not valid in an identifier
   17 |             if　( ( a + i ) >= b )
      |             ^
a.cc: In function 'int main()':
a.cc:17:13: error: 'if\U00003000' was not declared in this scope
   17 |             if　( ( a + i ) >= b )
      |             ^~~~
a.cc:20:14: error: 'else' without a previous 'if'
   20 |             }else{
      |              ^~~~
a.cc:22:37: error: '\U0000ff1d' was not declared in this scope
   22 |                 if ( c % ( a + i ) =＝ 0 ) //cがa+iで割り切れる場合
      |                                     ^~
a.cc:22:39: error: expected ')' before numeric constant
   22 |                 if ( c % ( a + i ) =＝ 0 ) //cがa+iで割り切れる場合
      |                    ~                  ^~
      |                                       )
a.cc:27:13: error: '\U0000ff5d' was not declared in this scope
   27 |             ｝
      |             ^~
a.cc:35:3: error: expected '}' at end of input
   35 |  }
      |   ^
a.cc:8:11: note: to match this '{'
    8 | int main(){
      |           ^
Language: C++

// http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_D&lang=jp

#include<iostream>
 using namespace std;

//　力づくの解法。cを因数に分解して、積のパターンで約数を作るのがスマートなのだが・・・

int main(){

int a , b, c ;
int yakusuunokosuu　= 0 ;

cin >> a >> b >> c ;

    for (int i = 0; i <= 10000; i=i+1 )
 	{
 	    if　( ( a + i ) >= b )
 	    {
        break;
 	    }else{

	        if ( c % ( a + i ) == 0 ) //cがa+iで割り切れる場合
            {
             yakusuunokosuu = yakusuunokosuu + 1 ; //約数の個数を1個増やす
            }else{
            // 何もしない
            ｝
        }

 	}

cout<< yakusuunokosuu << endl;  
return 0;

}


Compiler output:
a.cc:11:5: error: extended character 　 is not valid in an identifier
   11 | int yakusuunokosuu　= 0 ;
      |     ^
a.cc:17:13: error: extended character 　 is not valid in an identifier
   17 |             if　( ( a + i ) >= b )
      |             ^
a.cc: In function 'int main()':
a.cc:17:13: error: 'if\U00003000' was not declared in this scope
   17 |             if　( ( a + i ) >= b )
      |             ^~~~
a.cc:20:14: error: 'else' without a previous 'if'
   20 |             }else{
      |              ^~~~
a.cc:24:14: error: 'yakusuunokosuu' was not declared in this scope; did you mean 'yakusuunokosuu　'?
   24 |              yakusuunokosuu = yakusuunokosuu + 1 ; //約数の個数を1個増やす
      |              ^~~~~~~~~~~~~~
      |              yakusuunokosuu　
a.cc:27:13: error: '\U0000ff5d' was not declared in this scope
   27 |             ｝
      |             ^~
a.cc:32:8: error: 'yakusuunokosuu' was not declared in this scope; did you mean 'yakusuunokosuu　'?
   32 | cout<< yakusuunokosuu << endl;
      |        ^~~~~~~~~~~~~~
      |        yakusuunokosuu　
a.cc:35:2: error: expected '}' at end of input
   35 | }
      |  ^
a.cc:8:11: note: to match this '{'
    8 | int main(){
      |           ^
Language: C++

// http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_D&lang=jp

#include<iostream>
 using namespace std;

//　力づくの解法。cを因数に分解して、積のパターンで約数を作るのがスマートなのだが・・・

int main(){

    int a , b, c ;
    int yakusuunokosuu　= 0 ;

    cin >> a >> b >> c ;

    for (int i = 0; i <= 10000; i=i+1 )
 	{
 	    if　( ( a + i ) >= b )
 	    {
        break;
 	    }else{
	        if ( c % ( a + i ) == 0 ) //cがa+iで割り切れる場合
            {
             yakusuunokosuu = yakusuunokosuu + 1 ; //約数の個数を1個増やす
            }else{
            // 何もしない
            }
        }

 	}

    cout<< yakusuunokosuu << endl;  
    return 0;

}


Compiler output:
a.cc:11:9: error: extended character 　 is not valid in an identifier
   11 |     int yakusuunokosuu　= 0 ;
      |         ^
a.cc:17:13: error: extended character 　 is not valid in an identifier
   17 |             if　( ( a + i ) >= b )
      |             ^
a.cc: In function 'int main()':
a.cc:17:13: error: 'if\U00003000' was not declared in this scope
   17 |             if　( ( a + i ) >= b )
      |             ^~~~
a.cc:20:14: error: 'else' without a previous 'if'
   20 |             }else{
      |              ^~~~
a.cc:23:14: error: 'yakusuunokosuu' was not declared in this scope; did you mean 'yakusuunokosuu　'?
   23 |              yakusuunokosuu = yakusuunokosuu + 1 ; //約数の個数を1個増やす
      |              ^~~~~~~~~~~~~~
      |              yakusuunokosuu　
a.cc:31:12: error: 'yakusuunokosuu' was not declared in this scope; did you mean 'yakusuunokosuu　'?
   31 |     cout<< yakusuunokosuu << endl;
      |            ^~~~~~~~~~~~~~
      |            yakusuunokosuu
Language: C++

#include <iostream>

void main()
{
	int a, b, c;
	std::cin >> a >> b >> c;

	int count = 0;
	for (int i = a; i <= b; ++i)
	{
		if (c % i == 0)
		{
			++count;
		}
	}

	std::cout << count << std::endl;
}


Compiler output:
a.cc:3:1: error: '::main' must return 'int'
    3 | void main()
      | ^~~~
Language: C++

int main(){

int a ;
int i ;
for(i=0;i<10000;i++)
{
cin >> a ;
if(a != 0) cout <<"Case "<< i <<": "<< a <<endl;
else
break;
 }

return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:1: error: 'cin' was not declared in this scope
    7 | cin >> a ;
      | ^~~
a.cc:8:12: error: 'cout' was not declared in this scope
    8 | if(a != 0) cout <<"Case "<< i <<": "<< a <<endl;
      |            ^~~~
a.cc:8:44: error: 'endl' was not declared in this scope
    8 | if(a != 0) cout <<"Case "<< i <<": "<< a <<endl;
      |                                            ^~~~
Language: C++

#include <iostream>
using namespace std;
 
int main(){

int a ;
int i ;
for(i=0;i<10000;i++)
{
cin >> a ;
if(a != 0)
cout<<"Case "<< i <<": "<< a <<endl;
else
break;
 }

return 0;
}


Compiler output:
a.cc:3:1: error: extended character   is not valid in an identifier
    3 |  
      | ^
a.cc:3:1: error: '\U000000a0' does not name a type
    3 |  
      | ^
Language: C++

#include <iostream>
using namespace std;
 
int main(){

int a ;
int i ;
for(i=0;i<10000;i++)
{
cin >> a ;
if(a!=0)
cout<<"Case "<< i <<": "<< a <<endl;
else
break;
 }

return 0;
}




Compiler output:
a.cc:3:1: error: extended character   is not valid in an identifier
    3 |  
      | ^
a.cc:3:1: error: '\U000000a0' does not name a type
    3 |  
      | ^
Language: C++

#include <iostream>
using namespace std;
 
int main(){

int a ;
int i ;
for(i=0;i<10000;i++)
{
cin >> a ;
if(a!=0)
cout<<"Case "<< i <<": "<< a <<endl;
else
break;
}

return 0;
}




Compiler output:
a.cc:3:1: error: extended character   is not valid in an identifier
    3 |  
      | ^
a.cc:3:1: error: '\U000000a0' does not name a type
    3 |  
      | ^
Language: C++

#include<stdio.h>

int main(){
    int a, b, c, d;
    scanf("%d %d %d %d", &a, &b, &c, &d);
    d = 0;
    for(a < b; a++){
        if(a%c == 0){
            d++;
        }
    }
    printf("%d\n", d);
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:19: error: expected ';' before ')' token
    7 |     for(a < b; a++){
      |                   ^
      |                   ;
Language: C++

#include<stdio.h>

int main(){
    int a, b, c, d;
    scanf("%d %d %d %d", &a, &b, &c, &d);
    d = 0;
    for(a < b; a++){
        if(a % c == 0){
            d++;
        }
    }
    printf("%d\n", d);
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:19: error: expected ';' before ')' token
    7 |     for(a < b; a++){
      |                   ^
      |                   ;
Language: C++

#include<stdio.h>

int main(){
    int a, b, c, d;
    scanf("%d %d %d %d", &a, &b, &c, &d);
    d = 0;
    for (a < b; a++){
        if(a % c == 0){
            d++;
        }
    }
    printf("%d\n", d);
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:20: error: expected ';' before ')' token
    7 |     for (a < b; a++){
      |                    ^
      |                    ;
Language: C++

#include<stdio.h>

int main(){
    int a, b, c, d;
    scanf("%d %d %d %d", &a, &b, &c, &d);
    d = 0;
    for (a =< b; a++){
        if(a % c == 0){
            d++;
        }
    }
    printf("%d\n", d);
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: expected primary-expression before '<' token
    7 |     for (a =< b; a++){
      |             ^
a.cc:7:21: error: expected ';' before ')' token
    7 |     for (a =< b; a++){
      |                     ^
      |                     ;