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

#include<stdio.h>

int main(void){


int a,b,d,r;


double f;


scanf("%d",&a);


scnaf("%d",&b);


d=a/b;


r=a%b;


f=(double)a/(double)b;


printf("%d %d %lf\n",d,r,f);


return 0;


}

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

#include<stdio.h>

int main(void)

{


int a,b,d,r;


double f;


scanf("%d",&a);


scnaf("%d",&b);


d=a/b;


r=a%b;


f=(double)a/(double)b;


printf("%d %d %lf\n",d,r,f);


return 0;


}

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

#include <stdio.h>

int main(void)

{


int a,b,d,r;


double f;


scanf("%d",&a);


scnaf("%d",&b);


d=a/b;


r=a%b;


f=(double)a/(double)b;


printf("%d %d %lf\n",d,r,f);


return 0;


}

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

#include <stdio.h>

int main(void)

{

    int a,b;

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


    printf("%d %d %lf\n",a/b,a%b(double)a/(double)b);


    return 0;


}

Compiler output:
main.c: In function 'main':
main.c:12:34: error: expected expression before 'double'
   12 |     printf("%d %d %lf\n",a/b,a%b(double)a/(double)b);
      |                                  ^~~~~~
main.c:12:32: error: called object 'b' is not a function or function pointer
   12 |     printf("%d %d %lf\n",a/b,a%b(double)a/(double)b);
      |                                ^
main.c:7:11: note: declared here
    7 |     int a,b;
      |           ^
main.c:12:41: error: expected ')' before 'a'
   12 |     printf("%d %d %lf\n",a/b,a%b(double)a/(double)b);
      |           ~                             ^
      |                                         )
Language: C

#include<stdio.h>

int main(void)

{

    int a,b;

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


    printf("%d %d %lf\n",a/b,a%b(double)a/(double)b);


    return 0;


}

Compiler output:
main.c: In function 'main':
main.c:12:34: error: expected expression before 'double'
   12 |     printf("%d %d %lf\n",a/b,a%b(double)a/(double)b);
      |                                  ^~~~~~
main.c:12:32: error: called object 'b' is not a function or function pointer
   12 |     printf("%d %d %lf\n",a/b,a%b(double)a/(double)b);
      |                                ^
main.c:7:11: note: declared here
    7 |     int a,b;
      |           ^
main.c:12:41: error: expected ')' before 'a'
   12 |     printf("%d %d %lf\n",a/b,a%b(double)a/(double)b);
      |           ~                             ^
      |                                         )
Language: C

#include<stdio.h>

int main (void)

{

int a,b;

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

printf("%d %d %f\n",a/b,a%b,(double)a/(double)b);

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:9:7: warning: missing terminating " character
    9 | scanf("%d %d,&a,&b);
      |       ^
main.c:9:7: error: missing terminating " character
    9 | scanf("%d %d,&a,&b);
      |       ^~~~~~~~~~~~~~
main.c:11:49: error: expected ')' before ';' token
   11 | printf("%d %d %f\n",a/b,a%b,(double)a/(double)b);
      |                                                 ^
      |                                                 )
main.c:9:6: note: to match this '('
    9 | scanf("%d %d,&a,&b);
      |      ^
main.c:11:1: error: passing argument 1 of 'scanf' makes pointer from integer without a cast [-Wint-conversion]
   11 | printf("%d %d %f\n",a/b,a%b,(double)a/(double)b);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      | |
      | int
In file included from main.c:1:
/usr/include/stdio.h:428:42: note: expected 'const char *' but argument is of type 'int'
  428 | extern int scanf (const char *__restrict __format, ...) __wur;
      |                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:13:10: error: expected ';' before '}' token
   13 | return 0;
      |          ^
      |          ;
   14 | 
   15 | }
      | ~
Language: C

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:7:16: error: conflicting types for 'f'; have 'double'
    7 |         double f;
      |                ^
main.c:5:21: note: previous declaration of 'f' with type 'int'
    5 |         int a,b,d,r,f;
      |                     ^
main.c:13:14: error: expected expression before 'double'
   13 |         f =a(double)/b(double);
      |              ^~~~~~
main.c:13:12: error: called object 'a' is not a function or function pointer
   13 |         f =a(double)/b(double);
      |            ^
main.c:5:13: note: declared here
    5 |         int a,b,d,r,f;
      |             ^
main.c:13:24: error: expected expression before 'double'
   13 |         f =a(double)/b(double);
      |                        ^~~~~~
main.c:13:22: error: called object 'b' is not a function or function pointer
   13 |         f =a(double)/b(double);
      |                      ^
main.c:5:15: note: declared here
    5 |         int a,b,d,r,f;
      |               ^
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 =a(double)/b(double);
	
	printf("%d %d %if\n",d,r,f);
	
	return 0;
	
};

Compiler output:
main.c: In function 'main':
main.c:13:14: error: expected expression before 'double'
   13 |         f =a(double)/b(double);
      |              ^~~~~~
main.c:13:12: error: called object 'a' is not a function or function pointer
   13 |         f =a(double)/b(double);
      |            ^
main.c:5:13: note: declared here
    5 |         int a,b,d,r;
      |             ^
main.c:13:24: error: expected expression before 'double'
   13 |         f =a(double)/b(double);
      |                        ^~~~~~
main.c:13:22: error: called object 'b' is not a function or function pointer
   13 |         f =a(double)/b(double);
      |                      ^
main.c:5:15: note: declared here
    5 |         int a,b,d,r;
      |               ^
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 =a(double)/b;
	
	printf("%d %d %if\n",d,r,f);
	
	return 0;
	
};

Compiler output:
main.c: In function 'main':
main.c:13:14: error: expected expression before 'double'
   13 |         f =a(double)/b;
      |              ^~~~~~
main.c:13:12: error: called object 'a' is not a function or function pointer
   13 |         f =a(double)/b;
      |            ^
main.c:5:13: note: declared here
    5 |         int a,b,d,r;
      |             ^
Language: C

#include <stdio.h>

int main()
{
    int a,b;
    scanf("%d %d",&a,&b);
    printf("%d %d %.5f",a/b,a%d,a/b);
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:31: error: 'd' undeclared (first use in this function)
    7 |     printf("%d %d %.5f",a/b,a%d,a/b);
      |                               ^
main.c:7:31: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include #include <stdio.h>

int main(void)          
{
	double a , b;
	scanf("%lf %lf", &a, &b);

	printf("%d %d %f", (int)a / (int)b, (int)a % (int)b, a / b);
	return 0;
}

Compiler output:
main.c:1:10: error: #include expects "FILENAME" or <FILENAME>
    1 | #include #include <stdio.h>
      |          ^
main.c: In function 'main':
main.c:6:9: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    6 |         scanf("%lf %lf", &a, &b);
      |         ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #include #include <stdio.h>
main.c:6:9: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    6 |         scanf("%lf %lf", &a, &b);
      |         ^~~~~
main.c:6:9: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:8:9: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    8 |         printf("%d %d %f", (int)a / (int)b, (int)a % (int)b, a / b);
      |         ^~~~~~
main.c:8:9: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:8:9: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:8:9: note: include '<stdio.h>' or provide a declaration of 'printf'
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=a*b;


printf("%d %d %d",d r f);


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:15:15: error: invalid operands to binary & (have 'char *' and 'int')
   15 | scanf("%d %d" &a,&b);
      |       ~~~~~~~ ^
      |       |
      |       char *
main.c:27:20: error: expected ')' before 'r'
   27 | printf("%d %d %d",d r f);
      |       ~            ^~
      |                    )
Language: C

#include<stdio.h>

int main(void)

{

int a,b,d,r;

double f,x,y;

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

d=a/b;

r=a%b;

x=a;

y=b;


f=x/y;


printf("%d %d %f",d r f);

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:11:15: error: invalid operands to binary & (have 'char *' and 'int')
   11 | scanf("%d %d" &a,&b);
      |       ~~~~~~~ ^
      |       |
      |       char *
main.c:25:20: error: expected ')' before 'r'
   25 | printf("%d %d %f",d r f);
      |       ~            ^~
      |                    )
Language: C

#include <stdio.h>
int main(void);

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

Compiler output:
main.c:4:1: error: expected identifier or '(' before '{' token
    4 | {
      | ^
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 r f\n");
 
 return 0;
}

Compiler output:
main.c:4:1: error: expected identifier or '(' before '{' token
    4 | {
      | ^
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 %d  %f\n",d,r,f);
 
 return 0;
}

Compiler output:
main.c:4:1: error: expected identifier or '(' before '{' token
    4 | {
      | ^
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 %d  %lf\n",d,r,f);
 
 return 0;
}

Compiler output:
main.c:4:1: error: expected identifier or '(' before '{' token
    4 | {
      | ^
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 %d %lf\n",d,r,f);
 
 return 0;
}

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

#include <stdio.h>
int main(void);

{
 int a,b,d,r;
 double f;
 scanf("%d",&a);
 scanf("%d",&

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

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

#include <stdio.h>
int main(void);

{
 int a,b,d,r;
 double f;
 scanf("%d",&a);
 scanf("%d",&

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

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

#include <stdio.h>
int main(void);

{
 int a,b,d,r;
 double f;
 scanf("%d",&a);
 scanf("%d",&b);

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

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

#include <stdio.h>
int main(void);

{
 int a,b,d,r;
 double f;
 scanf("%d",&a);
 scanf("%d",&b);

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

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

#include <stdio.h>
int main(void);

{
 int a,b,d,r;
 double f;
 scanf("%d",&a);
 scanf("%d",&b);

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

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

#include <stdio.h>
int main(void)

{
 int a,b,d,r;
 double f;
 scanf("%d",&a);
 scanf("%d",&b);

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


#include<stdio.h>
int main(void){
    int a,b;
    int d,r;
    double f;
    scanf("%d %d",&a,&b);
    d = a / b;
    r = a % b;
    f = (double)a / (double)b;
    printf("%d %d %.5f\n",d,r,f);
    return 0;
}
 

 

Compiler output:
main.c:21:5: error: redefinition of 'main'
   21 | int main(void){
      |     ^~~~
main.c:2:5: note: previous definition of 'main' with type 'int(void)'
    2 | int main(void)
      |     ^~~~
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 %d %lf\n",d,r,f);

 return 0;
}
#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 %d %lf",d,r,f);
 
  return 0;
 
}

Compiler output:
main.c:20:5: error: redefinition of 'main'
   20 | int main(void)
      |     ^~~~
main.c:2:5: note: previous definition of 'main' with type 'int(void)'
    2 | int main(void)
      |     ^~~~
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 %d %lf\n",d,r,f);

 return 0;
}
#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 %d %lf",d,r,f);
 
  return 0;
 
}

Compiler output:
main.c:20:5: error: redefinition of 'main'
   20 | int main(void)
      |     ^~~~
main.c:2:5: note: previous definition of 'main' with type 'int(void)'
    2 | int main(void)
      |     ^~~~
Language: C

#include<stdio.h>


int main(void){


int a,b,d,r;


double f;


scanf("%d",&a);


scanf("%d",&b);


d=a/b;


r=a%b;


f=(double)a/(double)b


printf("%d %d %lf",d,r,f);


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:25:22: error: expected ';' before 'printf'
   25 | f=(double)a/(double)b
      |                      ^
      |                      ;
......
   28 | printf("%d %d %lf",d,r,f);
      | ~~~~~~
Language: C

#include <stdio.h>

int main()
{
	int a, b, d, r;
	float f;

	scanf_s("%d %d", &a, &b);

	d = a / b;
	r = a % b;
	f = 1.0 * a / b;

	printf("%d %d %.8lf\n", d, r, f);

	return 0;
}

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

#include <stdio.h>

int main()
{
	int a, b, d, r;
	float f;

	scanf_s("%d %d", &a, &b);

	d = a / b;
	r = a % b;
	f = 1.00 * a / b;

	printf("%d %d %.10lf\n", d, r, f);

	return 0;
}

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

#include<stdio.h>

int main(void) {
int a,b;
int d,r;
unsigned float f;

scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = (float)a / b;

printf("%d %d %f", d, r, f);
return (0);
}

Compiler output:
main.c: In function 'main':
main.c:6:10: error: both 'unsigned' and 'float' in declaration specifiers
    6 | unsigned float f;
      |          ^~~~~
Language: C

#include<stdio.h>

int main(void) {
int a,b;
int d,r;
long float f;

scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = (float)a / b;

printf("%d %d %f", d, r, f);
return (0);
}

Compiler output:
main.c: In function 'main':
main.c:6:6: error: both 'long' and 'float' in declaration specifiers
    6 | long float f;
      |      ^~~~~
Language: C

#include<stdio.h>
int main(void)
{
	int d,r;
	double a,b,f ;
	scanf("%lf %lf",&a,&b);

	d =	a/b;
	r = a%b;
	f = a/b;

	printf("%d %d %lf\n",d,r,f);

    return 0;
}

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

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

Compiler output:
main.c: In function 'main':
main.c:6:47: error: invalid operands to binary % (have 'double' and 'int')
    6 |         printf("%d %d %lf\n",a/b,a%b,(double)a%b);
      |                                      ~~~~~~~~~^
      |                                      |
      |                                      double
Language: C

#include<stdio.h>

int main(void)

{

   int a,b,d,r;

    double f;

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



    printf("%d %d %lf\n", d = a / b, r = a %= b,(double)f = a / b);

    return 0;

}

Compiler output:
main.c: In function 'main':
main.c:15:59: error: lvalue required as left operand of assignment
   15 |     printf("%d %d %lf\n", d = a / b, r = a %= b,(double)f = a / b);
      |                                                           ^
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 %d %lf",d,r,f);
 return 0;l
}

Compiler output:
main.c: In function 'main':
main.c:12:11: error: 'l' undeclared (first use in this function)
   12 |  return 0;l
      |           ^
main.c:12:11: note: each undeclared identifier is reported only once for each function it appears in
main.c:12:12: error: expected ';' before '}' token
   12 |  return 0;l
      |            ^
      |            ;
   13 | }
      | ~
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 %d %lf\n",d,r,f);
 return 0;l
}

Compiler output:
main.c: In function 'main':
main.c:12:11: error: 'l' undeclared (first use in this function)
   12 |  return 0;l
      |           ^
main.c:12:11: note: each undeclared identifier is reported only once for each function it appears in
main.c:12:12: error: expected ';' before '}' token
   12 |  return 0;l
      |            ^
      |            ;
   13 | }
      | ~
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 %d %f\n",d,r,f);
 return 0;l
}

Compiler output:
main.c: In function 'main':
main.c:12:11: error: 'l' undeclared (first use in this function)
   12 |  return 0;l
      |           ^
main.c:12:11: note: each undeclared identifier is reported only once for each function it appears in
main.c:12:12: error: expected ';' before '}' token
   12 |  return 0;l
      |            ^
      |            ;
   13 | }
      | ~
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/b;
 printf("%d %d %f\n",d,r,f);
 return 0;l
}

Compiler output:
main.c: In function 'main':
main.c:12:11: error: 'l' undeclared (first use in this function)
   12 |  return 0;l
      |           ^
main.c:12:11: note: each undeclared identifier is reported only once for each function it appears in
main.c:12:12: error: expected ';' before '}' token
   12 |  return 0;l
      |            ^
      |            ;
   13 | }
      | ~
Language: C

void main(){


	long int a, b, d, r;
	float f;

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


	d = a/b;

    r = a%b;

    f = (float)a/(float)b;

	printf("%d %d %f\n", d, r, f);
fflush(stdin);
}

Compiler output:
main.c: In function 'main':
main.c:7:9: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    7 |         scanf("%d %d",&a, &b);
      |         ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | void main(){
main.c:7:9: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    7 |         scanf("%d %d",&a, &b);
      |         ^~~~~
main.c:7:9: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:16:9: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   16 |         printf("%d %d %f\n", d, r, f);
      |         ^~~~~~
main.c:16:9: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:16:9: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:16:9: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:17:1: error: implicit declaration of function 'fflush' [-Wimplicit-function-declaration]
   17 | fflush(stdin);
      | ^~~~~~
main.c:17:8: error: 'stdin' undeclared (first use in this function)
   17 | fflush(stdin);
      |        ^~~~~
main.c:17:8: note: 'stdin' is defined in header '<stdio.h>'; this is probably fixable by adding '#include <stdio.h>'
main.c:17:8: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>
int main(){
    int a,b;
    
    scanf("%d %d",&a,&b);
    printf("%d %d %d\n",a/b,a%d,(double)a/b);

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:31: error: 'd' undeclared (first use in this function)
    6 |     printf("%d %d %d\n",a/b,a%d,(double)a/b);
      |                               ^
main.c:6:31: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>
int main(){
    int a,b;
    
    scanf("%d %d",&a,&b);
    printf("%d %d %8.1lf\n",a/b,a%d,(double)a/b);

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:35: error: 'd' undeclared (first use in this function)
    6 |     printf("%d %d %8.1lf\n",a/b,a%d,(double)a/b);
      |                                   ^
main.c:6:35: 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,d,r;

double f;

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

d=a/b;

r=a%d;

f=a/b

Compiler output:
main.c: In function 'main':
main.c:9:14: error: invalid operands to binary & (have 'char *' and 'int')
    9 | scanf("%d %d"&a,&b);
      |       ~~~~~~~^
      |       |
      |       char *
main.c:15:6: error: expected ';' at end of input
   15 | f=a/b
      |      ^
      |      ;
main.c:15:1: error: expected declaration or statement at end of input
   15 | f=a/b
      | ^
Language: C

#include <stdio.h>

int main (void){

int a,d;

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

printf("%d %d %lf",a/d,a%d,(double)a/d);

return 0;


}

Compiler output:
main.c: In function 'main':
main.c:7:14: error: invalid operands to binary & (have 'char *' and 'int')
    7 | scanf("%d %d"&a,&d);
      |       ~~~~~~~^
      |       |
      |       char *
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 %d %.4f\n",d ,r ,f);

    return 0;

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

#include<stdio.h>

int main()
{
int a,b;
scanf("%d %d",&a,&b);
printf("%d %d %f\n",a/b.a%b,a/b);
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:24: error: request for member 'a' in something not a structure or union
    7 | printf("%d %d %f\n",a/b.a%b,a/b);
      |                        ^
Language: C

#include<stdio.h>

int main()
{
int a,b;
scanf("%d %d",&a,&b);
printf("%d %d %f\n",a/b.a%b,(double)(a/b));
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:24: error: request for member 'a' in something not a structure or union
    7 | printf("%d %d %f\n",a/b.a%b,(double)(a/b));
      |                        ^
Language: C

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

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

#include<stdio.h>

int main(void){


int a,d;


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


printf("%d %d %lf".a/d,a%d,(double)a/d);


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:12:19: error: request for member 'a' in something not a structure or union
   12 | printf("%d %d %lf".a/d,a%d,(double)a/d);
      |                   ^
Language: C

#include<stdio.h>

int main(void){


int a,b;


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


printf("%d %d %lf".a/b,a%b,(double)a/b);


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:12:19: error: request for member 'a' in something not a structure or union
   12 | printf("%d %d %lf".a/b,a%b,(double)a/b);
      |                   ^
Language: C

#include<stdio.h>

int main(void){

int a,d;

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

printf("%d %d %lf".a/d,a%d,(double)a/d);

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:9:19: error: request for member 'a' in something not a structure or union
    9 | printf("%d %d %lf".a/d,a%d,(double)a/d);
      |                   ^
Language: C

#include <studios.h>

int main(){
int a,b;
scanf("%d %d %d",&a,&b,&c);
printf("%d %d %f",a/b,a%b,(double)a/(double)b);

return 0;

}

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

#include <studios.h>

int main(){
int a,b;
scanf("%d %d %d",&a,&b);
printf("%d %d %f",a/b,a%b,(double)a/(double)b);

return 0;

}

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

#include <studios.h>

int main(){
int a,b;
scanf("%d %d",&a,&b);
printf("%d %d %f",a/b,a%b,(double)a/(double)b);

return 0;

}

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

#include <stdio.h>

int main(void)
{
int a,b;
scanf("%a %b",&a,&b);
int d=a/b;
int r=a%b;
double=f;
f=(double)a/(double)b;

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

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:7: error: expected identifier or '(' before '=' token
    9 | double=f;
      |       ^
main.c:10:1: error: 'f' undeclared (first use in this function)
   10 | f=(double)a/(double)b;
      | ^
main.c:10:1: 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,d=0,r=0;

double f=0.0;

scanf("%d",&a);

scanf("%d",&b);

d=a/b;

r=a%b;

f=(double)a/(double)b;

printf("%d %d %.5lf",d,r,f);

retun 0;

}

Compiler output:
main.c: In function 'main':
main.c:21:1: error: 'retun' undeclared (first use in this function)
   21 | retun 0;
      | ^~~~~
main.c:21:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:21:6: error: expected ';' before numeric constant
   21 | retun 0;
      |      ^~
      |      ;
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 %d %.4f\n", d, r, f );
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:12:34: error: expected ';' before 'printf'
   12 |         f = (double)a / (double)b
      |                                  ^
      |                                  ;
   13 | 
   14 |         printf( "%d %d %.4f\n", d, r, f );
      |         ~~~~~~
Language: C

#include <stdio.h>
int main (void)
{
	int a,b;
	double f;
	scanf("%d %d",&a,%b);
	scanf("%d",&b);
	f=(double)a/b;
	printf("%d %d %lf",a/b,a%b,f);
	return 0;
}

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

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

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

#include <stdio.h>

int main(void){
	int a,b;
	do{
		scanf("%d %d",&a,&b);
	}while(a<1 || a>1000000000 || b<1 || b>1000000000);

	printf("%d ",a/b);
	printf("%d ",a%d);
	printf("%d\n",(double)a/(double)b);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:24: error: 'd' undeclared (first use in this function)
   10 |         printf("%d ",a%d);
      |                        ^
main.c:10:24: 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;
	do{
		scanf("%d %d",&a,&b);
	}while(a<1 || a>1000000000 || b<1 || b>1000000000);

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

Compiler output:
main.c: In function 'main':
main.c:10:24: error: 'd' undeclared (first use in this function)
   10 |         printf("%d ",a%d);
      |                        ^
main.c:10:24: note: each undeclared identifier is reported only once for each function it appears in
Language: C






#includ???stdio.h???
 
int main???void??????
 
?????????int a,b;
 
            scanf???"%d   %d"&a,&b???;
 
            printf???"%d   %d???%lf?\n",a/b,a%b,???double???a/b???;
 
            return   0;
 
???
 

Compiler output:
main.c:6:2: error: invalid preprocessing directive #includ; did you mean #include?
    6 | #includ???stdio.h???
      |  ^~~~~~
      |  include
main.c:8:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '?' token
    8 | int main???void??????
      |         ^
main.c:12:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '?' token
   12 |             scanf???"%d   %d"&a,&b???;
      |                  ^
main.c:14:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '?' token
   14 |             printf???"%d   %d???%lf?\n",a/b,a%b,???double???a/b???;
      |                   ^
main.c:16:13: error: expected identifier or '(' before 'return'
   16 |             return   0;
      |             ^~~~~~
main.c:18:1: error: expected identifier or '(' before '?' token
   18 | ???
      | ^
Language: C

#include<stdio.h>
#include<math.h>
int main(void){
int a,b,d,r;
double f,num;
num=pow(10,9);
scanf("%d %d",&a,&b);
if(1<=a&&a<=(int)num&&1<=b&&b<=(int)num)){
d=a/b;
r=a%b;
f=a/b;
printf("%d %d %5.5f\n",d,r,f);
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:41: error: expected statement before ')' token
    8 | if(1<=a&&a<=(int)num&&1<=b&&b<=(int)num)){
      |                                         ^
Language: C

#include<stdio.h>


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

Compiler output:
main.c:12:9: error: expected identifier or '(' before 'return'
   12 |         return 0;
      |         ^~~~~~
main.c:13:1: error: expected identifier or '(' before '}' token
   13 | }
      | ^
Language: C

#include<stdio.h>
int main(void)
{
	float a,b,d,r,f;
	d=a/b;
	r=a%b;
	f=a/b;
	scanf("%d %d",a,b);
	printf("%d %d %.8f",d,r,f);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:12: error: invalid operands to binary % (have 'float' and 'float')
    6 |         r=a%b;
      |            ^
Language: C

#include<stdio.h>
int main(void)
{
	float a,b,d,r,f;
	d=a/b;
	r=a%b;
	f=a/b;
	scanf("%d %d",a,b);
	printf("%d %d %.8f\n",d,r,f);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:12: error: invalid operands to binary % (have 'float' and 'float')
    6 |         r=a%b;
      |            ^
Language: C


#include<stdio.h>
int main(void)
{
	float a,b,d,r,f;
	d=a/b;
	r=a%b;
	f=a/b;
	scanf("%d %d",a,b);
	printf("%d %d %.8lf\n",d,r,f);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:12: error: invalid operands to binary % (have 'float' and 'float')
    7 |         r=a%b;
      |            ^
Language: C

#include<iostream>

using namespace std;

int main(){
	int a,b,d,r;
	float x,y,f;
	cin>>a>>b;
	d=a/b;
	r=a%b;
	x=a;
	y=b;
	f=x/y;
	printf("%d %d %.8f",d,r,f);
	return 0;
}

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

#include<iostream>

using namespace std;

int main(){
	int a,b,d,r;
	double x,y,f;
	cin>>a>>b;
	d=a/b;
	r=a%b;
	x=a;
	y=b;
	f=x/y;
	printf("%d %d %.8lf\n",d,r,f);
	return 0;
}

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

#include<iostream>

using namespace std;

int main(){
	int a,b,d,r;
	double x,y,f;
	scanf("%d %d",a,b);
	d=a/b;
	r=a%b;
	x=a;
	y=b;
	f=x/y;
	printf("%d %d %.8lf\n\n",d,r,f);
	return 0;
}

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

#include<iostream>
int main(void){
	int a,b,d,r;
	double x,y,f;
	cin>>a>>b;
	d=a/b;
	r=a%b;
	x=a;
	y=b;
	f=a/b;
	printf(???%d %d %.8lf?\n???,d,r,f);
	return 0;
}

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

#include<stdio.h>
int main(void){
	float f=0.0;
	int  a = 0, b = 0,d = 0, r = 0;
	scanf("%d", &a);
	scanf("%d", &b);
	d = a / b;
	r = a%b;
	f = float(a) / float(b);
	printf("%d %d %.5f\n", d, r, f);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:13: error: expected expression before 'float'
    9 |         f = float(a) / float(b);
      |             ^~~~~
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-a/b;

f=a/b;

printf("%d %d %lf\n",d,r,f);

return 0;

}

Compiler output:
main.c:3:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    3 | int main <void>
      |          ^
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-d*b;

f=a/b;

printf("%d %d %lf\n",d,r,f);

return 0;

}

Compiler output:
main.c:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(stdio.h)
      |         ^
main.c:3:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    3 | int main <void>
      |          ^
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-d*b;

f=a/b;

printf("%d %d %lf\n",d,r,f);

return 0;

}

Compiler output:
main.c:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(stdio.h)
      |         ^
main.c:3:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    3 | int main <void>
      |          ^
Language: C

#include(stdio.h)

int main <void>

{

int a,b,d,r;

double f;

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

d=a/b;

r=a-d*b;

f=a/b;

printf("%d %d %lf\n",d,r,f);

return 0;

}

Compiler output:
main.c:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(stdio.h)
      |         ^
main.c:3:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    3 | int main <void>
      |          ^
Language: C

#include<stdio.h>
 int main(void)
{
	int a,b;
	int d,r;
	double f;
	scanf("%d",&a);
	scanf("%d",&b);
	
	d=a/b;
	r=a%b;
	(double)f=(double)a/(double)b;
	
	printf("d=%d,r=%d,f=%lf",d,r,f);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:12:18: error: lvalue required as left operand of assignment
   12 |         (double)f=(double)a/(double)b;
      |                  ^
Language: C

#include<stdio.h>

int main() {
  
   int a,b,x,y;
   double z;

   scanf("%d%d",&x,&y); 
   x=a/b;
   y=a%b;
   z=double(a)/double(b);

   printf("%d%d%f",x,y,z);
 
   return 0;

}

Compiler output:
main.c: In function 'main':
main.c:11:6: error: expected expression before 'double'
   11 |    z=double(a)/double(b);
      |      ^~~~~~
Language: C

#include<stdio.h>

int main() {
  
   int a,b;
   
   scanf("%d%d",&x,&y); 

   printf("%d%d%f\n",a/b,a%b,(double)a / (double)b );
 
   return 0;

}

Compiler output:
main.c: In function 'main':
main.c:7:18: error: 'x' undeclared (first use in this function)
    7 |    scanf("%d%d",&x,&y);
      |                  ^
main.c:7:18: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:21: error: 'y' undeclared (first use in this function)
    7 |    scanf("%d%d",&x,&y);
      |                     ^
Language: C

#include<stdio.h>

int main(void){

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

	scanf("%d %d",a,b);
	printf("%d %d %f,a/b,a%b,a/b);


}

Compiler output:
main.c: In function 'main':
main.c:10:16: warning: missing terminating " character
   10 |         printf("%d %d %f,a/b,a%b,a/b);
      |                ^
main.c:10:16: error: missing terminating " character
   10 |         printf("%d %d %f,a/b,a%b,a/b);
      |                ^~~~~~~~~~~~~~~~~~~~~~~
main.c:13:1: error: expected expression before '}' token
   13 | }
      | ^
main.c:10:16: error: expected ';' before '}' token
   10 |         printf("%d %d %f,a/b,a%b,a/b);
      |                ^
      |                ;
......
   13 | }
      | ~
Language: C

#include<stdio.h>

int main(void){

	double a,b;
	double f1;
	
	f1=a/b;

	scanf("%d %d",&a,&b);
	printf("%d %d %.8lf\n",a/b,a%b,f1);

	return 0;

}

Compiler output:
main.c: In function 'main':
main.c:11:37: error: invalid operands to binary % (have 'double' and 'double')
   11 |         printf("%d %d %.8lf\n",a/b,a%b,f1);
      |                                     ^
Language: C

#include<stdio.h>

int main(void){

	int a,b;
	double f1;
	

	scanf("%d %d",&a,&b);
	f1=double(a)/double(b);
	printf("%d %d %.8lf\n",a/b,a%b,f1);

	return 0;

}

Compiler output:
main.c: In function 'main':
main.c:10:12: error: expected expression before 'double'
   10 |         f1=double(a)/double(b);
      |            ^~~~~~
Language: C

#include<stdio.h>

int main(void){

	int a,b;
	double f1;
	

	scanf("%d %d",&a,&b);
	f1=double(a/b);
	printf("%d %d %.8lf\n",a/b,a%b,f1);

	return 0;

}

Compiler output:
main.c: In function 'main':
main.c:10:12: error: expected expression before 'double'
   10 |         f1=double(a/b);
      |            ^~~~~~
Language: C

#include<stdio.h>

int main(void)

{


???int a,b;


  double c;





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


 c = (double)a/b;


 printf("%d %d %lf\n", a/b, a%b, c);


 


 return 0;





}

Compiler output:
main.c: In function 'main':
main.c:8:1: error: expected expression before '?' token
    8 | ???int a,b;
      | ^
main.c:17:16: error: 'a' undeclared (first use in this function)
   17 |  scanf("%d%d",&a, &b);
      |                ^
main.c:17:16: note: each undeclared identifier is reported only once for each function it appears in
main.c:17:20: error: 'b' undeclared (first use in this function)
   17 |  scanf("%d%d",&a, &b);
      |                    ^
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 %d %lf\n",d,r,???);


  return 0;


}

Compiler output:
main.c: In function 'main':
main.c:8:1: error: expected expression before '?' token
    8 | ???int a,b,d,r;
      | ^
main.c:14:16: error: 'a' undeclared (first use in this function)
   14 |  scanf("%d%d",&a, &b);
      |                ^
main.c:14:16: note: each undeclared identifier is reported only once for each function it appears in
main.c:14:20: error: 'b' undeclared (first use in this function)
   14 |  scanf("%d%d",&a, &b);
      |                    ^
main.c:17:2: error: 'd' undeclared (first use in this function)
   17 |  d = a/b;
      |  ^
main.c:20:2: error: 'r' undeclared (first use in this function)
   20 |  r = a%b;
      |  ^
main.c:26:2: error: expected expression before '?' token
   26 |  ???printf("%d %d %lf\n",d,r,???);
      |  ^
main.c:26:31: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs]
   26 |  ???printf("%d %d %lf\n",d,r,???);
Language: C

#include<stdio.h>


int main(void){


int a,b,d,r;


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


 d=a/b;


r=a%b;


f=(double)a/(double)b;


 printf("%d %d %lf\n",d,r,f);


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:19:1: error: 'f' undeclared (first use in this function)
   19 | f=(double)a/(double)b;
      | ^
main.c:19:1: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>
int main(){

    int a = 3,b = 2,d = 0,r = 0,
    double f = 0;
    scanf("%d %d",&a,&b);
    d = a/b;
    r = a%b;
    f = 1.0*a/b;
    printf("%d %d %5lf\n",d,r,f);
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:5: error: expected identifier or '(' before 'double'
    5 |     double f = 0;
      |     ^~~~~~
main.c:9:5: error: 'f' undeclared (first use in this function)
    9 |     f = 1.0*a/b;
      |     ^
main.c:9:5: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>

int main()
{
  float a, b;

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

  printf("%d %d %f\n", a / b, a % b, a / b);

  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:33: error: invalid operands to binary % (have 'float' and 'float')
    9 |   printf("%d %d %f\n", a / b, a % b, a / b);
      |                                 ^
Language: C

include<stdio.h>
int main(void){
	int a,b;
	scanf("%d",&a);
	scanf("%d",&b);
	printf("%d %d %d",a/b,a%b,(double)a/(double)b);
	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(void){
	int a,b;
	scanf("%d",&a);
	scanf("%d",&b);
	printf("%d %d %d\n",a/b,a%b,(double)a/(double)b);
	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(void)
{
   int a,b,d,r;
   double f;
   scanf("%d",&a);
   scanf("%d",&b);
   d=a/b;
   r=a%b;
   f=(double)a/(double);
   printf("%d\n",d);
   printf("%d\n",r);
   printf("%lf\n",f);
   return 0;
}

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

 #include <stdio.h>
int main (void){
int a=0;
int b=0;
int d=0;
int r=0;
double ???=0;
scanf("%d %d",&a,&b);
d=a/b;
r=a%b;
f=(double)a/b;
printf("%d %d %lf\n",d ,r ,f);
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:9: warning: trigraph ??= ignored, use -trigraphs to enable [-Wtrigraphs]
    7 | double ???=0;
main.c:7:8: error: expected identifier or '(' before '?' token
    7 | double ???=0;
      |        ^
main.c:11:1: error: 'f' undeclared (first use in this function)
   11 | f=(double)a/b;
      | ^
main.c:11:1: 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 d=0;
int r=0;
double ???=0;
scanf("%d %d",&a ,&b);
d=a/b;
r=a%b;
f=(double)a/b;
printf("%d %d %lf\n",d ,r ,f);
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:9: warning: trigraph ??= ignored, use -trigraphs to enable [-Wtrigraphs]
    7 | double ???=0;
main.c:7:8: error: expected identifier or '(' before '?' token
    7 | double ???=0;
      |        ^
main.c:11:1: error: 'f' undeclared (first use in this function)
   11 | f=(double)a/b;
      | ^
main.c:11:1: 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 d=0;
int r=0;
double ???=0;
scanf("%d %d",&a,&b);
d=a/b;
r=a%b;
f=(double)a/b;
printf("%d %d %lf\n",d,r,f);
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:9: warning: trigraph ??= ignored, use -trigraphs to enable [-Wtrigraphs]
    7 | double ???=0;
main.c:7:8: error: expected identifier or '(' before '?' token
    7 | double ???=0;
      |        ^
main.c:11:1: error: 'f' undeclared (first use in this function)
   11 | f=(double)a/b;
      | ^
main.c:11:1: 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,d,r;


double f=0;


scanf("%d",&a);


scanf("%d",&b);


d=a/b;


r=a%b;


f=(double)a/(double)b;


printf("%d %d %lf\n",d,r,f);


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:9:1: error: parameter 'f' is initialized
    9 | double f=0;
      | ^~~~~~
main.c:12:1: error: expected declaration specifiers before 'scanf'
   12 | scanf("%d",&a);
      | ^~~~~
main.c:15:1: error: expected declaration specifiers before 'scanf'
   15 | scanf("%d",&b);
      | ^~~~~
main.c:18:1: error: expected declaration specifiers before 'd'
   18 | d=a/b;
      | ^
main.c:21:1: error: expected declaration specifiers before 'r'
   21 | r=a%b;
      | ^
main.c:24:1: error: expected declaration specifiers before 'f'
   24 | f=(double)a/(double)b;
      | ^
main.c:27:1: error: expected declaration specifiers before 'printf'
   27 | printf("%d %d %lf\n",d,r,f);
      | ^~~~~~
main.c:30:1: error: expected declaration specifiers before 'return'
   30 | return 0;
      | ^~~~~~
main.c:33:1: error: expected declaration specifiers before '}' token
   33 | }
      | ^
main.c:3:5: error: old-style parameter declarations in prototyped function definition
    3 | int main(void)
      |     ^~~~
main.c:34: error: expected '{' at end of input
Language: C

#include <stdio.h>
int main(void) {
	
	int a,b;
	int d,r;
	float f;

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

	d = a / b;
	r = a % b;
	f = (float)a / (float)b;

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

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:15: error: expected expression before '%' token
    8 |         scanf(%d %d\n, &a, &b);
      |               ^
main.c:8:20: error: stray '\' in program
    8 |         scanf(%d %d\n, &a, &b);
      |                    ^
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 %d %lf\n",d,r,f);
??return 0;
}

Compiler output:
main.c: In function 'main':
main.c:3:1: error: expected expression before '?' token
    3 | ??int a,b,d,r;
      | ^
main.c:4:1: error: expected expression before '?' token
    4 | ??double f;
      | ^
main.c:5:1: error: expected expression before '?' token
    5 | ??scanf("%d %d",&a,&b);
      | ^
main.c:5:18: error: 'a' undeclared (first use in this function)
    5 | ??scanf("%d %d",&a,&b);
      |                  ^
main.c:5:18: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:21: error: 'b' undeclared (first use in this function)
    5 | ??scanf("%d %d",&a,&b);
      |                     ^
main.c:6:1: error: expected expression before '?' token
    6 | ??d = a/b;
      | ^
main.c:6:3: error: 'd' undeclared (first use in this function)
    6 | ??d = a/b;
      |   ^
main.c:7:1: error: expected expression before '?' token
    7 | ??r = a%b;
      | ^
main.c:7:3: error: 'r' undeclared (first use in this function)
    7 | ??r = a%b;
      |   ^
main.c:8:1: error: expected expression before '?' token
    8 | ??f = (double)a/(double)b;
      | ^
main.c:8:3: error: 'f' undeclared (first use in this function)
    8 | ??f = (double)a/(double)b;
      |   ^
main.c:9:1: error: expected expression before '?' token
    9 | ??printf("%d %d %lf\n",d,r,f);
      | ^
main.c:10:1: error: expected expression before '?' token
   10 | ??return 0;
      | ^