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

import java.io.*;
import java.util.Scanner;
 
public class Main {
    public static int divide(int a, int b) {
        return a / b;
    }

    public static int remainder(int a, int b) {
        return a % b;
    }

    public static double dividef(int a, int b) {
        return 1.0 * a / b;
    }
 
    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 %f", divide(a,b), remainder(a,b),dividef(a,b));
    }
}


Compiler output:
Main.java:21: error: no suitable method found for println(String,int,int,double)
        System.out.println("%d %d %f", divide(a,b), remainder(a,b),dividef(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.Scanner;
public class Ex {
public static void main(String[] args){
		
		{
	         int a,b ;
	         
	      
	         Scanner sc = new Scanner(System.in);
	         
	     
		a = sc.nextInt();
        b = sc.nextInt();
	
        int d=a/b;
        int r=a%b;
        double f=(double)a/(double)b;
   
        System.out.println(d+" "+r+" "+f);
     
        sc.close();
	}
	}
}
	



Compiler output:
Main.java:2: error: class Ex is public, should be declared in a file named Ex.java
public class Ex {
       ^
1 error
Language: Java

import java.util.*;
public class Main {
    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
    	
    	int a=sc.nextInt();
    	int b=sc.nextInt();

    	System.out.print(a/b+" "+a%b+" ");
a=(double)a;
b=(double)b;
        System.out.println(a/b);
    	
    }
}



Compiler output:
Main.java:10: error: incompatible types: possible lossy conversion from double to int
a=(double)a;
  ^
Main.java:11: error: incompatible types: possible lossy conversion from double to int
b=(double)b;
  ^
2 errors
Language: Java

public class Main{
    public static void main (String args[]){
        Scanner sc = new Scanner();
        int a = sc.nextInt();
        int b = sc.nextInt();
        double d = (double)(a/b);

        System.out.println(a/b + " " + a%b + " " +d);
    }
}


Compiler output:
Main.java:3: error: cannot find symbol
        Scanner sc = new Scanner();
        ^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
        Scanner sc = new Scanner();
                         ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

class Main{

    public static void main(String args[]){
        Scanner sc = new Scanner();
        int a = sc.nextInt();
        int b = sc.nextInt();
        double d = (double)(a/b);

        System.out.println(a/b + " " + a%b + " " +d);
    }
}


Compiler output:
Main.java:4: error: cannot find symbol
        Scanner sc = new Scanner();
        ^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
        Scanner sc = new Scanner();
                         ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

import java.util.*;
class Main{

    public static void main(String args[]){
        Scanner sc = new Scanner();
        int a = sc.nextInt();
        int b = sc.nextInt();
        double d = (double)(a/b);

        System.out.println(a/b + " " + a%b + " " +d);
    }
}


Compiler output:
Main.java:5: error: no suitable constructor found for Scanner(no arguments)
        Scanner sc = new Scanner();
                     ^
    constructor Scanner.Scanner(Readable,Pattern) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Readable) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,CharsetDecoder) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel,Charset) 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 scan =new Scanner(System.in);
		double a;
		double b;
		double  d;
		double  r;
		double  f;
		
		a=scan.nextInt();
		b=scan.nextInt();
		d=a/b;
		r=a%b;
		f=a/b;
		System.out.printf("%d %d %f \n", (int)d,(int)r,f);


Compiler output:
Main.java:16: error: reached end of file while parsing
		System.out.printf("%d %d %f \n", (int)d,(int)r,f);
		                                                  ^
1 error
Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;


public class ABProbrem {
	public static void main(String[] args){
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int a=0,b=0;

		try {
			String str = br.readLine();

			a = Integer.parseInt(str.substring(0, str.indexOf(" ")));
			b = Integer.parseInt(str.substring(str.indexOf(" ")+1, str.length()));

		} catch (IOException e) {
			// TODO 自動生成された catch ブロック
			e.printStackTrace();
		} catch (NumberFormatException e) {
			e.printStackTrace();
		}

		System.out.println((int)a/b + " " + a%b + " " + (float)a/b);
	}
}

Compiler output:
Main.java:6: error: class ABProbrem is public, should be declared in a file named ABProbrem.java
public class ABProbrem {
       ^
1 error
Language: Java

import java.util.Scanner;

public class ITP1_4A {
    public static void Main (String args[]){
	Scanner in= new Scanner(System.in);
	int a = in.nextInt();
	int b = in.nextInt();

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

	System.out.printf("%d %d %.8f", d, r, f);
    }   
}

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

import java.util.Scanner;
class Main{
        public static void main(String [] args){
               Scanner scan = new Scanner(System.in);
               int a;
               int b;
               int d;
               int r;
               double f;
               a = scan.nextFloat();
               b = scan.nextFloat();
               d = a/b;
               r = a%b;
               f = (double)a/b;
               System.out.println(d + " " + r + " " + f);
          }
}

Compiler output:
Main.java:10: error: incompatible types: possible lossy conversion from float to int
               a = scan.nextFloat();
                                 ^
Main.java:11: error: incompatible types: possible lossy conversion from float to int
               b = scan.nextFloat();
                                 ^
2 errors
Language: Java

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

Compiler output:
Main.java:10: error: cannot find symbol
               a = scan.nextIny();
                       ^
  symbol:   method nextIny()
  location: variable scan of type Scanner
1 error
Language: Java

import java.util.ArrayList;
import java.util.Scanner;

public class A_B_Problem {

	public static void main(String[] args) {

		// 初期処理
		Scanner sc = null;

		// テキスト入力クラス
		sc = new Scanner(System.in);

		//
		int first = sc.nextInt();
		int second = sc.nextInt();

		// 求める値
		int quotient = first / second;
		int product = first % second;

		// 浮動小数点
		double double_first = (double) first;
		double double_second = (double) second;
		double double_quotient = double_first / double_second;

		// 出力
		System.out.println(quotient + " " + product + "" + double_quotient);

	}

}

Compiler output:
Main.java:4: error: class A_B_Problem is public, should be declared in a file named A_B_Problem.java
public class A_B_Problem {
       ^
1 error
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 = (double)a/(double)b;
	printf("%d %d %f\n", d, r, f);
}


Compiler output:
main.c: In function 'main':
main.c:6:9: 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,d,r;
	double f;
	scanf_s("%d %d", &a, &b);
	d = a / b;
	r = a % b;
	f = (double)a/(double)b;
	printf("%d %d %f\n", d, r, f);
}


Compiler output:
main.c: In function 'main':
main.c:6:9: 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 (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 %f",d,r,f);



}



Compiler output:
main.c: In function 'main':
main.c:5:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'double'
    5 |   double f;
      |   ^~~~~~
main.c:10:3: error: 'r' undeclared (first use in this function)
   10 |   r=a%b;
      |   ^
main.c:10:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:11:3: error: 'f' undeclared (first use in this function)
   11 |   f=a/b;
      |   ^
Language: C

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

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

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

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


return 0;
}



Compiler output:
main.c: In function 'main':
main.c:5:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'double'
    5 |   double f;
      |   ^~~~~~
main.c:10:3: error: 'r' undeclared (first use in this function)
   10 |   r=a%b;
      |   ^
main.c:10:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:11:3: error: 'f' undeclared (first use in this function)
   11 |   f=a/b;
      |   ^
Language: C

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


Compiler output:
main.c:4:8: error: two or more data types in declaration specifiers
    4 | double float(int,int);
      |        ^~~~~
main.c:4:14: error: expected identifier or '(' before 'int'
    4 | double float(int,int);
      |              ^~~
main.c: In function 'main':
main.c:12:5: error: expected expression before 'float'
   12 |   f=float(a,b);
      |     ^~~~~
main.c: At top level:
main.c:28:8: error: two or more data types in declaration specifiers
   28 | double float(int x,int y)
      |        ^~~~~
main.c:28:14: error: expected identifier or '(' before 'int'
   28 | double float(int x,int y)
      |              ^~~
Language: C

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


Compiler output:
main.c:4:8: error: two or more data types in declaration specifiers
    4 | double float(int,int);
      |        ^~~~~
main.c:4:14: error: expected identifier or '(' before 'int'
    4 | double float(int,int);
      |              ^~~
main.c: In function 'main':
main.c:12:5: error: expected expression before 'float'
   12 |   f=float(a,b);
      |     ^~~~~
main.c: At top level:
main.c:28:8: error: two or more data types in declaration specifiers
   28 | double float(int x,int y)
      |        ^~~~~
main.c:28:14: error: expected identifier or '(' before 'int'
   28 | double float(int x,int y)
      |              ^~~
Language: C

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


Compiler output:
main.c:4:5: error: two or more data types in declaration specifiers
    4 | int float(int,int);
      |     ^~~~~
main.c:4:11: error: expected identifier or '(' before 'int'
    4 | int float(int,int);
      |           ^~~
main.c: In function 'main':
main.c:12:5: error: expected expression before 'float'
   12 |   f=float(a,b);
      |     ^~~~~
main.c: At top level:
main.c:28:5: error: two or more data types in declaration specifiers
   28 | int float(int x,int y)
      |     ^~~~~
main.c:28:11: error: expected identifier or '(' before 'int'
   28 | int float(int x,int y)
      |           ^~~
Language: C

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


Compiler output:
main.c:4:8: error: two or more data types in declaration specifiers
    4 | double float(double,double);
      |        ^~~~~
main.c:4:14: error: expected identifier or '(' before 'double'
    4 | double float(double,double);
      |              ^~~~~~
main.c: In function 'main':
main.c:12:5: error: expected expression before 'float'
   12 |   f=float((double)a,(double)b);
      |     ^~~~~
main.c: At top level:
main.c:28:8: error: two or more data types in declaration specifiers
   28 | double float(double x,double y)
      |        ^~~~~
main.c:28:14: error: expected identifier or '(' before 'double'
   28 | double float(double x,double y)
      |              ^~~~~~
Language: C

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


Compiler output:
main.c:28:12: error: expected declaration specifiers or '...' before '(' token
   28 | double flo((double)x,(double)y)
      |            ^
main.c:28:22: error: expected declaration specifiers or '...' before '(' token
   28 | double flo((double)x,(double)y)
      |                      ^
Language: C

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


Compiler output:
main.c:28:9: error: expected declaration specifiers or '...' before '(' token
   28 | int flo((double)x,(double)y)
      |         ^
main.c:28:19: error: expected declaration specifiers or '...' before '(' token
   28 | int flo((double)x,(double)y)
      |                   ^
Language: C

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


Compiler output:
main.c:28:9: error: expected declaration specifiers or '...' before '(' token
   28 | int flo((double)x,(double)y)
      |         ^
main.c:28:19: error: expected declaration specifiers or '...' before '(' token
   28 | int flo((double)x,(double)y)
      |                   ^
Language: C

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


Compiler output:
main.c:28:9: error: expected declaration specifiers or '...' before '(' token
   28 | int flo((double)x,(double)y)
      |         ^
main.c:28:19: error: expected declaration specifiers or '...' before '(' token
   28 | int flo((double)x,(double)y)
      |                   ^
Language: C

#include<stdio.h>

int div(int,int);
int rem(int,int);
int dec(double,double);

int main(void)
{
  int a,b,d,r;
  double f;
  scanf("%d %d",&a,&b);
  d=div(a,b);
  r=rem(a,b);
  f=dec((double)a,(double)b);
  printf("%d %d %f\n",d,r,f);
  return 0;
}
int div(int x,int y)
{
  int num;
  num=x/y;
  return num;
}
int rem(int x,int y)
{
  int num;
  num=x%y;
  return num;
}
int dec(int x,int y)
{
  double num;
  num=1.000000*(x/y);
  return num;
}


Compiler output:
main.c:30:5: error: conflicting types for 'dec'; have 'int(int,  int)'
   30 | int dec(int x,int y)
      |     ^~~
main.c:5:5: note: previous declaration of 'dec' with type 'int(double,  double)'
    5 | int dec(double,double);
      |     ^~~
Language: C

#include <stdio.h>
 int div(int,int);
 int rem(int,int);
 int dec(double,double);

 int main(void)
 {
   int a,b,d,r;
   double f;
   scanf("%d %d",&a,&b);
   d=div(a,b);
   r=rem(a,b);
   f=dec(double(a),double(b));
   printf("%d %d %f\n",d,r,f);
  return 0;
}
int div(int x,int y)
{ 
  int num;
  num=x/y;
  return num;
}
int rem(int x,int y)
{
  int num;
  num=x%y;
  return num;
}
int dec(double x,double y)
{ 
  double num;
  num=x/y;
  return num;
}


Compiler output:
main.c: In function 'main':
main.c:13:10: error: expected expression before 'double'
   13 |    f=dec(double(a),double(b));
      |          ^~~~~~
main.c:13:6: error: too few arguments to function 'dec'
   13 |    f=dec(double(a),double(b));
      |      ^~~
main.c:4:6: note: declared here
    4 |  int dec(double,double);
      |      ^~~
Language: C

#include <stdio.h>
 int div(int,int);
 int rem(int,int);
 double dec(double,double);

 int main(void)
 {
   int a,b,d,r;
   double f;
   scanf("%d %d",&a,&b);
   d=div(a,b);
   r=rem(a,b);
   f=dec(double(a),double(b));
   printf("%d %d %f\n",d,r,f);
  return 0;
}
int div(int x,int y)
{ 
  int num;
  num=x/y;
  return num;
}
int rem(int x,int y)
{
  int num;
  num=x%y;
  return num;
}
int dec(double x,double y)
{ 
  double num;
  num=x/y;
  return num;
}


Compiler output:
main.c: In function 'main':
main.c:13:10: error: expected expression before 'double'
   13 |    f=dec(double(a),double(b));
      |          ^~~~~~
main.c:13:6: error: too few arguments to function 'dec'
   13 |    f=dec(double(a),double(b));
      |      ^~~
main.c:4:9: note: declared here
    4 |  double dec(double,double);
      |         ^~~
main.c: At top level:
main.c:29:5: error: conflicting types for 'dec'; have 'int(double,  double)'
   29 | int dec(double x,double y)
      |     ^~~
main.c:4:9: note: previous declaration of 'dec' with type 'double(double,  double)'
    4 |  double dec(double,double);
      |         ^~~
Language: C

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

a, b = map(int, input().split())
d = a // b
r = a % b
f = a / b
print(f'{d} {r} {f}')



Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | a, b = map(int, input().split())
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
main.c:1:4: error: type defaults to 'int' in declaration of 'b' [-Wimplicit-int]
    1 | a, b = map(int, input().split())
      |    ^
main.c:1:8: error: implicit declaration of function 'map' [-Wimplicit-function-declaration]
    1 | a, b = map(int, input().split())
      |        ^~~
main.c:1:12: error: expected expression before 'int'
    1 | a, b = map(int, input().split())
      |            ^~~
main.c:2:1: error: expected ',' or ';' before 'd'
    2 | d = a // b
      | ^
main.c:5:8: warning: multi-character literal with 11 characters exceeds 'int' size of 4 bytes
    5 | print(f'{d} {r} {f}')
      |        ^~~~~~~~~~~~~
Language: C

#include<stdio.h>
 
#define MAX 1000000000
#define MIN 1
#define IS_ERR(n) (n < MIN || n > MAX)
 
int main(void)
{
    float a, b, f;
    int d, r;
 
    scanf("%f %f", &a, &b);
 
    if(IS_ERR(a) || IS_ERR(b)) return -1;
 
    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:17:11: error: invalid operands to binary % (have 'float' and 'float')
   17 |     r = a % b;
      |           ^
Language: C

#include<stdio.h>

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

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

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


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

#include<stdio.h>

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

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

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


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

#include<stdio.h>
#include<stdlib.h>
int main()
{
    long int a,b;
    int d,r;
    float f;
    scanf("%ld %ld", &a, &b);
    if(a >= 1 && a <= 1000000000  && b >=1 && b <= 1000000000)
    {
        d = a/b;
        r = a%b;
        f = abs(a/b);

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


Compiler output:
main.c: In function 'main':
main.c:15:9: error: implicit declaration of function 'pintf'; did you mean 'printf'? [-Wimplicit-function-declaration]
   15 |         pintf("%d %d %.6f", d,r,f);
      |         ^~~~~
      |         printf
Language: C

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


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

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


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

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


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

#include <stdio.h>

int main(){
    int a,b;
    scanf("%d%d",&a,&b);
    if(a<||1000000000>b){
        return -1;
    }
    printf("%d %d %lf\n",(int)(a/b),a%b,(float)a/(float)b);
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:10: error: expected expression before '||' token
    6 |     if(a<||1000000000>b){
      |          ^~
Language: C

#include<stdio.h>

int main(){
	int a b;

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

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

	return 0;

	}

Compiler output:
main.c: In function 'main':
main.c:4:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
    4 |         int a b;
      |               ^
main.c:4:15: error: 'b' undeclared (first use in this function)
main.c:4:15: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:24: error: 'a' undeclared (first use in this function)
    6 |         scanf("%d %d",&a,&b);
      |                        ^
Language: C

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

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

  do{
  scanf("%d %d",&a,&b);
  }while((a<1)||b>sqrt(10,9));

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

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

  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:19: error: too many arguments to function 'sqrt'
   10 |   }while((a<1)||b>sqrt(10,9));
      |                   ^~~~
In file included from /usr/include/features.h:523,
                 from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:28,
                 from main.c:1:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:176:1: note: declared here
  176 | __MATHCALL (sqrt,, (_Mdouble_ __x));
      | ^~~~~~~~~~
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:5:36: error: invalid operands to binary % (have 'double' and 'int')
    5 | printf("%d %d %d",a*b,a/b,(double)a%b);
      |                           ~~~~~~~~~^
      |                           |
      |                           double
Language: C

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

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

#include<stdio.h>

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

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

#include<stdio.h>

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

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

#include <stdio.h>

int main(){
    int a, b, r;
    float r;
    
    scanf("%d %d", &a, &b);
    
    if(a < 1 || b > 109) return 0;
    
    d = a / b;
    r = a % b;
    f = a / b;
    
    printf("%d %d %.5f", d, r, f);
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:11: error: conflicting types for 'r'; have 'float'
    5 |     float r;
      |           ^
main.c:4:15: note: previous declaration of 'r' with type 'int'
    4 |     int a, b, r;
      |               ^
main.c:11:5: error: 'd' undeclared (first use in this function)
   11 |     d = a / b;
      |     ^
main.c:11:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:13:5: error: 'f' undeclared (first use in this function)
   13 |     f = a / b;
      |     ^
Language: C

#include <stdio.h>

int main(){
    int a, b, r;
    float f;
    
    scanf("%d %d", &a, &b);
    
    if(a < 1 || b > 109) return 0;
    
    d = a / b;
    r = a % b;
    f = a / b;
    
    printf("%d %d %.5f", d, r, f);
    return 0;
}

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

lude <stdio.h>

int main(){
    int a, b, d, r;
    float f;
    
    scanf("%d %d", &a, &b);
    
    if(a < 1 || b > 109) return 0;
    
    d = a / b;
    r = a % b;
    f = (float)a / (float)b;
    
    printf("%d %d %f", d, r, f);
    return 0;
}

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

#include <stdio.h>

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

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

#include<stdio.h>


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


	return 0;
}

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

import java.util.Scanner;
class Main {
	public static void main(String[] args) {
		Scanner kb = new Scanner( System.in);	
		int a,b;

		a=kb.nextInt();
		b=kb.nextInt();

		System.out.printf( "%d %d %f\n", a/b, a%b, (double)a/b );	
	}
}

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:2:1: error: unknown type name 'class'
    2 | class Main {
      | ^~~~~
main.c:2:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    2 | class Main {
      |            ^
Language: C

#include <stdio.h>

int main(void){

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

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

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

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

Compiler output:
main.c: In function 'main':
main.c:5:12: error: both 'unsigned' and 'double' in declaration specifiers
    5 |   unsigned double a;
      |            ^~~~~~
main.c:12:9: error: invalid operands to binary % (have 'unsigned int' and 'double')
   12 |   r = a % b;
      |         ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:12: error: both 'unsigned' and 'double' in declaration specifiers
    5 |   unsigned double a;
      |            ^~~~~~
main.c:12:9: error: invalid operands to binary % (have 'unsigned int' and 'double')
   12 |   r = a % b;
      |         ^
Language: C

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

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

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

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

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

Compiler output:
main.c: In function 'main':
main.c:5:23: error: invalid operands to binary & (have 'char *' and 'int')
    5 |         scanf("%d %d" &a, &b);
      |               ~~~~~~~ ^
      |               |
      |               char *
main.c:6:15: error: lvalue required as left operand of assignment
    6 |         a / b = d:
      |               ^
main.c:6:18: error: expected ';' before ':' token
    6 |         a / b = d:
      |                  ^
      |                  ;
main.c:8:15: error: lvalue required as left operand of assignment
    8 |         a / b = f:
      |               ^
main.c:8:18: error: expected ';' before ':' token
    8 |         a / b = f:
      |                  ^
      |                  ;
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:6:15: error: lvalue required as left operand of assignment
    6 |         a / b = d:
      |               ^
main.c:6:18: error: expected ';' before ':' token
    6 |         a / b = d:
      |                  ^
      |                  ;
main.c:8:15: error: lvalue required as left operand of assignment
    8 |         a / b = f:
      |               ^
main.c:8:18: error: expected ';' before ':' token
    8 |         a / b = f:
      |                  ^
      |                  ;
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:6:15: error: lvalue required as left operand of assignment
    6 |         a / b = d:
      |               ^
main.c:6:18: error: expected ';' before ':' token
    6 |         a / b = d:
      |                  ^
      |                  ;
main.c:8:15: error: lvalue required as left operand of assignment
    8 |         a / b = f:
      |               ^
main.c:8:18: error: expected ';' before ':' token
    8 |         a / b = f:
      |                  ^
      |                  ;
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:6:15: error: lvalue required as left operand of assignment
    6 |         a / b = d:
      |               ^
main.c:6:18: error: expected ';' before ':' token
    6 |         a / b = d:
      |                  ^
      |                  ;
main.c:8:15: error: lvalue required as left operand of assignment
    8 |         a / b = f:
      |               ^
main.c:8:18: error: expected ';' before ':' token
    8 |         a / b = f:
      |                  ^
      |                  ;
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:6:15: error: lvalue required as left operand of assignment
    6 |         a / b = d:
      |               ^
main.c:6:18: error: expected ';' before ':' token
    6 |         a / b = d:
      |                  ^
      |                  ;
main.c:8:15: error: lvalue required as left operand of assignment
    8 |         a / b = f:
      |               ^
main.c:8:18: error: expected ';' before ':' token
    8 |         a / b = f:
      |                  ^
      |                  ;
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:6:18: error: expected ';' before 'r'
    6 |         d = a / b
      |                  ^
      |                  ;
    7 |         r = a % b
      |         ~         
main.c:9:9: error: implicit declaration of function 'prnitf'; did you mean 'printf'? [-Wimplicit-function-declaration]
    9 |         prnitf("%d %d %f\n", d, r, f);
      |         ^~~~~~
      |         printf
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:6:18: error: expected ';' before 'r'
    6 |         d = a / b
      |                  ^
      |                  ;
    7 |         r = a % b
      |         ~         
main.c:9:9: error: implicit declaration of function 'prnitf'; did you mean 'printf'? [-Wimplicit-function-declaration]
    9 |         prnitf("%d %d %f\n", d, r, f);
      |         ^~~~~~
      |         printf
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:6:18: error: expected ';' before 'r'
    6 |         d = a / b
      |                  ^
      |                  ;
    7 |         r = a % b
      |         ~         
main.c:9:9: error: implicit declaration of function 'prnitf'; did you mean 'printf'? [-Wimplicit-function-declaration]
    9 |         prnitf("%d %d %f\n", d, r, f);
      |         ^~~~~~
      |         printf
Language: C

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

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

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

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

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

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

#include <stdio.h>

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

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

#include<stdio.h>
int main()
{
  int a, b, 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:9:7: error: expected expression before '<' token
    9 |   f = <double>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 ",d,r);
    printf("%lf\n",f);
return 0;
}

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

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

Compiler output:
main.c: In function 'main':
main.c:9:26: error: 'n' undeclared (first use in this function)
    9 |   printf("%d %d %.5lf\n",n,r,f);
      |                          ^
main.c:9:26: note: each undeclared identifier is reported only once for each function it appears in
Language: C

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

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

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

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

#include <stdio.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:41: error: invalid operands to binary % (have 'double' and 'int')
    8 | printf("%d %d %f",a / b,a % b,(double)a % b);
      |                               ~~~~~~~~~ ^
      |                               |
      |                               double