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

#include<stdio.h>

int main(void)
{
  int a, b, d, r;
  doubke 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:6:3: error: unknown type name 'doubke'; did you mean 'double'?
    6 |   doubke f;
      |   ^~~~~~
      |   double
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:46:1: error: expected identifier or '(' before '}' token
   46 | }
      | ^
main.c:57:1: error: expected identifier or '(' before '}' token
   57 | }
      | ^
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:28:1: error: expected identifier or '(' before '}' token
   28 | }
      | ^
main.c:45:1: error: expected identifier or '(' before '}' token
   45 | }
      | ^
main.c:56:1: error: expected identifier or '(' before '}' token
   56 | }
      | ^
Language: C

#include<stdio.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:25:1: error: expected identifier or '(' before '}' token
   25 | }
      | ^
main.c:42:1: error: expected identifier or '(' before '}' token
   42 | }
      | ^
main.c:53:1: error: expected identifier or '(' before '}' token
   53 | }
      | ^
Language: C

#include<stdio.h>
#inclde<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:2:2: error: invalid preprocessing directive #inclde; did you mean #include?
    2 | #inclde<stdlib,h>
      |  ^~~~~~
      |  include
main.c:21:1: error: expected identifier or '(' before '}' token
   21 | }
      | ^
main.c:38:1: error: expected identifier or '(' before '}' token
   38 | }
      | ^
main.c:49:1: error: expected identifier or '(' before '}' token
   49 | }
      | ^
Language: C

#include<stdio.h>
#inclde<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:2:2: error: invalid preprocessing directive #inclde; did you mean #include?
    2 | #inclde<stdlib,h>
      |  ^~~~~~
      |  include
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:2:9: fatal error: stdlib,h: No such file or directory
    2 | #include<stdlib,h>
      |         ^~~~~~~~~~
compilation terminated.
Language: C

#include <stdio.h>

//メイン関数
int main(void){
  int a, b;
  scanf("%d %d", &a, &b);
  printf("%d %d %d", a/b, a%b, double(a/b));
  return 0;
}



Compiler output:
main.c: In function 'main':
main.c:7:32: error: expected expression before 'double'
    7 |   printf("%d %d %d", a/b, a%b, double(a/b));
      |                                ^~~~~~
Language: C

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

//メイン関数
int main(void){
  int a, b;
  scanf("%d %d", &a, &b);
  printf("%d %d %d", a/b, a%b, double(a/b));
  return 0;
}



Compiler output:
main.c: In function 'main':
main.c:8:32: error: expected expression before 'double'
    8 |   printf("%d %d %d", a/b, a%b, double(a/b));
      |                                ^~~~~~
Language: C

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

//メイン関数
int main(void){
  int a, b;
  scanf("%d %d", &a, &b);
  printf("%d %d %f", a/b, a%b, double(a/b));
  return 0;
}



Compiler output:
main.c: In function 'main':
main.c:8:32: error: expected expression before 'double'
    8 |   printf("%d %d %f", a/b, a%b, double(a/b));
      |                                ^~~~~~
Language: C

//
// Created by 拓真 on 2018/06/21.
//

#include "bits/stdc++.h"
using namespace std;
int main(){
    int a,b;
    cin>>a>>b;

    cout<<a/b<<' '<<a%b<<' '<<(double)a/(double)b<<endl;
}


Compiler output:
main.c:5:10: fatal error: bits/stdc++.h: No such file or directory
    5 | #include "bits/stdc++.h"
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

//
// Created by 拓真 on 2018/06/21.
//

#include <bits/stdc++.h>
using namespace std;
int main(){
    int a,b;
    cin>>a>>b;

    cout<<a/b<<' '<<a%b<<' '<<(double)a/(double)b<<endl;
}


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

#include <stdio.h>

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


Compiler output:
main.c: In function 'main':
main.c:12:1: error: 'f' undeclared (first use in this function)
   12 | f = a / b;
      | ^
main.c:12: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;
int b;
int d;
int r;
float x;
scanf("%d%d",&a,&b);
d = a / b;
r = a % b;
f = a / b;
printf("%d %d %.10f\n",d,r,x*5);
return 0;
}


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

#include <stdio.h>

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


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

#include <stdio.h>

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


Compiler output:
main.c: In function 'main':
main.c:16:7: error: redeclaration of 'x' with no linkage
   16 | float x = aa / bb;
      |       ^
main.c:10:7: note: previous declaration of 'x' with type 'float'
   10 | float x;
      |       ^
Language: C

#include <stdio.h>

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


Compiler output:
main.c: In function 'main':
main.c:16:7: error: redeclaration of 'x' with no linkage
   16 | float x = aa / bb;
      |       ^
main.c:10:7: note: previous declaration of 'x' with type 'float'
   10 | float x;
      |       ^
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 %f\n",d,r,f);
    
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:9:8: error: invalid operands to binary % (have 'double' and 'double')
    9 |     r=a%b;
      |        ^
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:8:12: error: invalid operands to binary % (have 'double' and 'double')
    8 |       r = a%b;
      |            ^
Language: C

#include <stdio.h>
#include <math.h>

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

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

	if(a < 1 || b > pow( 10.0, 9.0)){
		printf("error\n");
	}else{
		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:15:21: error: expected expression before 'float'
   15 |                 f = float(a) / float(b);
      |                     ^~~~~
Language: C

#include <stdio.h>
#include <math.h>

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

	float f;

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

	if(a < 1 || b > pow( 10.0, 9.0)){
		printf("error\n");
	}else{
		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:17:21: error: expected expression before 'float'
   17 |                 f = float(a) / float(b);
      |                     ^~~~~
Language: C

#include <stdio.h>
#include <math.h>

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

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

	if(a < 1 || b > pow( 10.0, 9.0)){
		printf("error\n");
	}else{
		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:15:21: error: expected expression before 'float'
   15 |                 f = float(a) / float(b);
      |                     ^~~~~
Language: C

#include <stdio.h>
#include <math.h>

int main(void){
	int a, b;

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

	if(a < 1 || b > pow( 10.0, 9.0)){
		printf("error\n");
	}else{
		int d = a / b;
		int r = a % b;
		float f = float(a) / float(b);

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

	return 0;
}

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

#include <stdio.h>
#include <math.h>

int main(void){
	int a, b;

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

	if(a < 1 || b > pow( 10.0, 9.0)){
		printf("error\n");
	}else{
		printf("%d %d %f\n", a / b, a % b, float(a) / float(b));
	}

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:12:52: error: expected expression before 'float'
   12 |                 printf("%d %d %f\n", a / b, a % b, float(a) / float(b));
      |                                                    ^~~~~
Language: C

#include <iostream>
using namespace std;

int main(void){
	long long int a, b;
	cin >> a >> b;
	cout << a/b << " " << a%b << " " << (long double)a/(long double)b <<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(){
    int a,b,d,r;
    double f;
    scanf("%d %d"&a,&b);
    d=a/b;
    r=a%b;
    f=(double)a/(double)b;
    return 0;
}

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

Compiler output:
main.c: In function 'main':
main.c:6:18: error: invalid operands to binary & (have 'char *' and 'int')
    6 |     scanf("%d %d"&a,&b);
      |           ~~~~~~~^
      |           |
      |           char *
main.c:10:1: error: implicit declaration of function 'ptinf'; did you mean 'printf'? [-Wimplicit-function-declaration]
   10 | ptinf("%d %d %d\n",d,r,f);
      | ^~~~~
      | printf
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=(double)a/(double)b;
printf("%d %d %d\n",d,r,f);
    return 0;
}

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

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

Compiler output:
main.c: In function 'main':
main.c:8:26: error: expected expression before '%' token
    8 |         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 = a / b;
	printf("%d %d %d\n",d,r,f);
	return 0;
}

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

#include <stdio.h>

int main(){

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

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

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

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

return 0;
}

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

#include <stdio.h>

int main(){

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

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

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

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

return 0;
}

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

#include<stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:6:80: error: both 'unsigned' and 'float' in declaration specifiers
    6 |         printf("%d %d %lf\n",(unsigned int)(a/b),(unsigned int)(a%b),(unsigned float)(((unsigned double)(a))/((unsigned double)(b))));
      |                                                                                ^~~~~
main.c:6:98: error: both 'unsigned' and 'double' in declaration specifiers
    6 |         printf("%d %d %lf\n",(unsigned int)(a/b),(unsigned int)(a%b),(unsigned float)(((unsigned double)(a))/((unsigned double)(b))));
      |                                                                                                  ^~~~~~
main.c:6:121: error: both 'unsigned' and 'double' in declaration specifiers
    6 |         printf("%d %d %lf\n",(unsigned int)(a/b),(unsigned int)(a%b),(unsigned float)(((unsigned double)(a))/((unsigned double)(b))));
      |                                                                                                                         ^~~~~~
Language: C

#include<stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:6:89: error: both 'unsigned' and 'double' in declaration specifiers
    6 |         printf("%d %d %lf\n",(unsigned int)(a/b),(unsigned int)(a%b),(float)(((unsigned double)(a))/((unsigned double)(b))));
      |                                                                                         ^~~~~~
main.c:6:112: error: both 'unsigned' and 'double' in declaration specifiers
    6 |         printf("%d %d %lf\n",(unsigned int)(a/b),(unsigned int)(a%b),(float)(((unsigned double)(a))/((unsigned double)(b))));
      |                                                                                                                ^~~~~~
Language: C

#include<stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:6:87: error: expected ')' before 'a'
    6 |         printf("%d %d %lf\n",(unsigned int)(a/b),(unsigned int)(a%b),(float)(((double(a))/((double)(b))));
      |                                                                                       ^
      |                                                                                       )
main.c:6:106: error: expected ')' before ';' token
    6 |         printf("%d %d %lf\n",(unsigned int)(a/b),(unsigned int)(a%b),(float)(((double(a))/((double)(b))));
      |               ~                                                                                          ^
      |                                                                                                          )
main.c:7:18: error: expected ';' before '}' token
    7 |         return 0;
      |                  ^
      |                  ;
    8 | }
      | ~
Language: C

#include<stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:4:15: error: two or more data types in declaration specifiers
    4 |         float int a,b;
      |               ^~~
main.c:6:35: error: invalid operands to binary % (have 'float' and 'float')
    6 |         printf("%d %d %lf\n",a/b,a%b,((float)(a))/((float)(b)));
      |                                   ^
Language: C

#include<stdio.h>

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

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

#include<stdio.h>

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

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

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

Compiler output:
main.c: In function 'main':
main.c:5:41: error: both 'long' and 'float' in declaration specifiers
    5 |         printf("%d %d %f",a/b,a%b,(long float)a/b);
      |                                         ^~~~~
Language: C

import java.util.Scanner;

class Main {
	public static void main(String[] arg){
		Scanner in = new Scanner(System.in);
		int x = in.nextInt();	
		int y = in.nextInt();
		System.out.printf("%d %d %.8f\n",(int)x/y, x%y,x/(double)y);
	}
}

Compiler output:
main.c:1:1: error: unknown type name 'import'
    1 | import java.util.Scanner;
      | ^~~~~~
main.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    1 | import java.util.Scanner;
      |            ^
main.c:3:1: error: unknown type name 'class'
    3 | class Main {
      | ^~~~~
main.c:3:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    3 | class Main {
      |            ^
Language: C

#include <stdio.h>

int a,b;
int main(void) {
scanf("%d %d",a,b);
int d,r;
flort f,F;
d = a/b;
r = a%b;
f = F * a / b;
print("%d %d %.5f",d,r,f);
} 

Compiler output:
main.c: In function 'main':
main.c:7:1: error: unknown type name 'flort'; did you mean 'float'?
    7 | flort f,F;
      | ^~~~~
      | float
main.c:11:1: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
   11 | print("%d %d %.5f",d,r,f);
      | ^~~~~
      | printf
Language: C++

#include <iostream>
#include <iomanip>
using namespace std;

int main(){
int a,b;
cin >> a >> b;

cout << a/b << ' ' << a%b << ' ';
cout << fixed << setprecisiton(5) << static_cast<double>(a)/b;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:18: error: 'setprecisiton' was not declared in this scope
   10 | cout << fixed << setprecisiton(5) << static_cast<double>(a)/b;
      |                  ^~~~~~~~~~~~~
Language: C++

#include <iostream>
#include <iomanip>
using namespace std;
int main() {
	int a, b, d, r, f;
	cin >> a >> b;
	d = a / b;
	r = a % b;
	f = 1.0*r;
	cout << d << " " << r << " " << fixed << set precision(5) << f << endl;
	
	return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:10:50: error: 'set' was not declared in this scope
   10 |         cout << d << " " << r << " " << fixed << set precision(5) << f << endl;
      |                                                  ^~~
a.cc:3:1: note: 'std::set' is defined in header '<set>'; this is probably fixable by adding '#include <set>'
    2 | #include <iomanip>
  +++ |+#include <set>
    3 | using namespace std;
Language: C++

#include <iostream>
using namespace std;
 
int main()
{
    int a,b;
    long double c,d;
    cin >>a>>b;
    c=a;
    d=b;
    cout << a / b << " " << a % b << " " << c / d << endl;  
    return 0;
}

}


Compiler output:
a.cc:15:1: error: expected declaration before '}' token
   15 | }
      | ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
    int a, b, d, r;
    float f;
    cin >> a >> b;
    d = a / b;
    r = a % b;
    f = a/b;
    cout << d << r << f << ensl;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:28: error: 'ensl' was not declared in this scope
   10 |     cout << d << r << f << ensl;
      |                            ^~~~
Language: C++

#include <iostream>

using namespace std;


int main(){
    int a,b;
    double c;
    cin >> a >> b;
    cout << a/b <<  " " << a%b << " ";
    cout << fixed;
    cout.setprecision(6) << (double)a/b << endl;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:10: error: 'std::ostream' {aka 'class std::basic_ostream<char>'} has no member named 'setprecision'; did you mean 'std::streamsize std::ios_base::_M_precision'? (not accessible from this context)
   12 |     cout.setprecision(6) << (double)a/b << endl;
      |          ^~~~~~~~~~~~
In file included from /usr/include/c++/14/ios:44,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/bits/ios_base.h:578:25: note: declared protected here
  578 |     streamsize          _M_precision;
      |                         ^~~~~~~~~~~~
Language: C++

#include <iostream>

using namespace std;


int main(){
    int a,b;
    double c;
    cin >> a >> b;
    cout << a/b <<  " " << a%b << " ";
    cout << fixed;
    cout.setprecision(6);
    cout << (double)a/b << endl;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:10: error: 'std::ostream' {aka 'class std::basic_ostream<char>'} has no member named 'setprecision'; did you mean 'std::streamsize std::ios_base::_M_precision'? (not accessible from this context)
   12 |     cout.setprecision(6);
      |          ^~~~~~~~~~~~
In file included from /usr/include/c++/14/ios:44,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/bits/ios_base.h:578:25: note: declared protected here
  578 |     streamsize          _M_precision;
      |                         ^~~~~~~~~~~~
Language: C++

#include <iostream>
#include <iomanip>

using namespace std;


int main(){
    int a,b;
    double c;
    cin >> a >> b;
    cout << a/b <<  " " << a%b << " ";
    cout << fixed;
    cout.setprecision(6) << (double)a/b << endl;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:10: error: 'std::ostream' {aka 'class std::basic_ostream<char>'} has no member named 'setprecision'; did you mean 'std::streamsize std::ios_base::_M_precision'? (not accessible from this context)
   13 |     cout.setprecision(6) << (double)a/b << endl;
      |          ^~~~~~~~~~~~
In file included from /usr/include/c++/14/ios:44,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/bits/ios_base.h:578:25: note: declared protected here
  578 |     streamsize          _M_precision;
      |                         ^~~~~~~~~~~~
Language: C++

#include <iostream>
using namespace std;

#define for_(i,a,b) for(int i = (a);i < (b);i++)
#define rfor_(i,a,b) for(int i = (b)-1;i >= (a);i--)
#define rep(i,n) for_(i,0,(n))
#define rrep(i,n) rfor_(i,0,(n))

int a, b;

int main(){
	cin.tie(0);

    cin>>a>>b;
    
    cout<<(a/b)<<' '<<(a%b)<<' '<<fix<<setprecision(5)<<((double)a/(double)b)<<endl;
    
	return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:16:35: error: 'fix' was not declared in this scope
   16 |     cout<<(a/b)<<' '<<(a%b)<<' '<<fix<<setprecision(5)<<((double)a/(double)b)<<endl;
      |                                   ^~~
a.cc:16:40: error: 'setprecision' was not declared in this scope
   16 |     cout<<(a/b)<<' '<<(a%b)<<' '<<fix<<setprecision(5)<<((double)a/(double)b)<<endl;
      |                                        ^~~~~~~~~~~~
a.cc:2:1: note: 'std::setprecision' is defined in header '<iomanip>'; this is probably fixable by adding '#include <iomanip>'
    1 | #include <iostream>
  +++ |+#include <iomanip>
    2 | using namespace std;
Language: C++

#include <iostream>
using namespace std;

#define for_(i,a,b) for(int i = (a);i < (b);i++)
#define rfor_(i,a,b) for(int i = (b)-1;i >= (a);i--)
#define rep(i,n) for_(i,0,(n))
#define rrep(i,n) rfor_(i,0,(n))

int a, b;

int main(){
	cin.tie(0);

    cin>>a>>b;
    
    cout<<(a/b)<<' '<<(a%b)<<' '<<fixed<<setprecision(5)<<((double)a/(double)b)<<endl;
    
	return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:16:42: error: 'setprecision' was not declared in this scope
   16 |     cout<<(a/b)<<' '<<(a%b)<<' '<<fixed<<setprecision(5)<<((double)a/(double)b)<<endl;
      |                                          ^~~~~~~~~~~~
a.cc:2:1: note: 'std::setprecision' is defined in header '<iomanip>'; this is probably fixable by adding '#include <iomanip>'
    1 | #include <iostream>
  +++ |+#include <iomanip>
    2 | using namespace std;
Language: C++

#include <iostream>
using namespace std;

#define for_(i,a,b) for(int i = (a);i < (b);i++)
#define rfor_(i,a,b) for(int i = (b)-1;i >= (a);i--)
#define rep(i,n) for_(i,0,(n))
#define rrep(i,n) rfor_(i,0,(n))

int a, b;

int main(){
	cin.tie(0);

    cin>>a>>b;
    
    cout<<(a/b)<<' '<<(a%b)<<' '<<fixed<<std::setprecision(5)<<((double)a/(double)b)<<endl;
    
	return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:16:47: error: 'setprecision' is not a member of 'std'
   16 |     cout<<(a/b)<<' '<<(a%b)<<' '<<fixed<<std::setprecision(5)<<((double)a/(double)b)<<endl;
      |                                               ^~~~~~~~~~~~
a.cc:2:1: note: 'std::setprecision' is defined in header '<iomanip>'; this is probably fixable by adding '#include <iomanip>'
    1 | #include <iostream>
  +++ |+#include <iomanip>
    2 | using namespace std;
Language: C++

#include <iostream>
using namespace std;

#define for_(i,a,b) for(int i = (a);i < (b);i++)
#define rfor_(i,a,b) for(int i = (b)-1;i >= (a);i--)
#define rep(i,n) for_(i,0,(n))
#define rrep(i,n) rfor_(i,0,(n))

int a, b;

int main(){
	cin.tie(0);

    cin>>a>>b;
    
    cout<<(a/b)<<' '<<(a%b)<<' ';
    cout<<<<fixed<<setprecision(5)<<((double)a/(double)b)<<endl;
    
	return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:17:11: error: expected primary-expression before '<<' token
   17 |     cout<<<<fixed<<setprecision(5)<<((double)a/(double)b)<<endl;
      |           ^~
a.cc:17:20: error: 'setprecision' was not declared in this scope
   17 |     cout<<<<fixed<<setprecision(5)<<((double)a/(double)b)<<endl;
      |                    ^~~~~~~~~~~~
a.cc:2:1: note: 'std::setprecision' is defined in header '<iomanip>'; this is probably fixable by adding '#include <iomanip>'
    1 | #include <iostream>
  +++ |+#include <iomanip>
    2 | using namespace std;
Language: C++

#include <iostream>
using namespace std;

#define for_(i,a,b) for(int i = (a);i < (b);i++)
#define rfor_(i,a,b) for(int i = (b)-1;i >= (a);i--)
#define rep(i,n) for_(i,0,(n))
#define rrep(i,n) rfor_(i,0,(n))

int a, b;

int main(){
	cin.tie(0);

    cin>>a>>b;
    
    cout<<(a/b)<<' '<<(a%b)<<' ';
    cout<<fixed<<setprecision(5)<<((double)a/(double)b)<<endl;
    
	return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:17:18: error: 'setprecision' was not declared in this scope
   17 |     cout<<fixed<<setprecision(5)<<((double)a/(double)b)<<endl;
      |                  ^~~~~~~~~~~~
a.cc:2:1: note: 'std::setprecision' is defined in header '<iomanip>'; this is probably fixable by adding '#include <iomanip>'
    1 | #include <iostream>
  +++ |+#include <iomanip>
    2 | using namespace std;
Language: C++

#include <iostream>
using namespace std;

#define for_(i,a,b) for(int i = (a);i < (b);i++)
#define rfor_(i,a,b) for(int i = (b)-1;i >= (a);i--)
#define rep(i,n) for_(i,0,(n))
#define rrep(i,n) rfor_(i,0,(n))

int a, b;

int main(){
	cin.tie(0);

    cin>>a>>b;
    
    cout<<(a/b)<<' '<<(a%b)<<' ';
    cout << fixed << setprecision(5) << ((double)a/(double)b) <<endl;
    
	return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:17:22: error: 'setprecision' was not declared in this scope
   17 |     cout << fixed << setprecision(5) << ((double)a/(double)b) <<endl;
      |                      ^~~~~~~~~~~~
a.cc:2:1: note: 'std::setprecision' is defined in header '<iomanip>'; this is probably fixable by adding '#include <iomanip>'
    1 | #include <iostream>
  +++ |+#include <iomanip>
    2 | using namespace std;
Language: C++

#include <iostream>
using namespace std;

#define for_(i,a,b) for(int i = (a);i < (b);i++)
#define rfor_(i,a,b) for(int i = (b)-1;i >= (a);i--)
#define rep(i,n) for_(i,0,(n))
#define rrep(i,n) rfor_(i,0,(n))

int a, b;

int main(){
	cin.tie(0);

    cin>>a>>b;
    
    cout<<(a/b)<<' '<<(a%b)<<' ';
    cout << fixed;
    cout << setprecision(5) << ((double)a/(double)b) <<endl;
    
	return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:18:13: error: 'setprecision' was not declared in this scope
   18 |     cout << setprecision(5) << ((double)a/(double)b) <<endl;
      |             ^~~~~~~~~~~~
a.cc:2:1: note: 'std::setprecision' is defined in header '<iomanip>'; this is probably fixable by adding '#include <iomanip>'
    1 | #include <iostream>
  +++ |+#include <iomanip>
    2 | using namespace std;
Language: C++

using namespace std;
int main(void){
    // Your code here!
    int a,b,d,r;
    double f;
    cin>>a>>b;
    d=a/b;
    r=a%b;
    f=1.000000*a/b;
    cout<<d<<" "<<r<<" "<<f<<endl;
    return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: 'cin' was not declared in this scope
    6 |     cin>>a>>b;
      |     ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | using namespace std;
a.cc:10:5: error: 'cout' was not declared in this scope
   10 |     cout<<d<<" "<<r<<" "<<f<<endl;
      |     ^~~~
a.cc:10:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:30: error: 'endl' was not declared in this scope
   10 |     cout<<d<<" "<<r<<" "<<f<<endl;
      |                              ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | using namespace std;
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 = (float)a/(float)b;
	printf("%d %d %f\n", d, r, f);
}


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

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

#include<iostream>
 using namespace std;

int main(){

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

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


    cout<< d << " " << r << " " << f << endl ;  
    return 0;

}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:5: error: lvalue required as left operand of assignment
   15 |     (double)f = a / b ;
      |     ^~~~~~~~~
Language: C++

#include<iostream>
 using namespace std;

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

 cin>>a>>b;
 d=a/b;
 r=a%b;
 x=a;
 y=b;
 f=x/y;
 cout<<d<<" "<<r<<" "<<f<<endl;
 return 0;
 }


Compiler output:
a.cc: In function 'int main()':
a.cc:6:13: error: conflicting declaration 'double r'
    6 |  double x,y,r;
      |             ^
a.cc:5:10: note: previous declaration as 'int r'
    5 |  int a,b,r,d;
      |          ^
a.cc:13:2: error: 'f' was not declared in this scope
   13 |  f=x/y;
      |  ^
Language: C++

#include <stdio.h>

int main(int argc, char** argv)
{
	int a, b;
	scanf_s("%d %d", &a, &b);

	printf("%d %d %.5f", a / b, a % b, static_cast<float>(a) / b);

	return 0;
}


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

#include<stdio.h>
int main(void)
{
	int a,b,x,y,z[6];
	scanf("%d %d",&a,&b);
	x=a/b;
	y=a%b;
	z=a:b;
	printf("%d %d %d\n",x,y,z);
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:12: error: found ':' in nested-name-specifier, expected '::'
    8 |         z=a:b;
      |            ^
      |            ::
a.cc:8:11: error: 'a' is not a class, namespace, or enumeration
    8 |         z=a:b;
      |           ^
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:12: error: found ':' in nested-name-specifier, expected '::'
    8 |         z=a:b;
      |            ^
      |            ::
a.cc:8:11: error: 'a' is not a class, namespace, or enumeration
    8 |         z=a:b;
      |           ^
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:12: error: invalid operands of types 'double' and 'double' to binary 'operator%'
    7 |         y=a%b;
      |           ~^~
      |           | |
      |           | double
      |           double
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:12: error: invalid operands of types 'float' and 'float' to binary 'operator%'
    8 |         y=a%b;
      |           ~^~
      |           | |
      |           | float
      |           float
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:12: error: invalid operands of types 'float' and 'float' to binary 'operator%'
    8 |         y=a%b;
      |           ~^~
      |           | |
      |           | float
      |           float
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:12: error: invalid operands of types 'float' and 'float' to binary 'operator%'
    8 |         y=a%b;
      |           ~^~
      |           | |
      |           | float
      |           float
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:19: error: invalid operands of types 'float' and 'float' to binary 'operator%'
    8 |         y=(float)a%b;
      |           ~~~~~~~~^~
      |           |        |
      |           float    float
Language: C++

#include<iostream>
#include<cstdio>
using namespace std;
int main(){
	int d,r,a,b,f;
	float f;
	cin>>a>>b;
	d=a/b;
	r=a%b;
	f=(float)a/(float)b;
	printf("%d %d %.5lf",d,r,f);
	cout<<endl;
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:15: error: conflicting declaration 'float f'
    6 |         float f;
      |               ^
a.cc:5:21: note: previous declaration as 'int f'
    5 |         int d,r,a,b,f;
      |                     ^
Language: C++

#include <iostream>
#include <string>
#include <fstream>
#include <cmath>
#include <iomanip>
#include <ctime>
#include <cstdlib>


using namespace std;

int main() {
    

    int a,b;
    cin >> a >> b;
    cout << a/b << endl;
    cout << a%b << endl;
    cout << fixed << setprecision(100)
    cout << static_cast<long double>(a) / b << endl;

}



Compiler output:
a.cc: In function 'int main()':
a.cc:19:39: error: expected ';' before 'cout'
   19 |     cout << fixed << setprecision(100)
      |                                       ^
      |                                       ;
   20 |     cout << static_cast<long double>(a) / b << endl;
      |     ~~~~
Language: C++

#include <iostream>
using namespace std;

int main() {
	int a, b;
	cin >> a >> b;

	cout << a / b << " " << a % b << " " << flush;
	cout << fixed << setprecision(5) << (double)a / b << endl;

	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:26: error: 'setprecision' was not declared in this scope
    9 |         cout << fixed << setprecision(5) << (double)a / b << endl;
      |                          ^~~~~~~~~~~~
a.cc:2:1: note: 'std::setprecision' is defined in header '<iomanip>'; this is probably fixable by adding '#include <iomanip>'
    1 | #include <iostream>
  +++ |+#include <iomanip>
    2 | using namespace std;
Language: C++

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

}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:7: error: lvalue required as left operand of assignment
    7 |     a / b = d;
      |     ~~^~~
a.cc:8:7: error: lvalue required as left operand of assignment
    8 |     a % b = r;
      |     ~~^~~
a.cc:9:7: error: lvalue required as left operand of assignment
    9 |     a / b = f;
      |     ~~^~~
Language: C++

#include <iostream>

using namespace std;

int main(){
    int a, b;
    cin >> a >> b;
    int d = a/b, r = a%b;
    double f = a/(double)b
    cout << a << " " << b << " " << f << endl;
    
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:5: error: expected ',' or ';' before 'cout'
   10 |     cout << a << " " << b << " " << f << endl;
      |     ^~~~
Language: C++

#include <iostream>

using namespace std;

int main(){
    int a, b;
    cin >> a >> b;
    
    int d = a/b, r = a%b;
    double f = a/(double)b
    cout << d << " " << r << " " << f << endl;
    
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:5: error: expected ',' or ';' before 'cout'
   11 |     cout << d << " " << r << " " << f << endl;
      |     ^~~~
Language: C++

#include <iostream>
#include <stdio>

using namespace std;

int main(){
    int a, b;
    cin >> a >> b;

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


Compiler output:
a.cc:2:10: fatal error: stdio: No such file or directory
    2 | #include <stdio>
      |          ^~~~~~~
compilation terminated.
Language: C++

#include<iostream>
#include<stdio.h>
using namespace std;

int main(){
    int a, b ;
    cin >> a >> b ;
    float fa = a,　fb = b ;
    printf("%d %d %.5f\n",(a/b),(a%b),(fa/fb)) ;
    return 0 ;
}



Compiler output:
a.cc:8:18: error: extended character 　 is not valid in an identifier
    8 |     float fa = a,　fb = b ;
      |                  ^
a.cc: In function 'int main()':
a.cc:9:43: error: 'fb' was not declared in this scope; did you mean 'fa'?
    9 |     printf("%d %d %.5f\n",(a/b),(a%b),(fa/fb)) ;
      |                                           ^~
      |                                           fa
Language: C++

#include<iostream>
#include<stdio.h>
using namespace std;

int main(){
    int a, b ;
    cin >> a >> b ;
    double fa = a,　fb = b ;
    printf("%d %d %.5f\n",(a/b),(a%b),(fa/fb)) ;
    return 0 ;
}



Compiler output:
a.cc:8:19: error: extended character 　 is not valid in an identifier
    8 |     double fa = a,　fb = b ;
      |                   ^
a.cc: In function 'int main()':
a.cc:9:43: error: 'fb' was not declared in this scope; did you mean 'fa'?
    9 |     printf("%d %d %.5f\n",(a/b),(a%b),(fa/fb)) ;
      |                                           ^~
      |                                           fa
Language: C++

include<iostream>
include<stdio.h>
using namespace std;

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


Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:7:5: error: 'cin' was not declared in this scope
    7 |     cin a >> b ;
      |     ^~~
a.cc:8:5: error: 'printf' was not declared in this scope
    8 |     printf("%d %d %.5f\n",a/b,a%b,(double)a/b);
      |     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | include<iostream>
Language: C++

include<iostream>
include<stdio.h>
using namespace std;

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


Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:7:5: error: 'cin' was not declared in this scope
    7 |     cin >> a >> b ;
      |     ^~~
a.cc:8:5: error: 'printf' was not declared in this scope
    8 |     printf("%d %d %.5f\n",a/b,a%b,(double)a/b);
      |     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | include<iostream>
Language: C++

include<iostream>
include<stdio.h>
using namespace std;

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


Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:7:5: error: 'cin' was not declared in this scope
    7 |     cin >> a >> b ;
      |     ^~~
a.cc:8:5: error: 'printf' was not declared in this scope
    8 |     printf("%d %d %.5f\n",(a/b),(a%b),(double)a/b);
      |     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | include<iostream>
Language: C++

#include<iostream>
using namespace std;
int main(){
    int a,b,d,r;
    double f;
    cin>>a>>b;
    cout<<d=a/b<<" "<<r=a%b<<" "<<f=1.00000*a/b<<endl;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:16: error: invalid operands of types 'int' and 'const char [2]' to binary 'operator<<'
    7 |     cout<<d=a/b<<" "<<r=a%b<<" "<<f=1.00000*a/b<<endl;
      |             ~~~^~~~~
      |              |   |
      |              int const char [2]
a.cc:7:28: error: invalid operands of types 'int' and 'const char [2]' to binary 'operator<<'
    7 |     cout<<d=a/b<<" "<<r=a%b<<" "<<f=1.00000*a/b<<endl;
      |                         ~~~^~~~~
      |                          |   |
      |                          int const char [2]
a.cc:7:48: error: invalid operands of types 'double' and '<unresolved overloaded function type>' to binary 'operator<<'
    7 |     cout<<d=a/b<<" "<<r=a%b<<" "<<f=1.00000*a/b<<endl;
      |                                     ~~~~~~~~~~~^~~~~~
Language: C++

#include<iostream>
using namespace std;
int main(){
    int a,b,d,r;
    double f;
    cin>>a>>b;
    cout<<d=a/b<<" "<<r=a%b<<" "<<endl;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:16: error: invalid operands of types 'int' and 'const char [2]' to binary 'operator<<'
    7 |     cout<<d=a/b<<" "<<r=a%b<<" "<<endl;
      |             ~~~^~~~~
      |              |   |
      |              int const char [2]
a.cc:7:28: error: invalid operands of types 'int' and 'const char [2]' to binary 'operator<<'
    7 |     cout<<d=a/b<<" "<<r=a%b<<" "<<endl;
      |                         ~~~^~~~~
      |                          |   |
      |                          int const char [2]
Language: C++

#include<iostream>
using namespace std;
int main(){
    int a,b,d,r;
    double f;
    cin>>a>>b;
    cout<<d=a/b<<endl;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:16: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
    7 |     cout<<d=a/b<<endl;
      |             ~~~^~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main(){
    int a,b;
    cin>>a>>b;
    int d==a/b,r==a%b,f==1.00000*a/b;
    cout<<d<<" "<<r<<" "<<f<<endl;
    return 0;
    
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:10: error: expected initializer before '==' token
    7 |     int d==a/b,r==a%b,f==1.00000*a/b;
      |          ^~
a.cc:8:11: error: 'd' was not declared in this scope
    8 |     cout<<d<<" "<<r<<" "<<f<<endl;
      |           ^
a.cc:8:19: error: 'r' was not declared in this scope
    8 |     cout<<d<<" "<<r<<" "<<f<<endl;
      |                   ^
a.cc:8:27: error: 'f' was not declared in this scope
    8 |     cout<<d<<" "<<r<<" "<<f<<endl;
      |                           ^
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main(){
    int a,b;
    double d,f;
    d=a/b;
    f=1.00000*a/b
    cout<<d<<" "<<a%b<<" "<<f<<endl;
    return 0;
    
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:18: error: expected ';' before 'cout'
    8 |     f=1.00000*a/b
      |                  ^
      |                  ;
    9 |     cout<<d<<" "<<a%b<<" "<<f<<endl;
      |     ~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main(){
    int a,b;
    double d,f;
    d=a/b;
    f=1.0*a/b;
    cout<<d<<" "<<a%b<<" "<<printf("%.8lf\n". f)<<endl;
    return 0;
    
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:47: error: request for member 'f' in '"%.8lf\012"', which is of non-class type 'const char [7]'
    9 |     cout<<d<<" "<<a%b<<" "<<printf("%.8lf\n". f)<<endl;
      |                                               ^
Language: C++

#include <bits/stdc++,h>
using namespace std;

int main(){
    int a,b;
    cin>>a>>b;
    cout<<a/b<<" "<<a%b<<" "<<(double)a/b<<endl;
    return 0;
    
}


Compiler output:
a.cc:1:10: fatal error: bits/stdc++,h: No such file or directory
    1 | #include <bits/stdc++,h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++,h>
using namespace std;

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


Compiler output:
a.cc:1:10: fatal error: bits/stdc++,h: No such file or directory
    1 | #include <bits/stdc++,h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++,h>
using namespace std;

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


Compiler output:
a.cc:1:10: fatal error: bits/stdc++,h: No such file or directory
    1 | #include <bits/stdc++,h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.