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

import java.util.*;
class Main{
	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		System.out.println("%d %d %5f",a/b,a%b,(double)a/b);
	}
}

Compiler output:
Main.java:7: error: no suitable method found for println(String,int,int,double)
		System.out.println("%d %d %5f",a/b,a%b,(double)a/b);
		          ^
    method PrintStream.println() is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(boolean) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(char) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(int) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(long) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(float) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(double) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(char[]) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(String) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(Object) is not applicable
      (actual and formal argument lists differ in length)
1 error
Language: Java

import java.util.*;
class Main{
	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
if(b!=0) d=a/b;
else d=0;
r=a%b;
double f = (double)a/(double)b;
		System.out.println("%d %d %5f",d,r,f);
	}
}

Compiler output:
Main.java:7: error: cannot find symbol
if(b!=0) d=a/b;
         ^
  symbol:   variable d
  location: class Main
Main.java:8: error: cannot find symbol
else d=0;
     ^
  symbol:   variable d
  location: class Main
Main.java:9: error: cannot find symbol
r=a%b;
^
  symbol:   variable r
  location: class Main
Main.java:11: error: cannot find symbol
		System.out.println("%d %d %5f",d,r,f);
		                               ^
  symbol:   variable d
  location: class Main
Main.java:11: error: cannot find symbol
		System.out.println("%d %d %5f",d,r,f);
		                                 ^
  symbol:   variable r
  location: class Main
5 errors
Language: Java

import java.util.*;
class Main{
	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
int d,r;
if(b!=0) d=a/b;
else d=0;
r=a%b;
double f = (double)a/(double)b;
		System.out.println("%d %d %5f",d,r,f);
	}
}

Compiler output:
Main.java:12: error: no suitable method found for println(String,int,int,double)
		System.out.println("%d %d %5f",d,r,f);
		          ^
    method PrintStream.println() is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(boolean) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(char) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(int) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(long) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(float) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(double) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(char[]) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(String) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(Object) is not applicable
      (actual and formal argument lists differ in length)
1 error
Language: Java

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = Integer.parseInt(sc.next());
		int b = Integer.parseInt(sc.next());
		System.out.println(a/b + " " + a%b + " " + (float )a/b);
	}

Compiler output:
Main.java:10: error: reached end of file while parsing
	}
	 ^
1 error
Language: Java

import java.util.Scanner;

public class main {
	public static void main(String[] args){
		Scanner sc=new Scanner(System.in);			
		sc.useDelimiter("\\s"); 
		int x=sc.nextInt();
		int y=sc.nextInt();
		int d=x/y;
		int r=x%y;
		double f=(double)x/(double)y;
		System.out.printf("%d %d %.5f\n",d,r,f);
	}
	

}

Compiler output:
Main.java:3: error: class main is public, should be declared in a file named main.java
public class main {
       ^
1 error
Language: C

#include<stdio.h>

int main(void){
	int x, y, d, r;
	double f;

	scanf("%d%d", &x, &y);
	d = int(x / y);
	r = x%y;
	f = x / y;
	printf("%d %d %f", d, r, f);

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:13: error: expected expression before 'int'
    8 |         d = int(x / y);
      |             ^~~
Language: C

#include<stdio.h>

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

	scanf("%d%d", &x, &y);
	d = int(x / y);
	r = x%y;
	f = (double)x / (double)y;
	printf("%d %d %f\n", d, r, f);

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:13: error: expected expression before 'int'
    8 |         d = int(x / y);
      |             ^~~
Language: C

#include<stdio.h>

int main(void){
  int a,b;

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

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

  return 0;
}

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

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

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

  return 0;
}

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

#include<stdio.h>

int main(void)
{
	int a;
	float b;
	int d;
	int r;
	float f;
	
	scanf("%d %f", &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:14:15: error: invalid operands to binary % (have 'int' and 'float')
   14 |         r = a % b;
      |               ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:9:1: error: 'r' undeclared (first use in this function)
    9 | r = a%b
      | ^
main.c:9:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:8: error: expected ';' before 'f'
    9 | r = a%b
      |        ^
      |        ;
   10 | f = (float) a / b;
      | ~
Language: C

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

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

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

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | a;main(b){scanf("%d%d",&a,&b);a="printf("%d %d %f\n",a/b,a%b,(double)a/b);}
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
main.c:1:3: error: return type defaults to 'int' [-Wimplicit-int]
    1 | a;main(b){scanf("%d%d",&a,&b);a="printf("%d %d %f\n",a/b,a%b,(double)a/b);}
      |   ^~~~
main.c: In function 'main':
main.c:1:3: error: type of 'b' defaults to 'int' [-Wimplicit-int]
main.c:1:11: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | a;main(b){scanf("%d%d",&a,&b);a="printf("%d %d %f\n",a/b,a%b,(double)a/b);}
      |           ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | a;main(b){scanf("%d%d",&a,&b);a="printf("%d %d %f\n",a/b,a%b,(double)a/b);}
main.c:1:11: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | a;main(b){scanf("%d%d",&a,&b);a="printf("%d %d %f\n",a/b,a%b,(double)a/b);}
      |           ^~~~~
main.c:1:11: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:43: error: 'd' undeclared (first use in this function)
    1 | a;main(b){scanf("%d%d",&a,&b);a="printf("%d %d %f\n",a/b,a%b,(double)a/b);}
      |                                           ^
main.c:1:43: note: each undeclared identifier is reported only once for each function it appears in
main.c:1:50: error: stray '\' in program
    1 | a;main(b){scanf("%d%d",&a,&b);a="printf("%d %d %f\n",a/b,a%b,(double)a/b);}
      |                                                  ^
main.c:1:49: error: 'f' undeclared (first use in this function)
    1 | a;main(b){scanf("%d%d",&a,&b);a="printf("%d %d %f\n",a/b,a%b,(double)a/b);}
      |                                                 ^
main.c:1:50: error: expected ';' before 'n'
    1 | a;main(b){scanf("%d%d",&a,&b);a="printf("%d %d %f\n",a/b,a%b,(double)a/b);}
      |                                                  ^~
      |                                                  ;
main.c:1:52: warning: missing terminating " character
    1 | a;main(b){scanf("%d%d",&a,&b);a="printf("%d %d %f\n",a/b,a%b,(double)a/b);}
      |                                                    ^
main.c:1:52: error: missing terminating " character
    1 | a;main(b){scanf("%d%d",&a,&b);a="printf("%d %d %f\n",a/b,a%b,(double)a/b);}
      |                                                    ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:1:1: error: expected declaration or statement at end of input
    1 | a;main(b){scanf("%d%d",&a,&b);a="printf("%d %d %f\n",a/b,a%b,(double)a/b);}
      | ^
Language: C

#include <stdio.h>
int main(){
int i,j;
scanf("%d %d");
printf("%d %d 

Compiler output:
main.c: In function 'main':
main.c:5:8: warning: missing terminating " character
    5 | printf("%d %d
      |        ^
main.c:5:8: error: missing terminating " character
    5 | printf("%d %d
      |        ^~~~~~ 
main.c:5:1: error: expected expression at end of input
    5 | printf("%d %d
      | ^~~~~~
main.c:5:1: error: expected declaration or statement at end of input
Language: C

#include <stdio.h>

int main(){
int a,b;
scanf("%d %d,&a,&b);
if(a>=0 && b>0)
printf("%d %d %f",a/b,a-a/b*b,(float)a/b);
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:7: warning: missing terminating " character
    5 | scanf("%d %d,&a,&b);
      |       ^
main.c:5:7: error: missing terminating " character
    5 | scanf("%d %d,&a,&b);
      |       ^~~~~~~~~~~~~~
main.c:6:1: error: expected expression before 'if'
    6 | if(a>=0 && b>0)
      | ^~
main.c:8:10: error: expected ';' before '}' token
    8 | return 0;
      |          ^
      |          ;
    9 | }
      | ~
Language: C

#include <stdio.h>

int main(void) {
	int a, b;
	float f;
	
	scanf("%d %d", &a, &b);
	printf("%d %d %f\n", a / b, a % b, float(a) / b);
	// your code goes here
	return 0;
}

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

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

    return 0;
}A

Compiler output:
main.c:12:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
   12 | }A
      | ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:4:18: error: invalid operands to binary & (have 'double *' and 'double')
    4 | scanf("%d %d",&a &b);
      |               ~~ ^
      |               |
      |               double *
main.c:5:27: error: invalid operands to binary % (have 'double' and 'double')
    5 | printf("%d %d %.f\n",a*b,a%b,a/b,);
      |                           ^
main.c:5:34: error: expected expression before ')' token
    5 | printf("%d %d %.f\n",a*b,a%b,a/b,);
      |                                  ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:4:18: error: invalid operands to binary & (have 'double *' and 'double')
    4 | scanf("%d %d",&a &b);
      |               ~~ ^
      |               |
      |               double *
main.c:5:28: error: invalid operands to binary % (have 'double' and 'double')
    5 | printf("%d %d %.2f\n",a*b,a%b,a/b,);
      |                            ^
main.c:5:35: error: expected expression before ')' token
    5 | printf("%d %d %.2f\n",a*b,a%b,a/b,);
      |                                   ^
Language: C

#include <stdio.h>

int main(){

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

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

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

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:27: error: invalid operands to binary % (have 'double' and 'double')
   11 | printf("%d %d %lf\n",a/b,a%b,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 %f\n",d,r,f);

return 0;
}

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

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

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

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

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main(){int a,b;scanf("%d %d",&a,&b);printf("%d %d %.5f\n",a/b,a%b,(double)a%b)return 0;}
      | ^~~~
main.c: In function 'main':
main.c:2:76: error: invalid operands to binary % (have 'double' and 'int')
    2 | main(){int a,b;scanf("%d %d",&a,&b);printf("%d %d %.5f\n",a/b,a%b,(double)a%b)return 0;}
      |                                                                   ~~~~~~~~~^
      |                                                                   |
      |                                                                   double
main.c:2:79: error: expected ';' before 'return'
    2 | main(){int a,b;scanf("%d %d",&a,&b);printf("%d %d %.5f\n",a/b,a%b,(double)a%b)return 0;}
      |                                                                               ^~~~~~
      |                                                                               ;
Language: C

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

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main(){int a,b;scanf("%d %d",&a,&b);printf("%d %d %.5f\n",a/b,a%b,(double)a%b);return 0;}
      | ^~~~
main.c: In function 'main':
main.c:2:76: error: invalid operands to binary % (have 'double' and 'int')
    2 | main(){int a,b;scanf("%d %d",&a,&b);printf("%d %d %.5f\n",a/b,a%b,(double)a%b);return 0;}
      |                                                                   ~~~~~~~~~^
      |                                                                   |
      |                                                                   double
Language: C

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

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main(){int a,b,c;scanf("%d %d",&a,&b);c=(double)a%b;printf("%d %d %.5f\n",a/b,a%b,(double)a%b);return 0;}
      | ^~~~
main.c: In function 'main':
main.c:2:50: error: invalid operands to binary % (have 'double' and 'int')
    2 | main(){int a,b,c;scanf("%d %d",&a,&b);c=(double)a%b;printf("%d %d %.5f\n",a/b,a%b,(double)a%b);return 0;}
      |                                         ~~~~~~~~~^
      |                                         |
      |                                         double
main.c:2:92: error: invalid operands to binary % (have 'double' and 'int')
    2 | main(){int a,b,c;scanf("%d %d",&a,&b);c=(double)a%b;printf("%d %d %.5f\n",a/b,a%b,(double)a%b);return 0;}
      |                                                                                   ~~~~~~~~~^
      |                                                                                   |
      |                                                                                   double
Language: C

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

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main(){int a,b,c;scanf("%d %d",&a,&b);c=(double)a%b;printf("%d %d %.5f\n",a/b,a%b,c);return 0;}
      | ^~~~
main.c: In function 'main':
main.c:2:50: error: invalid operands to binary % (have 'double' and 'int')
    2 | main(){int a,b,c;scanf("%d %d",&a,&b);c=(double)a%b;printf("%d %d %.5f\n",a/b,a%b,c);return 0;}
      |                                         ~~~~~~~~~^
      |                                         |
      |                                         double
Language: C

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

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main(){int a,b;float c;scanf("%d %d",&a,&b);c=(double)a%b;printf("%d %d %.5f\n",a/b,a%b,c);return 0;}
      | ^~~~
main.c: In function 'main':
main.c:2:56: error: invalid operands to binary % (have 'double' and 'int')
    2 | main(){int a,b;float c;scanf("%d %d",&a,&b);c=(double)a%b;printf("%d %d %.5f\n",a/b,a%b,c);return 0;}
      |                                               ~~~~~~~~~^
      |                                               |
      |                                               double
Language: C

#include<stdio.h>

int main(void)

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

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

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

#include<stdio.h>

int main(void)

{
  int a, b;
  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:10:27: error: expected ')' before 'a'
   10 |   printf("%d %d %f\n", a/b a%b (double)a/b );
      |         ~                 ^~
      |                           )
Language: C

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

  int a,b;

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

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

  return 0;
}

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

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

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main(){
      | ^~~~
main.c: In function 'main':
main.c:7:11: error: expected expression before 'float'
    7 |         f=float(a/b);
      |           ^~~~~
Language: C

 #include <stdio.h>
  2
  3 int main(void)
  4 {
  5         int a, b;
  6         double f, ans;
  7
  8         scanf("%d %d", &a, &b);
  9
 10         ans = (double)a / b;
 11
 12         printf("%d %d %lf\n", a / b, a % b, ans);
 13
 14         return (0);
 15 }

Compiler output:
main.c:2:3: error: expected identifier or '(' before numeric constant
    2 |   2
      |   ^
Language: C

#include<stdio.h>

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

    scanf("%d %d", &x, &y);

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

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

    return 0;
}

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

#include<iostream>

using namespace std;

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

  cin >> a >> b;

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

  cout << d << ' ' << r << ' ' << f << endl;

  return 0;
}

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

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

//10008
int main(){
	int x, y;
	
	while(cin >> x >> y){
		cout <<  x/y << " " << x%y << " " ;
		cout << setprecision(6) << setiosflags(ios::showpoint);
		cout <<  (double)x/y << 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;
  scanf("%d %d", &a, &b);
  printf("%d %d %.5f\n", a / b, a % b, (double) a / b);

Compiler output:
main.c: In function 'main':
main.c:8:3: error: expected declaration or statement at end of input
    8 |   printf("%d %d %.5f\n", a / b, a % b, (double) a / b);
      |   ^~~~~~
Language: C

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

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

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

	int x,y;
	double f1;
	int kotae,amari,hudou;
	
	
	scanf("%d %d",&x,&y);
	
	kotae=x/y;
	amari=x%y;
	hudou=x/2;
	
	printf("%d %d %d\n",kotae,amari,hudou)
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:15:47: error: expected ';' before 'return'
   15 |         printf("%d %d %d\n",kotae,amari,hudou)
      |                                               ^
      |                                               ;
   16 | 
   17 |         return 0;
      |         ~~~~~~
Language: C

#include<stdio.h>

int main(){

int a,b;
floot f;

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

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:1: error: unknown type name 'floot'; did you mean 'float'?
    6 | floot f;
      | ^~~~~
      | float
main.c:9:6: error: expected ';' before 'printf'
    9 | f=a/b
      |      ^
      |      ;
   10 | printf("%d\n",a/b);
      | ~~~~~~
Language: C

#include<stdio.h>

int main(){

int a,b;
floot f;

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

return 0;
}

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

#include<stdio.h>

int main(){

int a,b;
floot f;

scanf("%d%d",&a,&b);
f=a/b;
printf("%d\n",a/b);
printf("%d\n",a%b);
printf("%fl\n",f);

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:1: error: unknown type name 'floot'; did you mean 'float'?
    6 | floot f;
      | ^~~~~
      | float
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/b;

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

	return 0;

}

Compiler output:
main.c: In function 'main':
main.c:14:11: error: expected expression before 'double'
   14 |         f(double)=a/b;
      |           ^~~~~~
main.c:14:9: error: called object 'f' is not a function or function pointer
   14 |         f(double)=a/b;
      |         ^
main.c:6:16: note: declared here
    6 |         double f;
      |                ^
Language: C

#include <stdio.h>

int main(void)
{
	int a, b;

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

	return 0;
}

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

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

Compiler output:
main.c: In function 'main':
main.c:4:24: error: unknown type name 'doubule'; did you mean 'double'?
    4 |               int a,b; doubule c,d;
      |                        ^~~~~~~
      |                        double
Language: C

#include <stdio.h>
#include <iostream>
using namespace std;
int main(){
int a,b;
cin >> a >> b;
printf("%d %d %.5f\n",a/b,a%b,(float)a/b);
}

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

#include <stdio.h>

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

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

#include <stdio.h>
int main(){
	int x = 1;
	int i = 1;
	while(x != 0){
		scanf("%d",&x);
		if(x != 0){
			printf("Case %d: %d\n",i , x);
		}
		i = i + 1;
	}
	return 0;
}

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

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

#include <stdio.h>
int main(){
	int x = 1;
	int i = 1;
	while(x != 0){
		scanf("%d",&x);
		if(x != 0){
			printf("Case %d: %d\n",i , x);
		}
		i = i + 1;
	}
	return 0;
}

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

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

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

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

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

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

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

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

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

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

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

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | a;main(b,f){scanf(f="%d %d %f\n",&a,&b);a=!printf(p,a/b,a%b,(double)a/b);}
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
main.c:1:3: error: return type defaults to 'int' [-Wimplicit-int]
    1 | a;main(b,f){scanf(f="%d %d %f\n",&a,&b);a=!printf(p,a/b,a%b,(double)a/b);}
      |   ^~~~
main.c: In function 'main':
main.c:1:3: error: type of 'b' defaults to 'int' [-Wimplicit-int]
main.c:1:3: error: type of 'f' defaults to 'int' [-Wimplicit-int]
main.c:1:13: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | a;main(b,f){scanf(f="%d %d %f\n",&a,&b);a=!printf(p,a/b,a%b,(double)a/b);}
      |             ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | a;main(b,f){scanf(f="%d %d %f\n",&a,&b);a=!printf(p,a/b,a%b,(double)a/b);}
main.c:1:13: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | a;main(b,f){scanf(f="%d %d %f\n",&a,&b);a=!printf(p,a/b,a%b,(double)a/b);}
      |             ^~~~~
main.c:1:13: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:20: error: assignment to 'int' from 'char *' makes integer from pointer without a cast [-Wint-conversion]
    1 | a;main(b,f){scanf(f="%d %d %f\n",&a,&b);a=!printf(p,a/b,a%b,(double)a/b);}
      |                    ^
main.c:1:20: error: passing argument 1 of 'scanf' makes pointer from integer without a cast [-Wint-conversion]
    1 | a;main(b,f){scanf(f="%d %d %f\n",&a,&b);a=!printf(p,a/b,a%b,(double)a/b);}
      |                   ~^~~~~~~~~~~~~
      |                    |
      |                    int
main.c:1:20: note: expected 'const char *' but argument is of type 'int'
main.c:1:44: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    1 | a;main(b,f){scanf(f="%d %d %f\n",&a,&b);a=!printf(p,a/b,a%b,(double)a/b);}
      |                                            ^~~~~~
main.c:1:44: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:44: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:1:44: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:51: error: 'p' undeclared (first use in this function)
    1 | a;main(b,f){scanf(f="%d %d %f\n",&a,&b);a=!printf(p,a/b,a%b,(double)a/b);}
      |                                                   ^
main.c:1:51: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>

int main(void)
{
	float a, b;
	int d, r;
	float 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:12:15: error: invalid operands to binary % (have 'float' and 'float')
   12 |         r = a % b;
      |               ^
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=1.0a/b;		//整数と実数（浮動小数点）同士の演算結果は、精　　　　　　　　　　　		//度が高い方である実数となる。

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

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:11: error: invalid suffix "a" on floating constant
   11 |         f=1.0a/b;               //整数と実数（浮動小数点）同士の演算結果は、精　　　　　　　　　　　            //度が高い方である実数となる。
      |           ^~~~
Language: C

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

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

	return 0;
}

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

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

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

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:21: error: expected ')' before 'a'
    8 |         f = (double(a)/double(b));
      |                     ^
      |                     )
main.c:8:23: error: expected ')' before '/' token
    8 |         f = (double(a)/double(b));
      |             ~         ^
      |                       )
Language: C

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

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

	return 0;
}

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

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

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

	return 0;
}

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

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

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

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:36: error: expected expression before ')' token
    7 |                 printf("%d %d%f\n",);
      |                                    ^
Language: C

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

int main(void)
{
	double a, b, d, r = 0;
	double f = 0;

	scanf ("%d", &a);	scanf ("%d", &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:11:15: error: invalid operands to binary % (have 'double' and 'double')
   11 |         r = a % b;
      |               ^
Language: C

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:5:9: error: both 'long' and 'float' in declaration specifiers
    5 |    long float fa, fb;
      |         ^~~~~
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/b;
	 printf("%d %d %lf",d,r,f);
	 return 0;

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

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

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

#include <stdio.h>
int main()
{
	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:5:23: error: expected identifier before '&' token
    5 |         scanf("%d %d".&a,&b);
      |                       ^
main.c:6:35: error: expected expression before 'double'
    6 |         printf("%d %d %f",a/b,a%b,double(a)/b);
      |                                   ^~~~~~
Language: C

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

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

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

Compiler output:
main.c: In function 'main':
main.c:5:3: error: expected declaration or statement at end of input
    5 |   printf("%d %d %f\n",a/b,a%b,((double)a)/b);
      |   ^~~~~~
Language: C

#include<stduo.h>
int main(){
	
	int x,y,d,r;
	double f;
	
	scanf("%d%d",&x,&y);
	
	d = x / y
	r = x % y
	f = x % y
	
	printf("%d %d %.6lf",d,r,f);

	return 0;
}

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

#include<stdio.h>
int main(){
	
	int x,y,d,r;
	double f;
	
	scanf("%d%d",&x,&y);
	
	d = x / y
	r = x % y
	f = x % y
	
	printf("%d %d %.6lf",d,r,f);

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:18: error: expected ';' before 'r'
    9 |         d = x / y
      |                  ^
      |                  ;
   10 |         r = x % y
      |         ~
Language: C

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

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main(){
      | ^~~~
main.c: In function 'main':
main.c:9:6: error: invalid operands to binary % (have 'double' and 'int')
    9 |   f=e%b;
      |      ^
Language: C

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

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main(){
      | ^~~~
main.c: In function 'main':
main.c:9:24: error: request for member 'd' in something not a structure or union
    9 |   printf("%d %d %f\n",c.d,f);
      |                        ^
Language: C

#include <stdio.h>

int main(void) {
	int x,y;
	printf("%d %d %f",a/b,a%b,(double)a/b);
	return 0;
}

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

#include <stdio.h>

int main(void) {
	int x,y;
	printf("%d %d %f",a/b,a%b,(float)a/b);
	return 0;
}

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


#include<bits/stdc++.h>

using namespace std;

int main(){
	int a,b;
	cin>>a>>b;
	cout<<a/b<<" ";
	cout<<a%b<<" "l;
	printf("%.10f\n",1.0*a/b);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:20: error: unable to find string literal operator 'operator""l' with 'const char [2]', 'long unsigned int' arguments
   10 |         cout<<a%b<<" "l;
      |                    ^~~~
Language: C++

#include <iostream

using namespace std;


int main(void)
{
  int a, b;

  cin >> a >> b;

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

  return 0;
}

Compiler output:
a.cc:1:19: error: missing terminating > character
    1 | #include <iostream
      |                   ^
Language: C++

a,b=gets.split.map &:to_f;printf"%d %d %f",a/b,a%b,a/b

Compiler output:
a.cc:1:1: error: 'a' does not name a type
    1 | a,b=gets.split.map &:to_f;printf"%d %d %f",a/b,a%b,a/b
      | ^
a.cc:1:27: error: 'printf' does not name a type
    1 | a,b=gets.split.map &:to_f;printf"%d %d %f",a/b,a%b,a/b
      |                           ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | a,b=gets.split.map &:to_f;printf"%d %d %f",a/b,a%b,a/b
Language: C++

#include <bits/stdc++.h>

using namespace std;
typedef long long ll;
typedef long double real;
typedef tuple<int, int> duo;

#define TT template<typename T>
#define ET(T) typename T::value_type
TT inline T sq(T x){return x*x;}
TT inline T In(){T x;cin>>x;return x;}
TT inline int ubnd(T&v,ET(T) x){return upper_bound(begin(v),end(v),x)-begin(v);}
TT inline int lbnd(T&v,ET(T) x){return lower_bound(begin(v),end(v),x)-begin(v);}
TT inline void sort(T&v){sort(begin(v),end(v));}
TT inline void revs(T&v){reverse(begin(v),end(v));}
TT inline void uniq(T&v){sort(v);v.erase(unique(begin(v),end(v)),end(v));}
TT inline void inpt(T&v,int n,function<ET(T)()>f=In<ET(T)>){for(v.reserve(n);n--;v.emplace_back(f()));}
TT inline void show(T&v,string d=" ",string e="\n"){int i=0;for(auto&x:v)i++&&(cout<<d),cout<<x;cout<<e;}
#undef TT
#undef ET

inline void fast_io(){ios::sync_with_stdio(0); cin.tie(0);}
inline int in(){int x;scanf("%d",&x);return x;}
inline string instr(){string x;cin>>x;return x;}
inline ll pow_mod(ll a, ll k, ll m){ll r=1;for(;k>0;a=a*a%m,k>>=1)if(k&1)r=r*a%m;return r;}
inline ll mod_inv(ll a, ll p){return pow_mod(a,p-2,p);}

const int dx[] = {0, 0, 1, -1, 1, 1, -1, -1};
const int dy[] = {1, -1, 0, 0, 1, -1, 1, -1};
const int Mod = 1000000000;

int main()
{
  int a, b;
  a = in();
  b = in();
  cout << a / b << " " << a % b << " " << (real)a / b << endl;
  return (0);
}

// priority_queue queue deque front top push pop map set stringstream max_element min_element insert count find get tie make_tuple

Compiler output:
a.cc: In function 'int main()':
a.cc:37:44: error: reference to 'real' is ambiguous
   37 |   cout << a / b << " " << a % b << " " << (real)a / b << endl;
      |                                            ^~~~
In file included from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127,
                 from a.cc:1:
/usr/include/c++/14/complex:2461:5: note: candidates are: 'template<class _Tp> constexpr typename __gnu_cxx::__promote<_Tp, std::__is_integer<_Tp>::__value>::__type std::real(_Tp)'
 2461 |     real(_Tp __x)
      |     ^~~~
/usr/include/c++/14/complex:577:5: note:                 'template<class _Tp> constexpr _Tp std::real(const complex<_Tp>&)'
  577 |     real(const complex<_Tp>& __z)
      |     ^~~~
a.cc:5:21: note:                 'typedef long double real'
    5 | typedef long double real;
      |                     ^~~~
Language: C++

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




     
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:1: error: 'r' was not declared in this scope
    7 | r = a%b
      | ^
Language: C++



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

Compiler output:
a.cc: In function 'int main()':
a.cc:11:1: error: 'r' was not declared in this scope
   11 | r = a%b;
      | ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 | cin >> a >> b;
      | ^~~
      | std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:5:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    5 | cout << a/b << " " << a%b << " " << (double)a/b;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include<iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:54: error: 'setprecision' was not declared in this scope
    8 |     cout << a / b << " " << a % b << " " << fixed << setprecision(12) <<(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<iostream>
#include <iomanip>
using namespace std;


int main(){

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

		cin >> a >> b;

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

		cout << a / b << ' ' << a&b << ' ' << fixed << (float)a / (float)b << endl;

		
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:18:45: warning: left shift count >= width of type [-Wshift-count-overflow]
   18 |                 cout << a / b << ' ' << a&b << ' ' << fixed << (float)a / (float)b << endl;
      |                                           ~~^~~~~~
a.cc:18:52: error: invalid operands of types 'int' and 'std::ios_base&(std::ios_base&)' to binary 'operator<<'
   18 |                 cout << a / b << ' ' << a&b << ' ' << fixed << (float)a / (float)b << endl;
      |                                           ~~~~~~~~ ^~ ~~~~~
      |                                             |         |
      |                                             int       std::ios_base&(std::ios_base&)
Language: C++

#include<iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: 'reutrn' was not declared in this scope
    8 |   reutrn 0;
      |   ^~~~~~
Language: C++

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

int main(){
	int a,b;
	cin >> a >> b;
	cout<<a / b<<" "<<a % b<<" ";
	printf("%7lf\n"(double)a / b);

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:25: error: expected primary-expression before 'double'
    8 |         printf("%7lf\n"(double)a / b);
      |                         ^~~~~~
a.cc:8:31: error: expression cannot be used as a function
    8 |         printf("%7lf\n"(double)a / b);
      |                               ^