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

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

Compiler output:
main.c:1:18: warning: extra tokens at end of #include directive
    1 | #include<stdio.h><font></font>
      |                  ^~~~~~
main.c:2:1: error: expected identifier or '(' before '<' token
    2 | <font></font>
      | ^
main.c:12:2: error: expected identifier or '(' before '<' token
   12 | }<font></font>
      |  ^
Language: C

#include <stdio.h>

int main(){

int a,b,d,r;
double f;
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:11:25: error: expected ')' before 'r'
   11 | printf("%d %d %.5lf\n",d r f);
      |       ~                 ^~
      |                         )
Language: C

int main(){
 int a,b,d,r;
 float f;
 scanf("%d %d"&a,&b);
 d=a/b;
 r=a%b;
 f=a/b*1.0;
 printf("%d %d %f\n"d,r,f);
}

Compiler output:
main.c: In function 'main':
main.c:4:2: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    4 |  scanf("%d %d"&a,&b);
      |  ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(){
main.c:4:2: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    4 |  scanf("%d %d"&a,&b);
      |  ^~~~~
main.c:4:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:4:15: error: invalid operands to binary & (have 'char *' and 'int')
    4 |  scanf("%d %d"&a,&b);
      |        ~~~~~~~^
      |        |
      |        char *
main.c:8:2: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    8 |  printf("%d %d %f\n"d,r,f);
      |  ^~~~~~
main.c:8:2: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:8:2: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:8:2: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:8:21: error: expected ')' before 'd'
    8 |  printf("%d %d %f\n"d,r,f);
      |        ~            ^
      |                     )
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:4:2: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    4 |  scanf("%f %f"&a,&b);
      |  ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(){
main.c:4:2: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    4 |  scanf("%f %f"&a,&b);
      |  ^~~~~
main.c:4:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:4:15: error: invalid operands to binary & (have 'char *' and 'float')
    4 |  scanf("%f %f"&a,&b);
      |        ~~~~~~~^
      |        |
      |        char *
main.c:6:5: error: invalid operands to binary % (have 'float' and 'float')
    6 |  r=a%b;
      |     ^
main.c:8:2: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    8 |  printf("%d %d %f\n"d,r,f);
      |  ^~~~~~
main.c:8:2: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:8:2: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:8:2: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:8:21: error: expected ')' before 'd'
    8 |  printf("%d %d %f\n"d,r,f);
      |        ~            ^
      |                     )
Language: C

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:6:15: error: invalid operands to binary & (have 'char *' and 'float')
    6 |  scanf("%f %f"&a,&b);
      |        ~~~~~~~^
      |        |
      |        char *
main.c:8:5: error: invalid operands to binary % (have 'float' and 'float')
    8 |  r=a%b;
      |     ^
main.c:10:21: error: expected ')' before 'd'
   10 |  printf("%d %d %f\n"d,r,f);
      |        ~            ^
      |                     )
Language: C

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:5:15: error: invalid operands to binary & (have 'char *' and 'double')
    5 |  scanf("%f %f"&a,&b);
      |        ~~~~~~~^
      |        |
      |        char *
main.c:7:5: error: invalid operands to binary % (have 'double' and 'double')
    7 |  r=a%b;
      |     ^
main.c:9:21: error: expected ')' before 'd'
    9 |  printf("%d %d %f\n"d,r,f);
      |        ~            ^
      |                     )
Language: C

#include <stdio.h>

int main(){
 double d,r,f,a,b;
 scanf("%d %d"&a,&b);
 d=a/b;
 r=a%b;
 f=a/b;
 printf("%d %d %.5lf\n"d,r,f);
}

Compiler output:
main.c: In function 'main':
main.c:5:15: error: invalid operands to binary & (have 'char *' and 'double')
    5 |  scanf("%d %d"&a,&b);
      |        ~~~~~~~^
      |        |
      |        char *
main.c:7:5: error: invalid operands to binary % (have 'double' and 'double')
    7 |  r=a%b;
      |     ^
main.c:9:24: error: expected ')' before 'd'
    9 |  printf("%d %d %.5lf\n"d,r,f);
      |        ~               ^
      |                        )
Language: C

#include <stdio.h>

int main(){
 double d,r,f,a,b;
 scanf("%d %d"&a,&b);
 d=a/b;
 r=a%b;
 f=a/b*1.0;
 printf("%d %d %.5lf\n"d,r,f);
}

Compiler output:
main.c: In function 'main':
main.c:5:15: error: invalid operands to binary & (have 'char *' and 'double')
    5 |  scanf("%d %d"&a,&b);
      |        ~~~~~~~^
      |        |
      |        char *
main.c:7:5: error: invalid operands to binary % (have 'double' and 'double')
    7 |  r=a%b;
      |     ^
main.c:9:24: error: expected ')' before 'd'
    9 |  printf("%d %d %.5lf\n"d,r,f);
      |        ~               ^
      |                        )
Language: C

#include <stdio.h>

int main(){
 int a,b,d,r;
 scanf("%d %d"&a,&b);
 float aa,bb,f;
 aa=a;
 bb=b;
 d=a/b;
 r=a%b;
 f=aa/bb;
 printf("%d %d %.5lf\n"d,r,f);
}

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

#include <stdio.h>

int main(){
 int a,b,d,r;
 scanf("%d %d"&a,&b);
 float aa,bb,f;
 aa=a;
 bb=b;
 d=a/b;
 r=a%b;
 f=aa/bb;
 printf("%d %d %f\n"d,r,f);
}

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

#include <stdio.h>

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

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

#include <stdio.h>

int main(){
 int a,b,d,r;
 scanf("%d %d"&a,&b);
 float f,aa,bb;
 aa=a;
 bb=b;
 d=a/b;
 r=a%b;
 f=aa/bb;
 printf("%d %d %.5lf\n"d,r,f);
}

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

#include <stdio.h>

int main(){
 int a,b,d,r;
 scanf("%d %d"&a,&b);
 float f;
 d=a/b;
 r=a%b;
 f=1.0*a/b;
 printf("%d %d %.5lf\n"d,r,f);
}

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

#include <stdio.h>

int main(){
 int a,b,d,r;
 scanf("%d %d",&a,&b);
 float f;
 d=a/b;
 r=a%b;
 f=1.0*a/b;
 printf("%d %d %.5lf\n"d,r,f);
}

Compiler output:
main.c: In function 'main':
main.c:10:24: error: expected ')' before 'd'
   10 |  printf("%d %d %.5lf\n"d,r,f);
      |        ~               ^
      |                        )
Language: C

#include <stdio.h>

int main(){
 float a,b;
 int d,r;
 scanf("%d %d",&a,&b);
 float f;
 d=a/b;
 r=a%b;
 f=1.0*a/b;
 printf("%d %d %.5lf\n",d,r,f);
}

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

#include<cstdio>

int main(){
    int a,b,d,r;
    double 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);
    
    return 0;
}


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

#include<cstdio>

int main(){
    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:1:9: fatal error: cstdio: No such file or directory
    1 | #include<cstdio>
      |         ^~~~~~~~
compilation terminated.
Language: C

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


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

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



Compiler output:
main.c: In function 'main':
main.c:9:1: error: 's' undeclared (first use in this function)
    9 | s=f*100000;
      | ^
main.c:9:1: 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 %.5lf\n",a/b,a%b,a/b);

  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:10: error: expected expression before '%' token
    7 |   printf(%d %d %.5lf\n",a/b,a%b,a/b);
      |          ^
main.c:7:17: error: invalid suffix "lf" on floating constant
    7 |   printf(%d %d %.5lf\n",a/b,a%b,a/b);
      |                 ^~~~
main.c:7:21: error: stray '\' in program
    7 |   printf(%d %d %.5lf\n",a/b,a%b,a/b);
      |                     ^
main.c:7:23: warning: missing terminating " character
    7 |   printf(%d %d %.5lf\n",a/b,a%b,a/b);
      |                       ^
main.c:7:23: error: missing terminating " character
    7 |   printf(%d %d %.5lf\n",a/b,a%b,a/b);
      |                       ^~~~~~~~~~~~~~~
main.c:9:12: error: expected ';' before '}' token
    9 |   return 0;
      |            ^
      |            ;
   10 | }
      | ~
Language: C

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

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

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

  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:10:12: error: invalid operands to binary % (have 'double' and 'int')
   10 |   f = 1.0*a%b;
      |       ~~~~~^
      |          |
      |          double
Language: C

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


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

#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=a(double)/b;

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


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

#include<stdio.h>

int main(){

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

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

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

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

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:11:15: error: invalid operands to binary % (have 'int' and 'double')
   11 |     r = (int)a%b;
      |         ~~~~~~^
      |         |
      |         int
main.c:14:31: error: expected expression before ')' token
   14 |     printf("%d %d %.5f\n",d,r,);
      |                               ^
Language: C

#include<stdio.h>

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


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

#include<stdio.h>

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


Compiler output:
main.c: In function 'main':
main.c:10:19: error: invalid operands to binary % (have 'double' and 'double')
   10 |     printf("%d ",a%b);
      |                   ^
Language: C

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

    int a, b, d, r;
    double f;
    
    cin >> a >> b;
    d = a / b;
    r = a % b;
    f = 1.0000 * a / b;
    cout << d << " " << r << " ";
    printf("%.8lf\n", f);
    return 0;
}


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

#include <iostream>
using namespace std;
int main(void){
    int count = 0;
    int n;
    cin >> n;
    for(int i = 0; i < n; i++) {
        int p;
        cin >> p; 
       if(IsPrime(p)) { 
           count++; 
       }    }
    cout << count << endl;
    return 0;
}


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

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

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

	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:13: error: redeclaration of 'd' with no linkage
    6 |         int d = a / b;
      |             ^
main.c:3:19: note: previous declaration of 'd' with type 'int'
    3 |         int a, b, d, r;
      |                   ^
main.c:7:13: error: redeclaration of 'r' with no linkage
    7 |         int r = a%b;
      |             ^
main.c:3:22: note: previous declaration of 'r' with type 'int'
    3 |         int a, b, d, r;
      |                      ^
main.c:8:16: error: redeclaration of 'f' with no linkage
    8 |         double f = a / b - d;
      |                ^
main.c:4:16: note: previous declaration of 'f' with type 'double'
    4 |         double 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*d);
    f = (double)a / (double)b;
    printf("d = %d\n", d);
    printf("r = %d\n", r);
    printf("f = %f\n", f);
    
    return 0;
}



Compiler output:
main.c: In function 'main':
main.c:5:25: error: invalid operands to binary & (have 'int *' and 'int')
    5 |     scanf("%d" "%d", &a &b);
      |                      ~~ ^
      |                      |
      |                      int *
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*d);
    f = (double)a % (double)b;
    printf("d = %d\n", d);
    printf("r = %d\n", r);
    printf("f = %f\n", f);
    
    return 0;
}



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

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



Compiler output:
main.c: In function 'main':
main.c:4:8: error: stray '\343' in program
    4 |     int<U+3000>a,b;
      |        ^~~~~~~~
Language: C

#include<stdio.h>

main(){

    int a,b;
    
    scanf("%d %d",&a,&b);
    printf("%d %d %d\n",a/b,a%b,(duble)a/b);
}


Compiler output:
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int]
    3 | main(){
      | ^~~~
main.c: In function 'main':
main.c:8:34: error: 'duble' undeclared (first use in this function); did you mean 'double'?
    8 |     printf("%d %d %d\n",a/b,a%b,(duble)a/b);
      |                                  ^~~~~
      |                                  double
main.c:8:34: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:40: error: expected ')' before 'a'
    8 |     printf("%d %d %d\n",a/b,a%b,(duble)a/b);
      |           ~                            ^
      |                                        )
Language: C

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

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


Compiler output:
main.c: In function 'main':
main.c:5:21: error: expected identifier or '(' before ';' token
    5 |         int a,b,d,r,;
      |                     ^
main.c:8:13: error: lvalue required as left operand of assignment
    8 |         a/b = d;
      |             ^
main.c:9:15: error: lvalue required as left operand of assignment
    9 |         a % b = r;
      |               ^
main.c:10:15: error: lvalue required as left operand of assignment
   10 |         a / b = f;
      |               ^
Language: C

#include <stdio.h>

int main() {

float a,b,r,d,f;

    scanf("%f %f\n", &a,&b);
    
  r=a%b;

  d=(a-r)/b;

  f=a/b-d;

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

  return 0;
}


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

#include<stdio.h>
int main(void)
{
	int a,b,d,r = 0
	durble f
	
	scanf("%d %d",&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:5:9: error: expected ',' or ';' before 'durble'
    5 |         durble f
      |         ^~~~~~
main.c:10:9: error: 'f' undeclared (first use in this function)
   10 |         f=a/b;
      |         ^
main.c:10:9: 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 = 0
	durble f
	
	scanf("%d %d",&a,&b);
	d=a/b;
	r=a%b;
	f=a/b;
	printf("%d %d %.8lf\n",d,r,f);

	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:9: error: expected ',' or ';' before 'durble'
    5 |         durble f
      |         ^~~~~~
main.c:10:9: error: 'f' undeclared (first use in this function)
   10 |         f=a/b;
      |         ^
main.c:10:9: 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 = 0;
	durble f;
	
	scanf("%d %d",&a,&b);
	d=a/b;
	r=a%b;
	f=a/b;
	printf("%d %d %.8lf\n",d,r,f);

	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:9: error: unknown type name 'durble'; did you mean 'double'?
    5 |         durble f;
      |         ^~~~~~
      |         double
Language: C

#include<stdio.h>

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

	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:9: error: unknown type name 'durble'; did you mean 'double'?
    6 |         durble f;
      |         ^~~~~~
      |         double
Language: C

#include<stdio.h>
#include<stdbool.h>

int main()
{
  double x, y;
  scanf("%lf %lf", &x, &y);
  printf("%d %d %.7f\n", x / y);
  printf("%d %d %.7f\n", x % y);
  printf("%d %d %.7f\n", x / y);
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:9:28: error: invalid operands to binary % (have 'double' and 'double')
    9 |   printf("%d %d %.7f\n", x % y);
      |                            ^
Language: C

#include<stdio.h>
#include<stdbool.h>

int main()
{
  double x, y;
  scanf("%lf %lf", &x, &y);
  printf(""%f\n"", x / y);
  printf("%.3f\n", x % y);
  printf("%d %d %.7f\n", x / y);
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:8:14: error: stray '\' in program
    8 |   printf(""%f\n"", x / y);
      |              ^
main.c:8:13: error: 'f' undeclared (first use in this function)
    8 |   printf(""%f\n"", x / y);
      |             ^
main.c:8:13: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:14: error: expected ')' before 'n'
    8 |   printf(""%f\n"", x / y);
      |         ~    ^~
      |              )
main.c:9:22: error: invalid operands to binary % (have 'double' and 'double')
    9 |   printf("%.3f\n", x % y);
      |                      ^
Language: C

#include<stdio.h>
#include<stdbool.h>

int main()
{
  double x, y;
  scanf("%lf %lf", &x, &y);
  printf(""%f\n"", x / y);
  printf("%.3f\n", x % y);
  printf("%.7f\n", x / y);
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:8:14: error: stray '\' in program
    8 |   printf(""%f\n"", x / y);
      |              ^
main.c:8:13: error: 'f' undeclared (first use in this function)
    8 |   printf(""%f\n"", x / y);
      |             ^
main.c:8:13: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:14: error: expected ')' before 'n'
    8 |   printf(""%f\n"", x / y);
      |         ~    ^~
      |              )
main.c:9:22: error: invalid operands to binary % (have 'double' and 'double')
    9 |   printf("%.3f\n", x % y);
      |                      ^
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:7:22: error: invalid operands to binary % (have 'int' and 'double')
    7 |   printf("%.3f\n", x % y);
      |                      ^
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:6:22: error: invalid operands to binary % (have 'double' and 'double')
    6 |   printf("%.3f\n", x % y);
      |                      ^
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:6:22: error: invalid operands to binary % (have 'double' and 'double')
    6 |   printf("%.3f\n", x % y);
      |                      ^
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:6:10: error: expected expression before '%' token
    6 |   printf(%d %d %.7f\n", x % y);
      |          ^
main.c:6:20: error: stray '\' in program
    6 |   printf(%d %d %.7f\n", x % y);
      |                    ^
main.c:6:22: warning: missing terminating " character
    6 |   printf(%d %d %.7f\n", x % y);
      |                      ^
main.c:6:22: error: missing terminating " character
    6 |   printf(%d %d %.7f\n", x % y);
      |                      ^~~~~~~~~~
main.c:8:13: error: expected ';' before '}' token
    8 |    return 0;
      |             ^
      |             ;
    9 | }
      | ~
Language: C

#include <stdio.h>

int main(void) {

	int a;
	int b;
	int d;
	int r;
	double 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:11:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
   11 |         scanf_s("%d%d",&a,&b);
      |         ^~~~~~~
      |         scanf
Language: C

#include <stdio.h>

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

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

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


Compiler output:
main.c: In function 'main':
main.c:8:9: error: invalid operands to binary % (have 'float' and 'float')
    8 |   r = a % b;
      |         ^
main.c:9:9: error: expected expression before 'float'
    9 |   f = a(float) / b;
      |         ^~~~~
main.c:9:7: error: called object 'a' is not a function or function pointer
    9 |   f = a(float) / b;
      |       ^
main.c:4:9: note: declared here
    4 |   float a,b,d,r,f;
      |         ^
Language: C

#include <stdio.h>

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

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

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


Compiler output:
main.c: In function 'main':
main.c:10:9: error: expected expression before 'float'
   10 |   f = a(float) / b;
      |         ^~~~~
main.c:10:7: error: called object 'a' is not a function or function pointer
   10 |   f = a(float) / b;
      |       ^
main.c:4:7: note: declared here
    4 |   int a,b,d,r;
      |       ^
Language: C

#include<stdio.h>

void main(){
 int a,b,d,r;
 double f;
 printf("整数を2つ入力してください。\n");
 scanf("%d %d",&a,&b);
 d=a/b;
 r=a%b;
 f=a/b;
 printf(\"%dを%dで割った商は%d,余りは%d,商を小数で表すと%f",a,b,d,r,f);
 }


Compiler output:
main.c: In function 'main':
main.c:11:9: error: stray '\' in program
   11 |  printf(\"%dを%dで割った商は%d,余りは%d,商を小数で表すと%f",a,b,d,r,f);
      |         ^
Language: C

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

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


Compiler output:
main.c: In function 'main':
main.c:6:4: error: lvalue required as left operand of assignment
    6 | a/b=d;
      |    ^
main.c:7:2: error: invalid operands to binary % (have 'double' and 'double')
    7 | a%b=r;
      |  ^
main.c:8:8: error: lvalue required as left operand of assignment
    8 | 1.0*a/b=f;
      |        ^
Language: C

#include <studio.h>
using namespace std;

int main() {
  int a,b,d,r;
  float f;
scanf(%d,a);
scanf(%d,b);
  d=a/b;
  r=a%b; 
  f=static_cast<float>(a)/static_cast<float>(b);
  cout << d << ' ' << r << ' ';
  printf("%.5f\n", f);
}


Compiler output:
main.c:1:10: 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,b,d,r;
double f;
scanf("%d %d",&a,&b);

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

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

return 0;
}


Compiler output:
main.c: In function 'main':
main.c:10:13: error: stray '\343' in program
   10 | f = (double)<U+3000>a / (double)<U+3000>b;
      |             ^~~~~~~~
main.c:10:27: error: stray '\343' in program
   10 | f = (double)<U+3000>a / (double)<U+3000>b;
      |                                 ^~~~~~~~
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:5:44: error: expected ')' before ';' token
    5 |     printf("%d %d %f\n",x/y,x%y,(double)x/y;
      |           ~                                ^
      |                                            )
main.c:6:14: error: expected ';' before '}' token
    6 |     return 0;
      |              ^
      |              ;
    7 | }
      | ~
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:7:17: error: 'a' undeclared (first use in this function)
    7 |     scanf("%d",&a);
      |                 ^
main.c:7:17: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:17: error: 'b' undeclared (first use in this function)
    8 |     scanf("%d",&b);
      |                 ^
main.c:14:24: error: expected ')' before 'd'
   14 |     printf("%d,%d,%f\n"d,r,f);
      |           ~            ^
      |                        )
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 %.5lf\n",d,r,f); return 0; } 


Compiler output:
main.c:1:20: warning: extra tokens at end of #include directive
    1 | #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 %.5lf\n",d,r,f); return 0; }
      |                    ^~~
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C

#include<stdio.h>

int main(){
  int d,r;
  scanf("%d %d",&d,&r );
  printf("%d %d %lf\n",d/r,d%r,(double)d/r);
  return 0;



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

#include<stdio.h>

int main(){
  int a,b,d,r,f;
  d = a/b;
  r = a%b;
  double f;
  f = 1.0*a/b;
  printf("%d %d %.8lf\n",d,r,f);

return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:10: error: conflicting types for 'f'; have 'double'
    7 |   double f;
      |          ^
main.c:4:15: note: previous declaration of 'f' with type 'int'
    4 |   int a,b,d,r,f;
      |               ^
Language: C

#include <stdio.h>

int main(){
    int d, r;
    
    scanf("%d %d", %d, %r);
    
    printf("%d %d %lf\n", d/r, d%r, (double)d/r);
    
    return 0;
    
}


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

#include <stdio.h>

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

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

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

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

}


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

#include <stdio.h>

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

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

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

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

}


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

#include <stdio.h>

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

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

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

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

}


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

#include<stdio.h>

int main(){

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

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

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

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

return 0;

}



Compiler output:
main.c: In function 'main':
main.c:14:27: error: expected ';' before 'return'
   14 | printf("%d %d %f\n",r,d,f)
      |                           ^
      |                           ;
   15 | 
   16 | return 0;
      | ~~~~~~
Language: C

#include <stdio.h>
#include <stdlib.h>
 
int main()
{
    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:3:1: error: stray '\302' in program
    3 | <U+00A0>
      | ^~~~~~~~
main.c: In function 'main':
main.c:6:1: error: stray '\302' in program
    6 | <U+00A0><U+00A0><U+00A0><U+00A0>int a, b;
      | ^~~~~~~~
main.c:6:2: error: stray '\302' in program
    6 | <U+00A0><U+00A0><U+00A0><U+00A0>int a, b;
      |         ^~~~~~~~
main.c:6:3: error: stray '\302' in program
    6 | <U+00A0><U+00A0><U+00A0><U+00A0>int a, b;
      |                 ^~~~~~~~
main.c:6:4: error: stray '\302' in program
    6 | <U+00A0><U+00A0><U+00A0><U+00A0>int a, b;
      |                         ^~~~~~~~
main.c:7:1: error: stray '\302' in program
    7 | <U+00A0>
      | ^~~~~~~~
main.c:8:1: error: stray '\302' in program
    8 | <U+00A0><U+00A0><U+00A0><U+00A0>scanf("%d%d", &a, &b);
      | ^~~~~~~~
main.c:8:2: error: stray '\302' in program
    8 | <U+00A0><U+00A0><U+00A0><U+00A0>scanf("%d%d", &a, &b);
      |         ^~~~~~~~
main.c:8:3: error: stray '\302' in program
    8 | <U+00A0><U+00A0><U+00A0><U+00A0>scanf("%d%d", &a, &b);
      |                 ^~~~~~~~
main.c:8:4: error: stray '\302' in program
    8 | <U+00A0><U+00A0><U+00A0><U+00A0>scanf("%d%d", &a, &b);
      |                         ^~~~~~~~
main.c:9:1: error: stray '\302' in program
    9 | <U+00A0><U+00A0><U+00A0><U+00A0>printf("%d %d %lf\n", a/b, a%b, (double)a/b);
      | ^~~~~~~~
main.c:9:2: error: stray '\302' in program
    9 | <U+00A0><U+00A0><U+00A0><U+00A0>printf("%d %d %lf\n", a/b, a%b, (double)a/b);
      |         ^~~~~~~~
main.c:9:3: error: stray '\302' in program
    9 | <U+00A0><U+00A0><U+00A0><U+00A0>printf("%d %d %lf\n", a/b, a%b, (double)a/b);
      |                 ^~~~~~~~
main.c:9:4: error: stray '\302' in program
    9 | <U+00A0><U+00A0><U+00A0><U+00A0>printf("%d %d %lf\n", a/b, a%b, (double)a/b);
      |                         ^~~~~~~~
main.c:10:1: error: stray '\302' in program
   10 | <U+00A0><U+00A0><U+00A0><U+00A0>return 0;
      | ^~~~~~~~
main.c:10:2: error: stray '\302' in program
   10 | <U+00A0><U+00A0><U+00A0><U+00A0>return 0;
      |         ^~~~~~~~
main.c:10:3: error: stray '\302' in program
   10 | <U+00A0><U+00A0><U+00A0><U+00A0>return 0;
      |                 ^~~~~~~~
main.c:10:4: error: stray '\302' in program
   10 | <U+00A0><U+00A0><U+00A0><U+00A0>return 0;
      |                         ^~~~~~~~
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\n",d,r,f);
    
   return 0;
}


Compiler output:
main.c: In function 'main':
main.c:3:1: error: stray '\302' in program
    3 | <U+00A0> <U+00A0>int a,b,d,r;
      | ^~~~~~~~
main.c:3:3: error: stray '\302' in program
    3 | <U+00A0> <U+00A0>int a,b,d,r;
      |          ^~~~~~~~
main.c:4:1: error: stray '\302' in program
    4 | <U+00A0> <U+00A0>double f,x,y;
      | ^~~~~~~~
main.c:4:3: error: stray '\302' in program
    4 | <U+00A0> <U+00A0>double f,x,y;
      |          ^~~~~~~~
main.c:6:1: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>scanf("%d %d",&a,&b);
      | ^~~~~~~~
main.c:6:3: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>scanf("%d %d",&a,&b);
      |          ^~~~~~~~
main.c:7:1: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>d=a/b;
      | ^~~~~~~~
main.c:7:3: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>d=a/b;
      |          ^~~~~~~~
main.c:8:1: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>r=a%b;
      | ^~~~~~~~
main.c:8:3: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>r=a%b;
      |          ^~~~~~~~
main.c:9:1: error: stray '\302' in program
    9 | <U+00A0> <U+00A0>x=a;
      | ^~~~~~~~
main.c:9:3: error: stray '\302' in program
    9 | <U+00A0> <U+00A0>x=a;
      |          ^~~~~~~~
main.c:10:1: error: stray '\302' in program
   10 | <U+00A0> <U+00A0>y=b;
      | ^~~~~~~~
main.c:10:3: error: stray '\302' in program
   10 | <U+00A0> <U+00A0>y=b;
      |          ^~~~~~~~
main.c:11:1: error: stray '\302' in program
   11 | <U+00A0> <U+00A0>f=x/y;
      | ^~~~~~~~
main.c:11:3: error: stray '\302' in program
   11 | <U+00A0> <U+00A0>f=x/y;
      |          ^~~~~~~~
main.c:12:1: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>
      | ^~~~~~~~
main.c:12:3: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>
      |          ^~~~~~~~
main.c:13:1: error: stray '\302' in program
   13 | <U+00A0> <U+00A0>printf("%d %d %f\n",d,r,f);
      | ^~~~~~~~
main.c:13:3: error: stray '\302' in program
   13 | <U+00A0> <U+00A0>printf("%d %d %f\n",d,r,f);
      |          ^~~~~~~~
main.c:14:1: error: stray '\302' in program
   14 | <U+00A0> <U+00A0>
      | ^~~~~~~~
main.c:14:3: error: stray '\302' in program
   14 | <U+00A0> <U+00A0>
      |          ^~~~~~~~
main.c:15:1: error: stray '\302' in program
   15 | <U+00A0> <U+00A0>return 0;
      | ^~~~~~~~
main.c:15:3: error: stray '\302' in program
   15 | <U+00A0> <U+00A0>return 0;
      |          ^~~~~~~~
Language: C

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



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

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

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

	printf("%d %d %f\n",x,y,c);
return 0;
}


Compiler output:
main.c: In function 'main':
main.c:4:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
    4 |         int a,b:
      |                ^
main.c:8:27: error: 'b' undeclared (first use in this function)
    8 |         scanf("%d %d",&a,&b);
      |                           ^
main.c:8:27: note: each undeclared identifier is reported only once for each function it appears in
main.c:10:9: error: 'x' undeclared (first use in this function)
   10 |         x=a/b;
      |         ^
main.c:11:9: error: 'y' undeclared (first use in this function)
   11 |         y=a%b;
      |         ^
Language: C

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

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

	printf("%d %d %f\n",x,y,c);
return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
    5 |         int a,b:
      |                ^
main.c:9:27: error: 'b' undeclared (first use in this function)
    9 |         scanf("%d %d",&a,&b);
      |                           ^
main.c:9:27: note: each undeclared identifier is reported only once for each function it appears in
main.c:11:9: error: 'x' undeclared (first use in this function)
   11 |         x=a/b;
      |         ^
main.c:12:9: error: 'y' undeclared (first use in this function)
   12 |         y=a%b;
      |         ^
Language: C

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



Compiler output:
main.c: In function 'main':
main.c:3:13: error: expected identifier or '(' before ';' token
    3 |     int a,b,;
      |             ^
Language: C

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



Compiler output:
main.c: In function 'main':
main.c:3:13: error: expected identifier or '(' before ';' token
    3 |     int a,b,;
      |             ^
Language: C

#include<stdio.h>

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


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

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



Compiler output:
main.c: In function 'main':
main.c:3:1: error: stray '\343' in program
    3 | <U+3000>int a,b;
      | ^~~~~~~~
main.c:5:1: error: stray '\343' in program
    5 | <U+3000>scanf("%d %d", &a, &b);
      | ^~~~~~~~
main.c:6:1: error: stray '\343' in program
    6 | <U+3000>
      | ^~~~~~~~
main.c:7:6: error: stray '\343' in program
    7 |   int<U+3000>d = a/b;
      |      ^~~~~~~~
main.c:10:1: error: stray '\343' in program
   10 | <U+3000>
      | ^~~~~~~~
main.c:11:1: error: stray '\343' in program
   11 | <U+3000>printf("%d %d %.5f\n", d, r, f);
      | ^~~~~~~~
main.c:12:1: error: stray '\343' in program
   12 | <U+3000>
      | ^~~~~~~~
main.c:13:1: error: stray '\343' in program
   13 | <U+3000>
      | ^~~~~~~~
Language: C

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




Compiler output:
main.c: In function 'main':
main.c:3:1: error: stray '\343' in program
    3 | <U+3000>int a,b;
      | ^~~~~~~~
main.c:5:1: error: stray '\343' in program
    5 | <U+3000>scanf("%d %d", &a, &b);
      | ^~~~~~~~
main.c:6:1: error: stray '\343' in program
    6 | <U+3000>
      | ^~~~~~~~
main.c:10:1: error: stray '\343' in program
   10 | <U+3000>
      | ^~~~~~~~
main.c:11:1: error: stray '\343' in program
   11 | <U+3000>printf("%d %d %.5f\n", d, r, f);
      | ^~~~~~~~
main.c:12:1: error: stray '\343' in program
   12 | <U+3000>
      | ^~~~~~~~
main.c:13:1: error: stray '\343' in program
   13 | <U+3000>return 0;
      | ^~~~~~~~
Language: C

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



Compiler output:
main.c: In function 'main':
main.c:3:1: error: stray '\343' in program
    3 | <U+3000>int a = 3;
      | ^~~~~~~~
main.c:4:1: error: stray '\343' in program
    4 | <U+3000>int b = 2;
      | ^~~~~~~~
main.c:5:1: error: stray '\343' in program
    5 | <U+3000>int d,r;
      | ^~~~~~~~
main.c:10:1: error: stray '\343' in program
   10 | <U+3000>printf("%d %d %.5f\n", d, r, f);
      | ^~~~~~~~
main.c:11:1: error: stray '\343' in program
   11 | <U+3000>return 0;
      | ^~~~~~~~
Language: C

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



Compiler output:
main.c: In function 'main':
main.c:3:1: error: stray '\343' in program
    3 | <U+3000>int a,b;
      | ^~~~~~~~
main.c:4:1: error: stray '\343' in program
    4 | <U+3000>scanf("%d %d", &a, &b);
      | ^~~~~~~~
main.c:5:1: error: stray '\343' in program
    5 | <U+3000>int d,r;
      | ^~~~~~~~
main.c:10:1: error: stray '\343' in program
   10 | <U+3000>printf("%d %d %.9f\n", d, r, f);
      | ^~~~~~~~
main.c:11:1: error: stray '\343' in program
   11 | <U+3000>return 0;
      | ^~~~~~~~
Language: C

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



Compiler output:
main.c: In function 'main':
main.c:3:1: error: stray '\343' in program
    3 | <U+3000>int a,b;
      | ^~~~~~~~
main.c:4:1: error: stray '\343' in program
    4 | <U+3000>scanf("%d %d", &a, &b);
      | ^~~~~~~~
main.c:5:1: error: stray '\343' in program
    5 | <U+3000>int d,r;
      | ^~~~~~~~
main.c:10:1: error: stray '\343' in program
   10 | <U+3000>printf("%d %d %.8f\n", d, r, f);
      | ^~~~~~~~
main.c:11:1: error: stray '\343' in program
   11 | <U+3000>return 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/b);
	printf("%d %d %f\n", d, r, f);
	return 0;
}


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

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


Compiler output:
main.c:1:18: warning: extra tokens at end of #include directive
    1 | #include<stdio.h><font></font>
      |                  ^~~~~~
main.c: In function 'main':
main.c:2:11: error: expected declaration specifiers before '<' token
    2 | int main()<font></font>
      |           ^
main.c:8:2: error: expected declaration specifiers before '<' token
    8 | }<font></font>
      |  ^