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

#include <stdio.h>
int main (void){
double a,b,c,d=0 ;
printf("A ;") ;
scanf("%lf",&a) ;
printf("B ;") ;
scanf("%lf",&b) ;
printf("C ;") ;
scanf("%lf",&c) ;
if(c%a==0){
d++ ; }
if(c%b==0){
d++ ; }
printf("%.1lf???\n",d) ;
return 0 ;
}

Compiler output:
main.c: In function 'main':
main.c:10:5: error: invalid operands to binary % (have 'double' and 'double')
   10 | if(c%a==0){
      |     ^
main.c:12:5: error: invalid operands to binary % (have 'double' and 'double')
   12 | if(c%b==0){
      |     ^
Language: C

#include <stdio.h>
int main (void){
double a,b,c,d=0 ;
printf("A ;") ;
scanf("%lf",&a) ;
printf("B ;") ;
scanf("%lf",&b) ;
printf("C ;") ;
scanf("%lf",&c) ;
if(c%a==0.00){
d++ ; }
if(c%b==0.00){
d++ ; }
printf("%.1lf???\n",d) ;
return 0 ;
}

Compiler output:
main.c: In function 'main':
main.c:10:5: error: invalid operands to binary % (have 'double' and 'double')
   10 | if(c%a==0.00){
      |     ^
main.c:12:5: error: invalid operands to binary % (have 'double' and 'double')
   12 | if(c%b==0.00){
      |     ^
Language: C

#include <stdio.h>
int main (void){
double a,b,c,d=0.00 ;
printf("A ;") ;
scanf("%lf",&a) ;
printf("B ;") ;
scanf("%lf",&b) ;
printf("C ;") ;
scanf("%lf",&c) ;
if(c%a==0.00){
d++ ; }
if(c%b==0.00){
d++ ; }
printf("%lf???\n",d) ;
return 0 ;
}

Compiler output:
main.c: In function 'main':
main.c:10:5: error: invalid operands to binary % (have 'double' and 'double')
   10 | if(c%a==0.00){
      |     ^
main.c:12:5: error: invalid operands to binary % (have 'double' and 'double')
   12 | if(c%b==0.00){
      |     ^
Language: C

#include <stdio.h>
int main (void){
double a,b,c,d=0.00,e ;
printf("A ;") ;
scanf("%lf",&a) ;
printf("B ;") ;
scanf("%lf",&b) ;
printf("C ;") ;
scanf("%lf",&c) ;
e=c%a;
if(e==0.00){
d++ ; }
e=c%b;
if(e==0.00){
d++ ; }
printf("%lf???\n",d) ;
return 0 ;
}

Compiler output:
main.c: In function 'main':
main.c:10:4: error: invalid operands to binary % (have 'double' and 'double')
   10 | e=c%a;
      |    ^
main.c:13:4: error: invalid operands to binary % (have 'double' and 'double')
   13 | e=c%b;
      |    ^
Language: C

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

scanf("%d",&a) ;

scanf("%d",&b) ;

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

Compiler output:
main.c: In function 'main':
main.c:3:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    3 | int i.a,b,c,d=0 ;
      |      ^
main.c:3:6: error: expected expression before '.' token
main.c:3:9: error: 'b' undeclared (first use in this function)
    3 | int i.a,b,c,d=0 ;
      |         ^
main.c:3:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:3:11: error: 'c' undeclared (first use in this function)
    3 | int i.a,b,c,d=0 ;
      |           ^
main.c:3:13: error: 'd' undeclared (first use in this function)
    3 | int i.a,b,c,d=0 ;
      |             ^
main.c:5:13: error: 'a' undeclared (first use in this function)
    5 | scanf("%d",&a) ;
      |             ^
main.c:10:6: error: 'i' undeclared (first use in this function)
   10 | for( i=a;i<=b;i++){
      |      ^
Language: C

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

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

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

Compiler output:
main.c: In function 'main':
main.c:3:25: error: 'count' undeclared (first use in this function)
    3 | int a=0;int b=0;int c=0;count=0;
      |                         ^~~~~
main.c:3:25: note: each undeclared identifier is reported only once for each function it appears in
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:3:25: error: 'count' undeclared (first use in this function)
    3 | int a=0;int b=0;int c=0;count=0;
      |                         ^~~~~
main.c:3:25: note: each undeclared identifier is reported only once for each function it appears in
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:4:24: error: expected identifier before '&' token
    4 | scanf("%d %d %d",&a,&b.&c);
      |                        ^
main.c:8:1: error: expected declaration or statement at end of input
    8 | }
      | ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:4:24: error: expected identifier before '&' token
    4 | scanf("%d %d %d",&a,&b.&c);
      |                        ^
main.c:8:1: error: expected declaration or statement at end of input
    8 | }
      | ^
Language: C

#include<stidio.h>

int mod(int x, int y, int z);

int main(void){
  int a, b, c;
  int m;
  scanf("%d", a);
  scanf("%d", b);
  scanf("%d", c);
  m = mod(a, b, c);
  printf("%d\n", m);
  
  return 0;
}

int mod(int x, int y, int z){
  int cnt = 0
  int i;
  for(i = x; i =< y; ++i){
    if(z%i == 0){
      cnt += 1;
    }
  }
  return cnt;
}

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

#include<stdio.h>

int mod(int x, int y, int z);

int main(void){
  int a, b, c;
  int m;
  scanf("%d", a);
  scanf("%d", b);
  scanf("%d", c);
  m = mod(a, b, c);
  printf("%d\n", m);
  
  return 0;
}

int mod(int x, int y, int z){
  int cnt = 0
  int i;
  for(i = x; i =< y; ++i){
    if(z%i == 0){
      cnt += 1;
    }
  }
  return cnt;
}

Compiler output:
main.c: In function 'mod':
main.c:19:3: error: expected ',' or ';' before 'int'
   19 |   int i;
      |   ^~~
main.c:20:7: error: 'i' undeclared (first use in this function)
   20 |   for(i = x; i =< y; ++i){
      |       ^
main.c:20:7: note: each undeclared identifier is reported only once for each function it appears in
main.c:20:17: error: expected expression before '<' token
   20 |   for(i = x; i =< y; ++i){
      |                 ^
Language: C

#include<stdio.h>

int mod(int x, int y, int z);

int main(void){
  int a, b, c;
  int m;
  scanf("%d", &a);
  scanf("%d", &b);
  scanf("%d", &c);
  m = mod(a, b, c);
  printf("%d\n", m);
  
  return 0;
}

int mod(int x, int y, int z){
  int cnt = 0
  int i;
  for(i = x; i =< y; ++i){
    if(z%i == 0){
      cnt += 1;
    }
  }
  return cnt;
}

Compiler output:
main.c: In function 'mod':
main.c:19:3: error: expected ',' or ';' before 'int'
   19 |   int i;
      |   ^~~
main.c:20:7: error: 'i' undeclared (first use in this function)
   20 |   for(i = x; i =< y; ++i){
      |       ^
main.c:20:7: note: each undeclared identifier is reported only once for each function it appears in
main.c:20:17: error: expected expression before '<' token
   20 |   for(i = x; i =< y; ++i){
      |                 ^
Language: C

#include<stdio.h>

int mod(int x, int y, int z);

int main(void){
  int a, b, c;
  int m;
  scanf("%d", &a);
  scanf("%d", &b);
  scanf("%d", &c);
  m = mod(a, b, c);
  printf("%d\n", m);
  
  return 0;
}

int mod(int x, int y, int z){
  int cnt = 0;
  int i;
  for(i = x; i =< y; ++i){
    if(z%i == 0){
      cnt += 1;
    }
  }
  return cnt;
}

Compiler output:
main.c: In function 'mod':
main.c:20:17: error: expected expression before '<' token
   20 |   for(i = x; i =< y; ++i){
      |                 ^
Language: C

#include<stdio.h>

int main(void)

{

int a,b,c;

int count=0;

int i;

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

for(i=a;i<=b;i++)

{

if(c%i==0) count++;

???

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

return 0;

???

Compiler output:
main.c: In function 'main':
main.c:21:1: error: expected expression before '?' token
   21 | ???
      | ^
main.c:27:1: error: expected expression before '?' token
   27 | ???
      | ^
main.c:27:3: error: expected declaration or statement at end of input
   27 | ???
      |   ^
main.c:27:3: error: expected declaration or statement at end of input
Language: C

#include<stdio.h>

int main (void){

int a,b,c,i,count;

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

for(i=a;i<=b;i++){

if(i-s*(i/c)=0){

cpunt++

}

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

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:7:1: error: implicit declaration of function 'scnanf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    7 | scnanf("%d,%d,%d",&a,&b,&c);
      | ^~~~~~
      | scanf
main.c:11:6: error: 's' undeclared (first use in this function)
   11 | if(i-s*(i/c)=0){
      |      ^
main.c:11:6: note: each undeclared identifier is reported only once for each function it appears in
main.c:13:1: error: 'cpunt' undeclared (first use in this function); did you mean 'count'?
   13 | cpunt++
      | ^~~~~
      | count
main.c:13:8: error: expected ';' before '}' token
   13 | cpunt++
      |        ^
      |        ;
   14 | 
   15 | }
      | ~       
main.c:21:1: error: expected declaration or statement at end of input
   21 | }
      | ^
Language: C

#include<stdio.h>

int main (void){

int a,b,c,i,count;

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

for(i=a;i<=b;i++){

if(i-s*(i/c)=0){

cpunt++

}

}

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

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:7:1: error: implicit declaration of function 'scnanf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    7 | scnanf("%d,%d,%d",&a,&b,&c);
      | ^~~~~~
      | scanf
main.c:11:6: error: 's' undeclared (first use in this function)
   11 | if(i-s*(i/c)=0){
      |      ^
main.c:11:6: note: each undeclared identifier is reported only once for each function it appears in
main.c:13:1: error: 'cpunt' undeclared (first use in this function); did you mean 'count'?
   13 | cpunt++
      | ^~~~~
      | count
main.c:13:8: error: expected ';' before '}' token
   13 | cpunt++
      |        ^
      |        ;
   14 | 
   15 | }
      | ~
Language: C

#include<stdio.h>

int main (void){

int a,b,c,i,count;

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

for(i=a;i<=b;i++){

if(i-s*(i/c)=0){

count++

}

}

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

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:7:1: error: implicit declaration of function 'scnanf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    7 | scnanf("%d,%d,%d",&a,&b,&c);
      | ^~~~~~
      | scanf
main.c:11:6: error: 's' undeclared (first use in this function)
   11 | if(i-s*(i/c)=0){
      |      ^
main.c:11:6: note: each undeclared identifier is reported only once for each function it appears in
main.c:13:8: error: expected ';' before '}' token
   13 | count++
      |        ^
      |        ;
   14 | 
   15 | }
      | ~
Language: C

#include<stdio.h>

int main (void){

int a,b,c,i,count;

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

for(i=a;i<=b;i++){

if(i-c*(i/c)=0){

count++

}

}

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

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:7:1: error: implicit declaration of function 'scnanf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    7 | scnanf("%d,%d,%d",&a,&b,&c);
      | ^~~~~~
      | scanf
main.c:11:13: error: lvalue required as left operand of assignment
   11 | if(i-c*(i/c)=0){
      |             ^
main.c:13:8: error: expected ';' before '}' token
   13 | count++
      |        ^
      |        ;
   14 | 
   15 | }
      | ~
Language: C

#include<stdio.h>

int main (void){

int a,b,c,i,count;

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

for(i=a;i<=b;i++){

if(c-(c/i)=0){

count++

}

}

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

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:7:1: error: implicit declaration of function 'scnanf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    7 | scnanf("%d,%d,%d",&a,&b,&c);
      | ^~~~~~
      | scanf
main.c:11:11: error: lvalue required as left operand of assignment
   11 | if(c-(c/i)=0){
      |           ^
main.c:13:8: error: expected ';' before '}' token
   13 | count++
      |        ^
      |        ;
   14 | 
   15 | }
      | ~
Language: C

#include<stdio.h>

int main (void){

int a,b,c,i,count;

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

for(i=a;i<=b;i++){

if(c-c/i=0){

count++

}

}

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

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:7:1: error: implicit declaration of function 'scnanf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    7 | scnanf("%d,%d,%d",&a,&b,&c);
      | ^~~~~~
      | scanf
main.c:11:9: error: lvalue required as left operand of assignment
   11 | if(c-c/i=0){
      |         ^
main.c:13:8: error: expected ';' before '}' token
   13 | count++
      |        ^
      |        ;
   14 | 
   15 | }
      | ~
Language: C

#include<stdio.h>

int main (void){

int a,b,c,i,count;

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

for(i=a;i<=b;i++){

if(c=0){

count++

}

}

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

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:7:1: error: implicit declaration of function 'scnanf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    7 | scnanf("%d,%d,%d",&a,&b,&c);
      | ^~~~~~
      | scanf
main.c:13:8: error: expected ';' before '}' token
   13 | count++
      |        ^
      |        ;
   14 | 
   15 | }
      | ~
Language: C

#include<stdio.h>

int main (void){

int a,b,c,i,count;

cont=0;

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

for(i=a;i<=b;i++){

if(i-i*c/i=0){

count++

}

}

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

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:7:1: error: 'cont' undeclared (first use in this function); did you mean 'count'?
    7 | cont=0;
      | ^~~~
      | count
main.c:7:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:1: error: implicit declaration of function 'scnanf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    9 | scnanf("%d,%d,%d",&a,&b,&c);
      | ^~~~~~
      | scanf
main.c:13:11: error: lvalue required as left operand of assignment
   13 | if(i-i*c/i=0){
      |           ^
main.c:15:8: error: expected ';' before '}' token
   15 | count++
      |        ^
      |        ;
   16 | 
   17 | }
      | ~
Language: C

#include<stdio.h>

int main (void){

int a,b,c,i,count;

count=0;

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

for(i=a;i<=b;i++){

if(i-i*c/i=0){

count++

}

}

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

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:9:1: error: implicit declaration of function 'scnanf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    9 | scnanf("%d,%d,%d",&a,&b,&c);
      | ^~~~~~
      | scanf
main.c:13:11: error: lvalue required as left operand of assignment
   13 | if(i-i*c/i=0){
      |           ^
main.c:15:8: error: expected ';' before '}' token
   15 | count++
      |        ^
      |        ;
   16 | 
   17 | }
      | ~
Language: C

#include<stdio.h>

int main (void){

int a,b,c,i,count;

count=0;

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

for(i=a;i<=b;i++){

if(c-i*c/i=0){

count++

}

}

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

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:9:1: error: implicit declaration of function 'scnanf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    9 | scnanf("%d,%d,%d",&a,&b,&c);
      | ^~~~~~
      | scanf
main.c:13:11: error: lvalue required as left operand of assignment
   13 | if(c-i*c/i=0){
      |           ^
main.c:15:8: error: expected ';' before '}' token
   15 | count++
      |        ^
      |        ;
   16 | 
   17 | }
      | ~
Language: C

#include<stdio.h>

int main(void)

{

int a,b,c,i;

int count;

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

for(i=a;count=0;i<=b;i++){

  if(c%i==0) count++;

}

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

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:11:20: error: expected expression before '%' token
   11 | scanf("%d %d %d\n",%a,&b,&c);
      |                    ^
main.c:13:21: error: expected ')' before ';' token
   13 | for(i=a;count=0;i<=b;i++){
      |    ~                ^
      |                     )
Language: C

#include<stdio.h>

int main(void){

int a,b,c,d;

d=0;

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

for(a;a<=b;a++){

  if(c%a==0){

d=d+1;


}

}


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

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:9:18: error: expected expression before '%' token
    9 | scanf("%d %d %d",%a,&b,&c);
      |                  ^
Language: C

#include<stdio.h>

int main(void){


int a,b,c,i;


int count;


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


for(i=a,count=o;i<=b;i++){


if(c%i==0}count++;


}


printf"%d\n",count);


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:15:15: error: 'o' undeclared (first use in this function)
   15 | for(i=a,count=o;i<=b;i++){
      |               ^
main.c:15:15: note: each undeclared identifier is reported only once for each function it appears in
main.c:18:10: error: expected ')' before '}' token
   18 | if(c%i==0}count++;
      |   ~      ^
      |          )
main.c:18:10: error: expected expression before '}' token
main.c: At top level:
main.c:24:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before string constant
   24 | printf"%d\n",count);
      |       ^~~~~~
main.c:27:1: error: expected identifier or '(' before 'return'
   27 | return 0;
      | ^~~~~~
main.c:30:1: error: expected identifier or '(' before '}' token
   30 | }
      | ^
Language: C

#include<stdio.h>

int main(void){


int a,b,c,i;


int count;


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


for(i=a,count=0;i<=b;i++){


if(c%i==0}count++;


}


printf"%d\n",count);


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:18:10: error: expected ')' before '}' token
   18 | if(c%i==0}count++;
      |   ~      ^
      |          )
main.c:18:10: error: expected expression before '}' token
main.c: At top level:
main.c:24:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before string constant
   24 | printf"%d\n",count);
      |       ^~~~~~
main.c:27:1: error: expected identifier or '(' before 'return'
   27 | return 0;
      | ^~~~~~
main.c:30:1: error: expected identifier or '(' before '}' token
   30 | }
      | ^
Language: C

#include<stdio.h>

int main(void){


int a,b,c,i;


int count;


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


for(i=a,count=0;i<=b;i++){


if(c%i==0)count++;


}


printf"%d\n",count);


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:24:7: error: expected ';' before string constant
   24 | printf"%d\n",count);
      |       ^~~~~~
      |       ;
main.c:24:19: error: expected statement before ')' token
   24 | printf"%d\n",count);
      |                   ^
Language: C

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

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

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

return 0; }

Compiler output:
main.c:1:19: warning: extra tokens at end of #include directive
    1 | #include<stdio.h> int main(void){ int a,b,c; int count=0; int i; scanf("%d %d %d",&a,&b,&c);
      |                   ^~~
main.c:3:1: error: expected identifier or '(' before 'for'
    3 | for(i=a;i<=b;i++){ if(c%i==0) count++; }
      | ^~~
main.c:3:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<=' token
    3 | for(i=a;i<=b;i++){ if(c%i==0) count++; }
      |          ^~
main.c:3:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '++' token
    3 | for(i=a;i<=b;i++){ if(c%i==0) count++; }
      |               ^~
main.c:5:8: error: expected declaration specifiers or '...' before string constant
    5 | printf("%d\n",count);
      |        ^~~~~~
main.c:5:15: error: unknown type name 'count'
    5 | printf("%d\n",count);
      |               ^~~~~
main.c:7:1: error: expected identifier or '(' before 'return'
    7 | return 0; }
      | ^~~~~~
main.c:7:11: error: expected identifier or '(' before '}' token
    7 | return 0; }
      |           ^
Language: C

#include<stdio.h>

int main(void){

int a,b,c;

int count=0;

int i;

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

for(i=a;i<=b;i++){

if(c%i==0){

count++;

}

}

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

return 0;

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

#include<stdio.h>

int main(void){

int a,b,c;

int count=0;

int i;

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

for(i=a;i<=b;i++){

if(c%i==0){

count++;

 }

}

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

return 0;

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

#include<stdio.h>

int main(void){

int a,b,c;

int count=0;

int i;

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

for(i=a;i<=b;i++){

if(c%i==0){

count++;


}

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

return 0;
}

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

#include <stdio.h>

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

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:10: error: 'i' undeclared (first use in this function)
    8 |     for (i = a; i <= b; i++)
      |          ^
main.c:8:10: 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,i;
  int count;
  scanf("%d %d %d\n",&a, &b,&c);
  for(i=a,count=0;i<=b;i++){
      if(c%i==0)count ++;
  }
  print("%d\n",count);
return 0;
}

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

#include<stdio.h>

int main (void){

int a,b,c;

int i;

int count=0;

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

for(i=a;i<=b;i++){

if(c%i==0){

count++;

}

}

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

retun 0;

}

Compiler output:
main.c: In function 'main':
main.c:25:1: error: 'retun' undeclared (first use in this function)
   25 | retun 0;
      | ^~~~~
main.c:25:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:25:6: error: expected ';' before numeric constant
   25 | retun 0;
      |      ^~
      |      ;
Language: C

include<stdio.h>

int main(void){
int a,b,c,d;


d=0


scanf("%d\n",d);


return 0;


}

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

int a,b,c;

int i;


int count=0;


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


for(i=a;i<=b;i++){


if(c%i==0){


count++;


}


}


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


return 0;

}

Compiler output:
main.c:9:7: error: expected declaration specifiers or '...' before string constant
    9 | scanf("%d %d %d",&a,&b,&c);
      |       ^~~~~~~~~~
main.c:9:18: error: expected declaration specifiers or '...' before '&' token
    9 | scanf("%d %d %d",&a,&b,&c);
      |                  ^
main.c:9:21: error: expected declaration specifiers or '...' before '&' token
    9 | scanf("%d %d %d",&a,&b,&c);
      |                     ^
main.c:9:24: error: expected declaration specifiers or '...' before '&' token
    9 | scanf("%d %d %d",&a,&b,&c);
      |                        ^
main.c:12:1: error: expected identifier or '(' before 'for'
   12 | for(i=a;i<=b;i++){
      | ^~~
main.c:12:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<=' token
   12 | for(i=a;i<=b;i++){
      |          ^~
main.c:12:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '++' token
   12 | for(i=a;i<=b;i++){
      |               ^~
main.c:27:8: error: expected declaration specifiers or '...' before string constant
   27 | printf("%d\n",count);
      |        ^~~~~~
main.c:27:15: error: expected declaration specifiers or '...' before 'count'
   27 | printf("%d\n",count);
      |               ^~~~~
main.c:30:1: error: expected identifier or '(' before 'return'
   30 | return 0;
      | ^~~~~~
main.c:32:1: error: expected identifier or '(' before '}' token
   32 | }
      | ^
Language: C

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

Compiler output:
main.c:8:8: error: expected declaration specifiers or '...' before string constant
    8 | printf("%d\n",count);
      |        ^~~~~~
main.c:8:15: error: unknown type name 'count'
    8 | printf("%d\n",count);
      |               ^~~~~
main.c:9:1: error: expected identifier or '(' before 'return'
    9 | return 0;
      | ^~~~~~
main.c:10:1: error: expected identifier or '(' before '}' token
   10 | }
      | ^
Language: C

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



}

Compiler output:
main.c:17:1: error: expected identifier or '(' before '}' token
   17 | }
      | ^
Language: C

  


#include<stdio.h>

int main(void){

int a,b,c;

int count=0;

int i;

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

for(i=a;i<=b;i++)

{

if(c%i==0)count++;

}

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

return 0;

}
 

Compiler output:
main.c: In function 'main':
main.c:14:17: error: invalid operands to binary & (have 'char *' and 'int')
   14 | scanf("%d %d %d"&a,&b,&c);
      |       ~~~~~~~~~~^
      |       |
      |       char *
Language: C

#include<stdio.h>

int main(void){


  int a,b,c,i;


  int count;


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


  for(i = a,count = 0;i <= b;i++)


    if(c%i == 0)count ++;


  }


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


return 0;


}

Compiler output:
main.c:24:10: error: expected declaration specifiers or '...' before string constant
   24 |   printf("%d\n",count);
      |          ^~~~~~
main.c:24:17: error: unknown type name 'count'
   24 |   printf("%d\n",count);
      |                 ^~~~~
main.c:27:1: error: expected identifier or '(' before 'return'
   27 | return 0;
      | ^~~~~~
main.c:30:1: error: expected identifier or '(' before '}' token
   30 | }
      | ^
Language: C



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

 
Compile Error Logs: 

You are not authorized to see the message. 
 
 
Status 
Judge: 20/20  C  CPU: 00.00 sec  Memory: 596 KB  Length: 267 B  2014-06-16 23:41  2014-06-16 23:41  
Results for testcases 
Case # Verdict CPU Time Memory In Out Case Name 
 Case #1: : Accepted  00.00 sec 596 KB 8 B 2 B 00_sample_00.in 
 Case #2: : Accepted  00.00 sec 596 KB 6 B 2 B 01_corner_00.in 
  

Compiler output:
main.c:23:1: error: unknown type name 'Compile'
   23 | Compile Error Logs:
      | ^~~~~~~
main.c:23:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Logs'
   23 | Compile Error Logs:
      |               ^~~~
main.c:31:6: error: stray '#' in program
   31 | Case # Verdict CPU Time Memory In Out Case Name
      |      ^
main.c:32:7: error: stray '#' in program
   32 |  Case #1: : Accepted  00.00 sec 596 KB 8 B 2 B 00_sample_00.in
      |       ^
main.c:32:48: error: invalid suffix "_sample_00.in" on integer constant
   32 |  Case #1: : Accepted  00.00 sec 596 KB 8 B 2 B 00_sample_00.in
      |                                                ^~~~~~~~~~~~~~~
main.c:33:7: error: stray '#' in program
   33 |  Case #2: : Accepted  00.00 sec 596 KB 6 B 2 B 01_corner_00.in
      |       ^
main.c:33:48: error: invalid suffix "_corner_00.in" on integer constant
   33 |  Case #2: : Accepted  00.00 sec 596 KB 6 B 2 B 01_corner_00.in
      |                                                ^~~~~~~~~~~~~~~
Language: C

#include <stdio.h>

int main (void){

int a,b,c;

int i;

int count=0;

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

for(i=a;I<=b;i++){

if(c%i==0){

count++;

}

}

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

return 0;

}

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

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

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

 return 0;
}

Compiler output:
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int]
    1 | main()
      | ^~~~
main.c: In function 'main':
main.c:7:2: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    7 |  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 | main()
main.c:7:2: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    7 |  scanf("%d%d%d", &a, &b, &c);
      |  ^~~~~
main.c:7:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:10:12: error: lvalue required as left operand of assignment
   10 |   if(c % i = 0)n = n++;
      |            ^
main.c:12:2: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   12 |  printf("%d", n);
      |  ^~~~~~
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

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

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

 return 0;
}

Compiler output:
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int]
    1 | main()
      | ^~~~
main.c: In function 'main':
main.c:7:2: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    7 |  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 | main()
main.c:7:2: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    7 |  scanf("%d%d%d", &a, &b, &c);
      |  ^~~~~
main.c:7:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:10:12: error: lvalue required as left operand of assignment
   10 |   if(c % i = 0)n = n++;
      |            ^
main.c:12:2: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   12 |  printf("%d\n", n);
      |  ^~~~~~
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 <stdio.h>

int main(){
    int a,b,c,ans=0;
    scanf("%d %d %d",&a,&b,&c);
    while(int i=a;i<=b;i++){
        if(c%i==0){
            ans++;
        }
    }
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:11: error: expected expression before 'int'
    6 |     while(int i=a;i<=b;i++){
      |           ^~~
main.c:7:14: error: 'i' undeclared (first use in this function)
    7 |         if(c%i==0){
      |              ^
main.c:7:14: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>

int main(){
    int a,b,c,ans=0;
    scanf("%d %d %d",&a,&b,&c);
    int i;
    i=a;
    while(i<=b;i++){
        if(c%i==0){
            ans++;
        }
    }
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:15: error: expected ')' before ';' token
    8 |     while(i<=b;i++){
      |          ~    ^
      |               )
Language: C

#include <stdio.h>

int main(){
    int a,b,c,ans=0;
    scanf("%d %d %d",&a,&b,&c);
    int i;
    while(i<=b;i++){
        if(c%i==0){
            ans++;
        }
    }
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:15: error: expected ')' before ';' token
    7 |     while(i<=b;i++){
      |          ~    ^
      |               )
Language: C

#include <stdio.h>

int main(){
    int a,b,c,ans=0;
    scanf("%d %d %d",&a,&b,&c);
    int i;
    while(i=a;i<=b;i++){
        if(c%i==0){
            ans++;
        }
    }
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:14: error: expected ')' before ';' token
    7 |     while(i=a;i<=b;i++){
      |          ~   ^
      |              )
Language: C

#include <stdio.h>

int main(){
    int a,b,c,ans=0;
    scanf("%d %d %d",&a,&b,&c);
    int i;
    while(i=a,i<=b,i++){
        if(c%i==0)ans++;
    }
    printf("ans")
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:18: error: expected ';' before 'return'
   10 |     printf("ans")
      |                  ^
      |                  ;
   11 |     return 0;
      |     ~~~~~~
Language: C

#include <stdio.h>
#include <iostream>

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

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

#include <stdio.h>

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

Compiler output:
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int]
    3 | main()
      | ^~~~
Language: C

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:7:21: error: expected ';' before ')' token
    7 |     for(i=a,i<=b,i++){
      |                     ^
      |                     ;
main.c:7:21: error: expected expression before ')' token
Language: C

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

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

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

Compiler output:
main.c: In function 'main':
main.c:9:23: error: expected ';' before ':' token
    9 |             count += 1:
      |                       ^
      |                       ;
Language: C

#include<stdio.h>

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

do{

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

}while(a>b);

for(d=a,i=0;d>b;d++){

if(c%d==0){i++;}

}

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

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:17: error: invalid operands to binary & (have 'char *' and 'int')
    8 | scanf("%d %d %d"&a,&b,&c);
      |       ~~~~~~~~~~^
      |       |
      |       char *
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:3:19: error: expected identifier or '(' before ',' token
    3 |         int a,b,c,,d,count = 0;
      |                   ^
main.c:6:17: error: 'd' undeclared (first use in this function)
    6 |                 d = c % a;
      |                 ^
main.c:6:17: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:28: error: 'count' undeclared (first use in this function)
    7 |                 if(d == 0) count++;
      |                            ^~~~~
Language: C

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

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

  }????

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

Compiler output:
main.c:2:1: error: expected identifier or '(' before '?' token
    2 | ??
      | ^
Language: C

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

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

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

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

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

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

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

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

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

#include<stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:10:17: error: expected ';' before 'return'
   10 |   printf("%d",x)
      |                 ^
      |                 ;
   11 |   return 0;}
      |   ~~~~~~
Language: C

#include<stdio.h>

int main(void){
	int a,b,c,x,y;
	y = 0;
	scanf("%d %d %d",&a,&b,&c);
	for( x = a ; x < b ; x++ ){
		}
		if(a>10000||b>10000||c>10000||a>b){
			break;
		}
		if(c%x == 0){
			y++;
		}
		
	}
		
	printf("%d",y);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:25: error: break statement not within loop or switch
   10 |                         break;
      |                         ^~~~~
main.c: At top level:
main.c:18:16: error: expected declaration specifiers or '...' before string constant
   18 |         printf("%d",y);
      |                ^~~~
main.c:18:21: error: unknown type name 'y'
   18 |         printf("%d",y);
      |                     ^
main.c:19:9: error: expected identifier or '(' before 'return'
   19 |         return 0;
      |         ^~~~~~
main.c:20:1: error: expected identifier or '(' before '}' token
   20 | }
      | ^
Language: C

#include<stdio.h>

int main(void){
	int a,b,c,x,y;
	y = 0;
	scanf("%d %d %d",&a,&b,&c);
	for( x = a ; x < b ; x++ ){
		}
		if(a>10000||b>10000||c>10000||a>b){
			break;
		}
		if(c%x == 0){
			y++;
		}
		
	}
		
	printf("%d\n",y);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:25: error: break statement not within loop or switch
   10 |                         break;
      |                         ^~~~~
main.c: At top level:
main.c:18:16: error: expected declaration specifiers or '...' before string constant
   18 |         printf("%d\n",y);
      |                ^~~~~~
main.c:18:23: error: unknown type name 'y'
   18 |         printf("%d\n",y);
      |                       ^
main.c:19:9: error: expected identifier or '(' before 'return'
   19 |         return 0;
      |         ^~~~~~
main.c:20:1: error: expected identifier or '(' before '}' token
   20 | }
      | ^
Language: C

#include<stdio.h>

int main(void){
	int a,b,c,x,y;
	y = 0;
	scanf("%d %d %d",&a,&b,&c);
	for( x = a ; x < b ; x++ ){
		}
		if(a>10000||b>10000||c>10000||a>b){
			break;
		}
		if(c%x == 0){
			y++;
		}
		
	
		
	printf("%d\n",y);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:25: error: break statement not within loop or switch
   10 |                         break;
      |                         ^~~~~
Language: C

#include <stdio.h>
#include <iostream>

int main()
{

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

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

    }
    
    return 0;
    
}

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

#include <stdio.h>

int main(void){

	int a, b, d, r;
	double f;

	scanf("%d %d", &a, &b);
		d=a/b;
			r=a%b;
				f=(double)a/(double);
				printf("%d %d %f\n", d, r, f);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:53: error: expected expression before ';' token
   11 |                                 f=(double)a/(double);
      |                                                     ^
Language: C

#include <stdio.h>

int main(void){

	int a, b, d, r;
	double f;

	scanf("%d %d", &a, &b);
		d=a/b;
			r=a%b;
				f=(double)/(double);
				printf("%d %d %f\n", d, r, f);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:43: error: expected expression before '/' token
   11 |                                 f=(double)/(double);
      |                                           ^
Language: C

#include <stdio.h>

int main(void){

	int a, b, d, r;
	double f;

	scanf("%d %d", &a, &b);
		d=a/b;
			r=a%b;
				f=(double)a/(double)b;
				printf("%d\n"f);
	return 0;
}

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

#include<studio.>

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

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

#include<stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:4:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    4 |     int a,b,c,x.cnt=0;
      |                ^
main.c:6:5: error: expected declaration specifiers before 'scanf'
    6 |     scanf("%d %d %d",&a,&b,&c);
      |     ^~~~~
main.c:7:5: error: expected declaration specifiers before 'for'
    7 |     for(x=a;x<=b;x++){
      |     ^~~
main.c:7:13: error: expected declaration specifiers before 'x'
    7 |     for(x=a;x<=b;x++){
      |             ^
main.c:7:18: error: expected declaration specifiers before 'x'
    7 |     for(x=a;x<=b;x++){
      |                  ^
main.c:11:5: error: expected declaration specifiers before 'printf'
   11 |     printf("%d\n",cnt);
      |     ^~~~~~
main.c:12:5: error: expected declaration specifiers before 'return'
   12 |     return 0;
      |     ^~~~~~
main.c:13:1: error: expected declaration specifiers before '}' token
   13 | }
      | ^
main.c:3:5: error: old-style parameter declarations in prototyped function definition
    3 | int main(void)
      |     ^~~~
main.c:15: error: expected '{' at end of input
Language: C

#include<studio.>

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

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

#include<stdio.>

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

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

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

Compiler output:
main.c: In function 'main':
main.c:4:1: error: expected expression before '?' token
    4 | ????????int a,b,c,i,j=0;
      | ^
main.c:5:1: error: expected expression before '?' token
    5 | ????????scanf("%d %d %d",&a,&b,&c);
      | ^
main.c:5:27: error: 'a' undeclared (first use in this function)
    5 | ????????scanf("%d %d %d",&a,&b,&c);
      |                           ^
main.c:5:27: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:30: error: 'b' undeclared (first use in this function)
    5 | ????????scanf("%d %d %d",&a,&b,&c);
      |                              ^
main.c:5:33: error: 'c' undeclared (first use in this function)
    5 | ????????scanf("%d %d %d",&a,&b,&c);
      |                                 ^
main.c:6:1: error: expected expression before '?' token
    6 | ????????for(i=a;i<=b;i++)
      | ^
main.c:13:1: error: expected expression before '?' token
   13 | ????????return 0;
      | ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:4:1: error: expected expression before '?' token
    4 | ????????int a,b,c,i,j=0;
      | ^
main.c:5:1: error: expected expression before '?' token
    5 | ????????scanf("%d %d %d",&a,&b,&c);
      | ^
main.c:5:27: error: 'a' undeclared (first use in this function)
    5 | ????????scanf("%d %d %d",&a,&b,&c);
      |                           ^
main.c:5:27: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:30: error: 'b' undeclared (first use in this function)
    5 | ????????scanf("%d %d %d",&a,&b,&c);
      |                              ^
main.c:5:33: error: 'c' undeclared (first use in this function)
    5 | ????????scanf("%d %d %d",&a,&b,&c);
      |                                 ^
main.c:6:1: error: expected expression before '?' token
    6 | ????????for(i=a;i<=b;i++)
      | ^
main.c:12:1: error: expected expression before '?' token
   12 | ????????return 0;
      | ^