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

a,b = map(int, raw_input().split())
c = a / b
d = a % b


print '%d %d %f' % (c,d,(float(a) / b))

Compiler output:
a.cc:6:7: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
    6 | print '%d %d %f' % (c,d,(float(a) / b))
      |       ^~~~~~~~~~
a.cc:1:1: error: 'a' does not name a type
    1 | a,b = map(int, raw_input().split())
      | ^
Language: C++

a,b = map(int, raw_input().split())
c = a / b
d = a % b


print "{0} {1} {2:0.8f}".format(int(d), int(e), float(a)/float(b))

Compiler output:
a.cc:1:1: error: 'a' does not name a type
    1 | a,b = map(int, raw_input().split())
      | ^
Language: C++

a,b = map(int, raw_input().split())
c = a/b
d = a%b
print '%d %d %f' % (c,d,(float(a) / b))

Compiler output:
a.cc:4:7: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
    4 | print '%d %d %f' % (c,d,(float(a) / b))
      |       ^~~~~~~~~~
a.cc:1:1: error: 'a' does not name a type
    1 | a,b = map(int, raw_input().split())
      | ^
Language: C++

a,b=map(int, raw_input().split())
d=a/b
e=a%b
print '%d %d %f' % (c,d,(float(a) / b))

Compiler output:
a.cc:4:7: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
    4 | print '%d %d %f' % (c,d,(float(a) / b))
      |       ^~~~~~~~~~
a.cc:1:1: error: 'a' does not name a type
    1 | a,b=map(int, raw_input().split())
      | ^
Language: C++

a,b=map(int, raw_input().split())
d=a/b
e=a%b
print '%d %d %f' % (d,e,(float(a) / b))

Compiler output:
a.cc:4:7: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
    4 | print '%d %d %f' % (d,e,(float(a) / b))
      |       ^~~~~~~~~~
a.cc:1:1: error: 'a' does not name a type
    1 | a,b=map(int, raw_input().split())
      | ^
Language: C++

a,b=map(int, raw_input().split())
d=a/b
e=a%b
print '%d %d %f' % (d,e,(float(a)/float(b)))

Compiler output:
a.cc:4:7: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
    4 | print '%d %d %f' % (d,e,(float(a)/float(b)))
      |       ^~~~~~~~~~
a.cc:1:1: error: 'a' does not name a type
    1 | a,b=map(int, raw_input().split())
      | ^
Language: C++

a,b=map(int, raw_input().split())
d=a/b
e=a%b
print ('%d %d %f' % (d,e,(float(a)/float(b)))

Compiler output:
a.cc:4:8: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
    4 | print ('%d %d %f' % (d,e,(float(a)/float(b)))
      |        ^~~~~~~~~~
a.cc:1:1: error: 'a' does not name a type
    1 | a,b=map(int, raw_input().split())
      | ^
Language: C++

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

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

cin >> a >> b;

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

cout << d << " " << r << " " << setprecision << f << endl;


return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:33: error: 'setprecision' was not declared in this scope
   17 | cout << d << " " << r << " " << setprecision << f << 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 |
Language: C++

#include<iostream>
using namespace std;

int main(){
int r;
cin >>r;
cout << r*r*M_PI<<" "<<2*r*M_PI<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: 'M_PI' was not declared in this scope
    7 | cout << r*r*M_PI<<" "<<2*r*M_PI<<endl;
      |             ^~~~
Language: C++

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

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

import java.io.*;
 
class Main{
    public static void main(String[] args)throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String str = br.readLine();
        String strArr[] = str.split(" ");
 
        int a, b;
 
        a = Integer.parseInt(strArr[0]);
        b = Integer.parseInt(strArr[1]);
 
        int d, r;
        double f;
 
        d = a/b;
        r = a%b;
        f = (double)a/b;
 
        System.out.println(d + " " + r + " " + f);
    }
}

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.io.*;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:4:11: error: expected ':' before 'static'
    4 |     public static void main(String[] args)throws IOException{
      |           ^~~~~~~
      |           :
a.cc:4:29: error: 'String' has not been declared
    4 |     public static void main(String[] args)throws IOException{
      |                             ^~~~~~
a.cc:4:38: error: expected ',' or '...' before 'args'
    4 |     public static void main(String[] args)throws IOException{
      |                                      ^~~~
a.cc:4:42: error: expected ';' at end of member declaration
    4 |     public static void main(String[] args)throws IOException{
      |                                          ^
      |                                           ;
a.cc:4:43: error: 'throws' does not name a type
    4 |     public static void main(String[] args)throws IOException{
      |                                           ^~~~~~
a.cc:23:2: error: expected ';' after class definition
   23 | }
      |  ^
      |  ;
Language: C++

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

int main(){
	int a,b;
	double f;
	cin >> a >> b;
	f=1.0*a/b;
	cout << a/b << " " << a%b << " " << fixed << setrecision(10) << f << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:54: error: 'setrecision' was not declared in this scope
   10 |         cout << a/b << " " << a%b << " " << fixed << setrecision(10) << f << endl;
      |                                                      ^~~~~~~~~~~
Language: C++

#include<iostream>
using namespace std;
#define MAX 1000000000

int main(void)
{
  int a,b,d,r;
  float f;
  do{
    cin >> a >> c;
  }while(a < 1 || a > MAX || b < 1 || b > MAX);

  d = a / b;
  r = a % b;
  f = (float)a / (float)b;
  
  cout << d << " " << r << " " << f << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:17: error: 'c' was not declared in this scope
   10 |     cin >> a >> c;
      |                 ^
Language: C++

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

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

  cin >> a >> b;

  d = a / b;
  r = a % b;
  f = (double)a / (double)b;
  
  cout << d << " " << r << " ";
  cout << fixed << setprecision(5) << f << endl;

  return 0;
}

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

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

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

  cin >> a >> b;

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

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

import GHC.Float

main = getLine >>= putStrLn . (\[a,b] -> shows (div a b) " " ++ shows (mod a b) " " ++ show (int2Float a / int2Float b)) . map (read :: String -> Int) . words

Compiler output:
a.cc:3:32: error: stray '\' in program
    3 | main = getLine >>= putStrLn . (\[a,b] -> shows (div a b) " " ++ shows (mod a b) " " ++ show (int2Float a / int2Float b)) . map (read :: String -> Int) . words
      |                                ^
a.cc:1:1: error: 'import' does not name a type
    1 | import GHC.Float
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:27: error: 'd' was not declared in this scope
    7 | printf("%d %d %f\n",a/b,a%d,(float)a/(float)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%d,(float)a/b);
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:27: error: 'd' was not declared in this scope
    6 | printf("%d %d %f\n",a/b,a%d,(float)a/b);
      |                           ^
Language: C++

#include <stdio.h>

main(void){

int a,b,d,r;

double f;

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

d=a/b;

r=a%b;

f=a(double)/b;

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

return 0;

};

Compiler output:
a.cc:3:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    3 | main(void){
      | ^~~~
a.cc: In function 'int main()':
a.cc:15:5: error: expected primary-expression before 'double'
   15 | f=a(double)/b;
      |     ^~~~~~
a.cc:15:11: error: 'a' cannot be used as a function
   15 | f=a(double)/b;
      |           ^
Language: C++

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

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

	long long int result, mod;
	long double precisionNum;
	result = a / b;
	mod = a%b;
	precisionNum = long double(a) / long double(b);

	cout << result << " " << mod << " " ;
	printf("%.5f\n", precisionNum);
	//system("pause");
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:24: error: expected primary-expression before 'long'
   13 |         precisionNum = long double(a) / long double(b);
      |                        ^~~~
Language: C++

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

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

	long long int result, mod;
	long double precisionNum;
	result = a / b;
	mod = a%b;
	precisionNum = long double(a) / long double(b);

	cout << result << " " << mod << " " ;
	printf("%.5f\n", precisionNum);
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:24: error: expected primary-expression before 'long'
   13 |         precisionNum = long double(a) / long double(b);
      |                        ^~~~
Language: C++

#include<stdio.h>


int main(void)


{


double r, double pai=3.14159265359


scanf("%lf",&r);


printf("%f %f\n",r*r*pai,2*r*pai);


return 0;


}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:11: error: expected unqualified-id before 'double'
   10 | double r, double pai=3.14159265359
      |           ^~~~~~
a.cc:16:22: error: 'pai' was not declared in this scope
   16 | printf("%f %f\n",r*r*pai,2*r*pai);
      |                      ^~~
Language: C++

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

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

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

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

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

Compiler output:
a.cc:2:1: error: '::main' must return 'int'
    2 | double main(void){
      | ^~~~~~
a.cc: In function 'int main()':
a.cc:10:4: error: invalid operands of types 'double' and 'double' to binary 'operator%'
   10 | r=a%b;
      |   ~^~
      |   | |
      |   | double
      |   double
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:11: error: invalid operands of types 'const char [3]' and 'int' to binary 'operator&'
    5 | scanf("%d"&a);
      |       ~~~~^~
      |       |    |
      |       |    int
      |       const char [3]
a.cc:6:11: error: invalid operands of types 'const char [3]' and 'int' to binary 'operator%'
    6 | scanf("%d"%b);
      |       ~~~~^~
      |       |    |
      |       |    int
      |       const char [3]
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:34: error: 'c' was not declared in this scope
    6 |                 cin >> a >> b >> c;
      |                                  ^
Language: C++

??? #include <iostream>
using namespace std;
	int main(){
		int a,b,d,r;
		cin >> a >> b >> d >> r ;
		1 <= a , b <= 10*10*10*10*10*10*10*10*10;
		d = a / b ;
		r = a % b ;
		float q,w,f;
		q = a;
		w = b;
		f = q / w ;
		cout << " " << d << " " << r << " " << f << endl;
	}

Compiler output:
a.cc:1:5: error: stray '#' in program
    1 | ??? #include <iostream>
      |     ^
a.cc:1:1: error: expected unqualified-id before '?' token
    1 | ??? #include <iostream>
      | ^
a.cc: In function 'int main()':
a.cc:5:17: error: 'cin' was not declared in this scope
    5 |                 cin >> a >> b >> d >> r ;
      |                 ^~~
a.cc:13:17: error: 'cout' was not declared in this scope
   13 |                 cout << " " << d << " " << r << " " << f << endl;
      |                 ^~~~
a.cc:13:61: error: 'endl' was not declared in this scope
   13 |                 cout << " " << d << " " << r << " " << f << endl;
      |                                                             ^~~~
Language: C++

#include <iostream>

int main() {
  int a, b;
  std:cin >> a >> b;
  std::cout << a / b << a % b << a / (float)b << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:7: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   std: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:6:50: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |   std::cout << a / b << a % b << a / (float)b << endl;
      |                                                  ^~~~
      |                                                  std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <iostream>

int main() {
  int a, b;
  std:cin >> a >> b;
  std::cout << a / b << a % b << a / (float)b << std::endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:7: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   std: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
      |                  ^~~
Language: C++

#include <iostream>
using namespace std;
#define REP(i,k,n) for(int i=k;i<n;i++)
#define rep(i,j) for(int i=0;i<j;i++)

int main(void){

   long double a,b;

    cin >> a >> b;

    unsigned int z1 = a / b;
    unsigned int z2 = int(a) % int(b);
    long double z3 = a / b;

    cout << z1 << " " << z2 << " ";
    cout << fixed << setprecision(5) << z3 << endl;

    return 0;
}

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

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

Compiler output:
a.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(stdio.h)
      |         ^
a.cc:2:10: error: expected initializer before '<' token
    2 | int main <void>
      |          ^
Language: C++

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

Compiler output:
a.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(stdio.h)
      |         ^
a.cc:2:10: error: expected initializer before '<' token
    2 | int main <void>
      |          ^
Language: C++

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

Compiler output:
a.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(stdio.h)
      |         ^
a.cc:2:10: error: expected initializer before '<' token
    2 | int main <void>
      |          ^
Language: C++

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

Compiler output:
a.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(stdio.h)
      |         ^
a.cc:2:10: error: expected initializer before '<' token
    2 | int main <void>
      |          ^
Language: C++

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

Compiler output:
a.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(stdio.h)
      |         ^
a.cc:2:10: error: expected initializer before '<' token
    2 | int main <void>
      |          ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:24: error: invalid operands of types 'const char [16]' and 'int' to binary 'operator&'
    6 | scanf("%d,%d,%d,%d,%lf"&a,&b,&d,&r,&f);
      |       ~~~~~~~~~~~~~~~~~^~
      |       |                 |
      |       const char [16]   int
Language: C++

#include <iostream>
using namespace std;
int main(void){
	int a,b;
	cin>>a,b;
	float f;
	f=a/b
	cout<<a/b<<" "<<a%b<<" "<<f<<endl;
}

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

#include <iostream>
using namespace std;
int main(void){
	int a,b;
	cin>>a,b;
	float f;
	f=a/b;
	cout<<a/b<<" "<<a%b<<" ";
	cout<<fixed<<setprecision(8)<<f<<endl;
}

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

  #include <iostream> 
using namespace std;
	int main(){
		float a , b ;
		int x , y ;
		  1 <= a , b <= 1000000000;
		cin >> a >> b ;
		x = a ; 
		y = b ; 
		cout << x / y << " " << x % y << " " << a / b << endl;
	}}

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

 #include <iostream> 
using namespace std;
	int main(){
		 double float a , b ;
		  1 <= a , b <= 1000000000;
		int x , y ;
		cin >> a >> b ;
		x = a ; 
		y = b ; 
		cout << x / y << " " << x % y << " " << a / b << endl;
	}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:18: error: two or more data types in declaration of 'a'
    4 |                  double float a , b ;
      |                  ^~~~~~
a.cc:4:18: error: two or more data types in declaration of 'b'
a.cc:5:24: error: 'a' was not declared in this scope
    5 |                   1 <= a , b <= 1000000000;
      |                        ^
a.cc:5:28: error: 'b' was not declared in this scope
    5 |                   1 <= a , b <= 1000000000;
      |                            ^
Language: C++

??? #include <iostream>
 #include <cstdio>
using namespace std;
	int main(){
		int a , b ;
		float x , y ;
		cin >> a >> b ;
		1 <= a , b <= 1000000000;
		x = a ;
		y = b ;
		printf("%d %d %f.8 \n", a / b , a % b , x / y );
}

Compiler output:
a.cc:1:5: error: stray '#' in program
    1 | ??? #include <iostream>
      |     ^
a.cc:1:1: error: expected unqualified-id before '?' token
    1 | ??? #include <iostream>
      | ^
a.cc: In function 'int main()':
a.cc:7:17: error: 'cin' was not declared in this scope
    7 |                 cin >> a >> b ;
      |                 ^~~
a.cc:3:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    2 |  #include <cstdio>
  +++ |+#include <iostream>
    3 | using namespace std;
Language: C++

#include <iostream>
#include <iomanip>

using namespace std;

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

    d=a/b;
    r=a%b;
    f=1.0*a/b;
    
    cout<<d<<" "<<r<<" "<<f<<endl;
  
    return 0;
 
}

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

#include <iostream>
#include <iomanip>

using namespace std;

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

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

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

#include <iostream>
#include <iomanip>

using namespace std;

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

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

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

#include <iostream>
#include <iomanip>

using namespace std;

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

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

Compiler output:
a.cc:6:1: error: '::main' must return 'int'
    6 | double main(){
      | ^~~~~~
a.cc: In function 'int main()':
a.cc:14:8: error: invalid operands of types 'double' and 'double' to binary 'operator%'
   14 |     r=a%b;
      |       ~^~
      |       | |
      |       | double
      |       double
Language: C++

#include <iostream>
#include <iomanip>

using namespace std;

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

    
    cin>>a>>b;

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

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

#include <iostream>
#include <iomanip>

using namespace std;

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

    
    cin>>a>>b;

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

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

#include <iostream>
#include <iomanip>

using namespace std;

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

    
    cin>>a>>b;

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

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

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

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

	long long int result, mod;
	long double precisionNum;
	result = a / b;
	mod = a%b;
	precisionNum = long double(a) / long double(b);

	cout << result << " " << mod << " " ;
	printf("%.5f\n", precisionNum);
	system("pause");
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:24: error: expected primary-expression before 'long'
   13 |         precisionNum = long double(a) / long double(b);
      |                        ^~~~
Language: C++

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

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

	long long int result;
	long long int mod;
	long double precisionNum;
	result = a / b;
	mod = a%b;
	precisionNum = long double(a) / long double(b);

	cout << result << " " << mod << " " ;
	printf("%.5f\n", precisionNum);
	//system("pause");
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:24: error: expected primary-expression before 'long'
   14 |         precisionNum = long double(a) / long double(b);
      |                        ^~~~
Language: C++

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

int main()
{

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

 cin >> a >> b;

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

 double x = static_cast<double>(a);
 double y = static_cast<double>(b);

 f = x / y;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:24:43: error: expected '}' at end of input
   24 |  printf("%d%s%d%s%f\n", d," ", r, " ", f);
      |                                           ^
a.cc:6:1: note: to match this '{'
    6 | {
      | ^
Language: C++

#include<iostream>
using namespace std;

int main() {
	long int a, b,d,r;
	long float f;
	cin >> a >> b;
	d = a / b;
	r = a%b;
	f = 1.000000*a / b;
	cout << d << " " << r << " " << f << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'long' specified with 'float'
    6 |         long float f;
      |         ^~~~
Language: C++

#include<iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: '_Longlong' was not declared in this scope
    5 |         _Longlong a, b,d,r;
      |         ^~~~~~~~~
a.cc:7:16: error: 'a' was not declared in this scope
    7 |         cin >> a >> b;
      |                ^
a.cc:7:21: error: 'b' was not declared in this scope
    7 |         cin >> a >> b;
      |                     ^
a.cc:8:9: error: 'd' was not declared in this scope
    8 |         d = a / b;
      |         ^
a.cc:9:9: error: 'r' was not declared in this scope
    9 |         r = 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",d,r,f,);


return 0;


}

Compiler output:
a.cc: In function 'int main()':
a.cc:23:13: error: invalid operands of types 'double' and 'int' to binary 'operator%'
   23 | f =(double)a%b;
      |    ~~~~~~~~~^~
      |    |         |
      |    double    int
a.cc:29:26: error: expected primary-expression before ')' token
   29 | printf("%d %d %lf",d,r,f,);
      |                          ^
Language: C++

#include<stdio.h>

int main(void)


{


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


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


d = a/b;


r = a/b;


f =(double)a%b;


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


return 0;


}

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

#include<stdio.h>

int main(void)

{

   int a,b,d,r,f;

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

   d=a/b

   r=a%b

   f=(double)a/b

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

return 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:9: error: expected ';' before 'r'
   11 |    d=a/b
      |         ^
      |         ;
   12 | 
   13 |    r=a%b
      |    ~
Language: C++

#include <iostream>

using namespace std;

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

	cin >> a >> b;

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

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

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


	#include<iostream>
	using namesoace std;
	int main(){
		    int a, b;
		    double A,B;
		    cin<<a/b<<" "<<a%b<<" ";
		    A=a;
		    B=b;
		    cout<<fixed<<A/B<<endl;
		    return 0;
     	}

Compiler output:
a.cc:3:15: error: expected nested-name-specifier before 'namesoace'
    3 |         using namesoace std;
      |               ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:21: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |                     cin<<a/b<<" "<<a%b<<" ";
      |                     ^~~
      |                     std::cin
In file included from a.cc:2:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:10:21: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |                     cout<<fixed<<A/B<<endl;
      |                     ^~~~
      |                     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:10:27: error: 'fixed' was not declared in this scope; did you mean 'std::fixed'?
   10 |                     cout<<fixed<<A/B<<endl;
      |                           ^~~~~
      |                           std::fixed
In file included from /usr/include/c++/14/ios:44,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/bits/ios_base.h:1104:3: note: 'std::fixed' declared here
 1104 |   fixed(ios_base& __base)
      |   ^~~~~
a.cc:10:39: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |                     cout<<fixed<<A/B<<endl;
      |                                       ^~~~
      |                                       std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

using namespace std;
int main() {
	long int a, b;
	cin >> a >> b;
	cout << a / b << ' ' << a % b << ' ' << (long double)a / b << endl;
}

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:24: error: invalid operands of types 'double' and 'double' to binary 'operator%'
    5 | printf("%d:%d:%f",a/b,a%b,a/b);
      |                       ~^~
      |                       | |
      |                       | double
      |                       double
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:24: error: invalid operands of types 'double' and 'double' to binary 'operator%'
    5 | printf("%d:%d:%f",a/b,a%b,a/b);
      |                       ~^~
      |                       | |
      |                       | double
      |                       double
Language: C++

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

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

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

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

#include <iostream>
using namespace std;

int main() {
	int a,b;
	cin >> a >> b;
	
	int d = a/b, r = a%b;
	float f = (float)a / (float)b;
	
	cout << setprecision(5) << d << " " << r << " " << f << endl;
	// your code goes here
	return 0;
}

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:11:51: error: expected '}' at end of input
   11 |         cout << d << " " << r << " " << f << endl;
      |                                                   ^
a.cc:3:12: note: to match this '{'
    3 | int main() {
      |            ^
Language: C++

import java.math.BigDecimal;
import java.util.Scanner;


class Main {

	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();
		int y = scan.nextInt();
		double f = 1.0 * x / y;
		BigDecimal g = new BigDecimal(f);
		g = g.setScale(5,BigDecimal.ROUND_HALF_UP);
		System.out.printf(x/y + " " + x%y + " " + "%.5f",g);
	}
}

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.math.BigDecimal;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:2:1: error: 'import' does not name a type
    2 | import java.util.Scanner;
      | ^~~~~~
a.cc:2:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:7:15: error: expected ':' before 'static'
    7 |         public static void main(String[] args){
      |               ^~~~~~~
      |               :
a.cc:7:33: error: 'String' has not been declared
    7 |         public static void main(String[] args){
      |                                 ^~~~~~
a.cc:7:42: error: expected ',' or '...' before 'args'
    7 |         public static void main(String[] args){
      |                                          ^~~~
a.cc:16:2: error: expected ';' after class definition
   16 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Main::main(int*)':
a.cc:8:17: error: 'Scanner' was not declared in this scope
    8 |                 Scanner scan = new Scanner(System.in);
      |                 ^~~~~~~
a.cc:9:25: error: 'scan' was not declared in this scope
    9 |                 int x = scan.nextInt();
      |                         ^~~~
a.cc:12:17: error: 'BigDecimal' was not declared in this scope
   12 |                 BigDecimal g = new BigDecimal(f);
      |                 ^~~~~~~~~~
a.cc:13:17: error: 'g' was not declared in this scope
   13 |                 g = g.setScale(5,BigDecimal.ROUND_HALF_UP);
      |                 ^
a.cc:14:17: error: 'System' was not declared in this scope
   14 |                 System.out.printf(x/y + " " + x%y + " " + "%.5f",g);
      |                 ^~~~~~
a.cc:14:51: error: invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+'
   14 |                 System.out.printf(x/y + " " + x%y + " " + "%.5f",g);
      |                                   ~~~~~~~~~~~~~~~ ^ ~~~
      |                                             |       |
      |                                             |       const char [2]
      |                                             const char*
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:36: error: 'B' was not declared in this scope
    6 |         printf("%d %d %lf\n",a/b,a%B,(double)a%b);
      |                                    ^
a.cc:6:47: error: invalid operands of types 'double' and 'int' to binary 'operator%'
    6 |         printf("%d %d %lf\n",a/b,a%B,(double)a%b);
      |                                      ~~~~~~~~~^~
      |                                      |         |
      |                                      double    int
Language: C++

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:45: error: invalid operands of types 'double' and 'int' to binary 'operator%'
    6 |         printf("%d %d %lf",a/b,a%b,(double)a%b);
      |                                    ~~~~~~~~~^~
      |                                    |         |
      |                                    double    int
Language: C++

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

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

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:35: error: invalid operands of types 'double' and 'double' to binary 'operator%'
    7 |         printf("%d %d %lf\n",a/b,a%b,(double)a%(double)b);
      |                                  ~^~
      |                                  | |
      |                                  | double
      |                                  double
a.cc:7:47: error: invalid operands of types 'double' and 'double' to binary 'operator%'
    7 |         printf("%d %d %lf\n",a/b,a%b,(double)a%(double)b);
      |                                      ~~~~~~~~~^~~~~~~~~~
      |                                      |         |
      |                                      double    double
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:39: error: invalid operands of types 'int' and 'double' to binary 'operator%'
    8 |         printf("%d %d %lf\n",a/b,a%b,a%(double)b);
      |                                      ~^~~~~~~~~~
      |                                      | |
      |                                      | double
      |                                      int
Language: C++

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

int main()
{
	int a, c;

	cin >> a >> c;
	printf("%d %d %.2f", a / c, a % c, a / (c * 1.0))

	return(0);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:58: error: expected ';' before 'return'
   10 |         printf("%d %d %.2f", a / c, a % c, a / (c * 1.0))
      |                                                          ^
      |                                                          ;
   11 | 
   12 |         return(0);
      |         ~~~~~~
Language: C++

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

int main()
{
	int a, c;

	cin >> a >> c;
	printf("%d %d %.2f\n", a / c, a % c, a / (c * 1.0))

	return(0);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:60: error: expected ';' before 'return'
   10 |         printf("%d %d %.2f\n", a / c, a % c, a / (c * 1.0))
      |                                                            ^
      |                                                            ;
   11 | 
   12 |         return(0);
      |         ~~~~~~
Language: C++

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

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:34: error: 'd' was not declared in this scope
    6 |     printf("%d %d %8.1d\n",a/b,a%d,(double)a/b);
      |                                  ^
Language: C++

a, b, c = [int(i) for i in input().split()]

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

print("{0} {1} {2:.5f}".format(d, r, f))

Compiler output:
a.cc:1:1: error: 'a' does not name a type
    1 | a, b, c = [int(i) for i in input().split()]
      | ^
Language: C++

#include <studios.h>

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

return 0;

}

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

#include <iostream>

using namespace std;

int main()
{
  int a;
  int b;
  int d;
  int r;
  double f;
  
  cin >> a >>b;
  d=a/b;
  r=a%b;
  f=(double)a/(double)b;
  
  cout << d <<" "<< r <<" "<< fixed << setprecision(5) << f <<"\n";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:18:40: error: 'setprecision' was not declared in this scope
   18 |   cout << d <<" "<< r <<" "<< fixed << setprecision(5) << f <<"\n";
      |                                        ^~~~~~~~~~~~
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 |
Language: C++

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

int main(){

	int a,b;
	float f;

	cin >> a >> b;

	f =(float)a/b;
	printf("%d %d %5f",a/b, a%b, f);

	return 0;
}

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

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

int main(){

	int a,b;
	double f;

	cin >> a >> b;

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

	return 0;
}

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

#include<iostream>
using namespace std;

int main(){
int a, b;

cin >> a >> b;

double f = a / b;

cout << a / b << a % b << setprecision(8) << f << endl;

}

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

 :  


#include<stdio.h>

int main(void)

{

int a,b;

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

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

return 0;

}
 

Compiler output:
a.cc:1:2: error: expected unqualified-id before ':' token
    1 |  :
      |  ^
a.cc: In function 'int main()':
a.cc:12:1: error: 'acanf' was not declared in this scope
   12 | acanf("%d %d",&a,&b);
      | ^~~~~
a.cc:14:1: error: 'printf' was not declared in this scope
   14 | printf("%d %d %lf",a/b,a%b,(double)a/b);
      | ^~~~~~
a.cc:5:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
    4 | #include<stdio.h>
  +++ |+#include <cstdio>
    5 |