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

include<iostream>                                         
using namespace std;                                       
                                                           
int main(){                                                
                                                           
  int a,b;                                                 
                                                           
  cin >> a >> b;                                           
                                                           
  cout << a / b << " " << a % b << " " << (double)a/(doubl\
e)b << endl;                                               
                                                           
  return 0;                                                
                                                           
}    

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:8:3: error: 'cin' was not declared in this scope
    8 |   cin >> a >> b;
      |   ^~~
a.cc:10:3: error: 'cout' was not declared in this scope
   10 |   cout << a / b << " " << a % b << " " << (double)a/(doubl\
      |   ^~~~
a.cc:11:8: error: 'endl' was not declared in this scope
   11 | e)b << endl;
      |        ^~~~
Language: C++

int main(int argc, const char * argv[]) {
    int a,b,d,r;
    double a1,b1,f;
    scanf("%d %d",&a,&b);
    if(1<=a&&a<=1000000000&&1<=b&&b<=1000000000&&1){
        d=a/b;
        r=a-d;
        a1=a;
        b1=b;
        f=a1/b1;
        printf("%d %d %lf\n",d,r,f);
    }
        return 0;
}

Compiler output:
a.cc: In function 'int main(int, const char**)':
a.cc:4:5: error: 'scanf' was not declared in this scope
    4 |     scanf("%d %d",&a,&b);
      |     ^~~~~
a.cc:11:9: error: 'printf' was not declared in this scope
   11 |         printf("%d %d %lf\n",d,r,f);
      |         ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(int argc, const char * argv[]) {
Language: C++

int main(int argc, const char * argv[]) {
    int a,b,d,r;
    double a1,b1,f;
    scanf("%d %d",&a,&b);
    if(1<=a&&a<=1000000000&&1<=b&&b<=1000000000&&1){
        d=a/b;
        r=a-d;
        a1=a;
        b1=b;
        f=a1/b1;
        printf("%d %d %.5lf\n",d,r,f);
    }
        return 0;
}

Compiler output:
a.cc: In function 'int main(int, const char**)':
a.cc:4:5: error: 'scanf' was not declared in this scope
    4 |     scanf("%d %d",&a,&b);
      |     ^~~~~
a.cc:11:9: error: 'printf' was not declared in this scope
   11 |         printf("%d %d %.5lf\n",d,r,f);
      |         ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(int argc, const char * argv[]) {
Language: C++

int main(int argc, const char * argv[]) {
    int a,b,d,r;
    double a1,b1,f;
    scanf("%d %d",&a,&b);
    if(1<=a&&a<=1000000000&&1<=b&&b<=1000000000&&1){
        d=a/b;
        r=a-b;
        a1=a;
        b1=b;
        f=a1/b1;
        printf("%d %d %lf\n",d,r,f);
    }
        return 0;
}

Compiler output:
a.cc: In function 'int main(int, const char**)':
a.cc:4:5: error: 'scanf' was not declared in this scope
    4 |     scanf("%d %d",&a,&b);
      |     ^~~~~
a.cc:11:9: error: 'printf' was not declared in this scope
   11 |         printf("%d %d %lf\n",d,r,f);
      |         ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(int argc, const char * argv[]) {
Language: C++

int main(int argc, const char * argv[]) {
    int a,b,d,r;
    double a1,b1,f;
    scanf("%d %d",&a,&b);
    if(1<=a&&a<=1000000000&&1<=b&&b<=1000000000&&1){
        d=a/b;
        r=a-b;
        a1=a;
        b1=b;
        f=a1/b1;
        printf("%d %d %5.lf\n",d,r,f);
    }
        return 0;
}

Compiler output:
a.cc: In function 'int main(int, const char**)':
a.cc:4:5: error: 'scanf' was not declared in this scope
    4 |     scanf("%d %d",&a,&b);
      |     ^~~~~
a.cc:11:9: error: 'printf' was not declared in this scope
   11 |         printf("%d %d %5.lf\n",d,r,f);
      |         ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(int argc, const char * argv[]) {
Language: C++

#include<iostream>
using namespace std;

int main(void){
  int a, b;

  cin >> a >> b;

  cout << a / b << " " << a % b << " " << fixed << setprecision(6) << (double)a / b << endl;
  
  return 0;
}

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

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

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

Compiler output:
a.cc:9:2: error: expected class-name at end of input
    9 | ~
      |  ^
Language: C++

#include<iostream >
using namespace std;

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

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

#include<iostream>
using namespace std;

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

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

#include<iostream>
using namespace std;

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

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

#include<iostream>
#include<conio.h>
using namespace std;
int main(){
	unsigned int x,y;
	cin >>x>>y;
	printf("%d %d %.5f",x/y,x%y,(double)x/y);
	return 0;
}

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:11:31: error: 'setprecision' was not declared in this scope
   11 |         cout<<x<<" "<<y<<" "<<setprecision(8)<<z<<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>
#include<conio.h>
using namespace std;
void main()
{
	int x, y, a = 0, b = 0;
	double c = 0;
	cin >> x >> y;
	a = x / y;
	b = x%y;
	c = double(x) / double(y);
	printf("%d %d %lf", a, b, c);
	_getch();
}

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

#include<iostream>
#include<conio.h>
using namespace std;
void main()
{
	int x, y, a = 0, b = 0;
	double c = 0;
	scanf("%d %d",&x,&y)
	a = x / y;
	b = x % y;
	c = double(x) / double(y);
	printf("%d %d %lf", a, b, c);
	_getch();
}

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

#include<iostream>
using namespace std;
void main()
{
	int x, y, a = 0, b = 0;
	double c = 0;
	scanf("%d %d",&x,&y)
	a = x / y;
	b = x % y;
	c = double(x) / double(y);
	printf("%d %d %lf", a, b, c);
	_getch();
}

Compiler output:
a.cc:3:1: error: '::main' must return 'int'
    3 | void main()
      | ^~~~
a.cc: In function 'int main()':
a.cc:7:29: error: expected ';' before 'a'
    7 |         scanf("%d %d",&x,&y)
      |                             ^
      |                             ;
    8 |         a = x / y;
      |         ~                    
a.cc:12:9: error: '_getch' was not declared in this scope; did you mean 'getc'?
   12 |         _getch();
      |         ^~~~~~
      |         getc
Language: C++

#include<iostream>
using namespace std;
int main()
{
	int x, y, a = 0, b = 0;
	double c = 0;
	scanf("%d %d",&x,&y)
	a = x / y;
	b = x % y;
	c = double(x) / double(y);
	printf("%d %d %lf", a, b, c);

}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:29: error: expected ';' before 'a'
    7 |         scanf("%d %d",&x,&y)
      |                             ^
      |                             ;
    8 |         a = x / y;
      |         ~
Language: C++

#include<iostream>
using namespace std;
int main()
{
	int x, y, a = 0, b = 0;
	double c = 0;
	cin>>x>>y;
	a = x / y;
	b = x % y;
	c = double(x) / double(y);
	cout<<a<<' '<<b<<' '<<setprecision(5)<<fixed<<c<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:31: error: 'setprecision' was not declared in this scope
   11 |         cout<<a<<' '<<b<<' '<<setprecision(5)<<fixed<<c<<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 x, y, a = 0, b = 0;
	double c = 0;
	cin>>x>>y;
	a = x / y;
	b = x % y;
	c = double(x) / double(y);
	cout<<a<<" "<<b<<" "<<setprecision(5)<<fixed<<c<<endl;
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:31: error: 'setprecision' was not declared in this scope
   11 |         cout<<a<<" "<<b<<" "<<setprecision(5)<<fixed<<c<<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;

    cin >> a >> b;

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

    return 0;
}

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

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

Compiler output:
a.cc:3:1: error: expected unqualified-id before '?' token
    3 | ??
      | ^
Language: C++

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

Compiler output:
a.cc:3:1: error: expected unqualified-id before '?' token
    3 | ??
      | ^
Language: C++

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

Compiler output:
a.cc:3:1: error: expected unqualified-id before '?' token
    3 | ??
      | ^
Language: C++

#include<iostream>
  
using namespace std;
int main()
{
    long a,b;
    cin>>a>>b;
    long x = a/b;
    long y = a%b;
    double z = (double)a/b;
    cout<<x<<" "<<y<<" ";
    cout<<setprec??ion(9);
<<z<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:11: error: 'setprec' was not declared in this scope
   12 |     cout<<setprec??ion(9);
      |           ^~~~~~~
a.cc:12:19: error: expected primary-expression before '?' token
   12 |     cout<<setprec??ion(9);
      |                   ^
a.cc:12:20: error: 'ion' was not declared in this scope
   12 |     cout<<setprec??ion(9);
      |                    ^~~
a.cc:12:26: error: expected ':' before ';' token
   12 |     cout<<setprec??ion(9);
      |                          ^
      |                          :
a.cc:12:26: error: expected primary-expression before ';' token
a.cc:12:26: error: expected ':' before ';' token
   12 |     cout<<setprec??ion(9);
      |                          ^
      |                          :
a.cc:12:26: error: expected primary-expression before ';' token
a.cc:13:1: error: expected primary-expression before '<<' token
   13 | <<z<<endl;
      | ^~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:12:11: error: 'setprecision' was not declared in this scope
   12 |     cout<<setprecision(9);
      |           ^~~~~~~~~~~~
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 | 
a.cc:13:1: error: expected primary-expression before '<<' token
   13 | <<z<<endl;
      | ^~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:12:11: error: 'setprecision' was not declared in this scope
   12 |     cout<<setprecision(9);
      |           ^~~~~~~~~~~~
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()
{
    long a,b;
    cin>>a>>b;
    long x = a/b;
    long y = a%b;
    double z = (double)a/b;
    cout<<x<<" "<<y<<" "<<setprecision(9)<<z<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:27: error: 'setprecision' was not declared in this scope
   11 |     cout<<x<<" "<<y<<" "<<setprecision(9)<<z<<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()
{
    long a,b;
    cin>>a>>b;
    cout<<setprecision(9);
    long x = a/b;
    long y = a%b;
    double z = (double)a/b;
    cout<<x<<" "<<y<<" "<<z<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:11: error: 'setprecision' was not declared in this scope
    8 |     cout<<setprecision(9);
      |           ^~~~~~~~~~~~
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()
{
    long a,b;
    cin>>a>>b;
    
    long x = a/b;
    long y = a%b;
    double z = (double)a/b;
    cout<<setprecision(9);
    cout<<x<<" "<<y<<" "<<z<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:11: error: 'setprecision' was not declared in this scope
   12 |     cout<<setprecision(9);
      |           ^~~~~~~~~~~~
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 a;
	int b;
	int d;
	int r;
	float f;
	
	cin >> a;
	cin >> b;
	
	d = a/b;
	r = a%b;
	f = (float)a/(float)b;
	
	cout << d << " " << r << " " ;
	cout << showpoint <

Compiler output:
a.cc: In function 'int main()':
a.cc:19:28: error: expected primary-expression at end of input
   19 |         cout << showpoint <
      |                            ^
a.cc:19:28: error: expected '}' at end of input
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

#include<iostream>
   
using namespace std;
int main()
{
    long a,b;
    cin>>a>>b;
    double z;
    long x = a/b;
    long y = a%b;
    z = (double)(a/b);
    cout<<x<<" "<<y<<" "<<fixed << setprecision(8)<<z<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:36: error: 'setprecision' was not declared in this scope
   12 |     cout<<x<<" "<<y<<" "<<fixed << setprecision(8)<<z<<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()
{
    long a,b;
    cin>>a>>b;
    double z;
    long x = a/b;
    long y = a%b;
    z = (double)a/(double)b;
    cout<<x<<" "<<y<<" "<<fixed << setprecision(8)<<z<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:36: error: 'setprecision' was not declared in this scope
   12 |     cout<<x<<" "<<y<<" "<<fixed << setprecision(8)<<z<<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>
#include <conio.h>
using namespace std;
int main()
{
	int x, y;
	int a = 0, b = 0;
	double c = 0;
	a = x / y;
	b = x % y;
	c =(double) x / y;
	cin >> x >> y;
	cout << a << b << c << endl;
	_getch();
	return 0;
	
}

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

#include<iostream>
using namespace std;
int main()
{
	int x, y;
        cin >> x >> y;
        double c;
        c =(double)x /(double)y
	cout << x / y << x % y << c << endl;
	return 0;	
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:32: error: expected ';' before 'cout'
    8 |         c =(double)x /(double)y
      |                                ^
      |                                ;
    9 |         cout << x / y << x % y << c << endl;
      |         ~~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: expected initializer before 'cin'
    6 |         cin >> a >> b;
      |         ^~~
a.cc:7:19: error: 'b' was not declared in this scope
    7 |         cout << a/b << " " << a%b << " " << (double)a/(double)b<<endl;
      |                   ^
Language: C++

#include<iostream>
using namespace std;
int main()
{
	int a,b;
	cin >> a >> b;
	printf("%d %d %lf\n",x/y,x%y,(double)x/(double)y);
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:30: error: 'x' was not declared in this scope
    7 |         printf("%d %d %lf\n",x/y,x%y,(double)x/(double)y);
      |                              ^
a.cc:7:32: error: 'y' was not declared in this scope
    7 |         printf("%d %d %lf\n",x/y,x%y,(double)x/(double)y);
      |                                ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:5: error: 'scanf' was not declared in this scope
    3 |     scanf("%d %d", &a, &b);
      |     ^~~~~
a.cc:4:5: error: 'printf' was not declared in this scope
    4 |     printf("%f, %f, %f, %f", a + b, a - b, a * b, a / b);
      |     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main() {
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:5: error: 'scanf' was not declared in this scope
    3 |     scanf("%d %d", &a, &b);
      |     ^~~~~
a.cc:4:38: error: expected ')' before ';' token
    4 |     printf("%d, %d, %f", a / b, a % b; a // b);
      |           ~                          ^
      |                                      )
a.cc:4:41: error: expected ';' before 'return'
    4 |     printf("%d, %d, %f", a / b, a % b; a // b);
      |                                         ^
      |                                         ;
    5 |     return 0;
      |     ~~~~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:5: error: 'scanf' was not declared in this scope
    3 |     scanf("%d %d", &a, &b);
      |     ^~~~~
a.cc:4:5: error: 'printf' was not declared in this scope
    4 |     printf("%d, %d, %.5f", a / b, a % b, double(a) / double(b));
      |     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main() {
Language: C++

#include <iostream>
using namespace std;

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

cin >> a >> b;

d = a/b;
e = a%b;
f = (static_cast<double>(a)/b;

cout << d << e << f << endl;

return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:30: error: expected ')' before ';' token
   13 | f = (static_cast<double>(a)/b;
      |     ~                        ^
      |                              )
Language: C++

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:14: error: 'setprecision' was not declared in this scope
    8 | cout<<fixed<<setprecision(5)<<c<<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(){
    double a,b;
    cin >> a >> b;
    cout << (int)a/b << ' ' << a%b << ' ' << a/b << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:33: error: invalid operands of types 'double' and 'double' to binary 'operator%'
    6 |     cout << (int)a/b << ' ' << a%b << ' ' << a/b << endl;
      |                                ~^~
      |                                | |
      |                                | double
      |                                double
Language: C++

#include <iostream>
using namespace std;


int main(){
   int a,b,d,r;
   double d;
   cin >> a >> b;
   while(){
      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:7:11: error: conflicting declaration 'double d'
    7 |    double d;
      |           ^
a.cc:6:12: note: previous declaration as 'int d'
    6 |    int a,b,d,r;
      |            ^
a.cc:9:10: error: expected primary-expression before ')' token
    9 |    while(){
      |          ^
a.cc:12:7: error: 'f' was not declared in this scope
   12 |       f = a / b;
      |       ^
Language: C++

#include <iostream>
using namespace std;


int main(){
   int a,b,d,r;
   double f;
   cin >> a >> b;
   while(){
      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:9:10: error: expected primary-expression before ')' token
    9 |    while(){
      |          ^
Language: C++

#include <iostream>
using namespace std;


int main(){
   int a,b,d,r;
   double f;
   for(int = 1; i<=10; i++){
      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:8:12: error: expected unqualified-id before '=' token
    8 |    for(int = 1; i<=10; i++){
      |            ^
a.cc:8:11: error: expected ';' before '=' token
    8 |    for(int = 1; i<=10; i++){
      |           ^~
      |           ;
a.cc:8:12: error: expected primary-expression before '=' token
    8 |    for(int = 1; i<=10; i++){
      |            ^
a.cc:8:17: error: 'i' was not declared in this scope
    8 |    for(int = 1; i<=10; i++){
      |                 ^
a.cc:8:22: error: expected ')' before ';' token
    8 |    for(int = 1; i<=10; i++){
      |       ~              ^
      |                      )
a.cc:8:24: error: 'i' was not declared in this scope
    8 |    for(int = 1; i<=10; i++){
      |                        ^
Language: C++

#include <iostream>
using namespace std;


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

}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:19: error: expected ';' before ')' token
    8 | for(int i=0;i<=100){
      |                   ^
      |                   ;
Language: C++

#include "iostream"
#include "string"


int main()
{
	int a, b, d, r;
	float A, B, f;
	std::cin >> a >> b;
	A = a;
	B = b;
	f = A / B;
	d = a / b;
	r = a % b;
	std::cout << d << " " << r << " " << std::fixed(5) << f << std::endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:57: error: invalid initialization of non-const reference of type 'std::ios_base&' from an rvalue of type 'int'
   15 |         std::cout << d << " " << r << " " << std::fixed(5) << f << std::endl;
      |                                                         ^
In file included from /usr/include/c++/14/ios:44,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/bits/ios_base.h:1104:19: note: in passing argument 1 of 'std::ios_base& std::fixed(ios_base&)'
 1104 |   fixed(ios_base& __base)
      |         ~~~~~~~~~~^~~~~~
Language: C++

//============================================================================
// Name        : ITP_1_4_A.cpp
// Author      :
// Version     :
// Copyright   : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================

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

int main() {
	int a,b;
	cin >> a >> b;
//	cout << a/b << " " << a%b << " " << (float)a/(float)b << endl;
	printf("%d %d %5f".a/b,a%b,(float)a/b);
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:28: error: request for member 'a' in '"%d %d %5f"', which is of non-class type 'const char [10]'
   17 |         printf("%d %d %5f".a/b,a%b,(float)a/b);
      |                            ^
Language: C++

import java.util.*;

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

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.*;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:4:9: error: 'Scanner' does not name a type
    4 |         Scanner scan = new Scanner(System.in);
      |         ^~~~~~~
a.cc:7:15: error: expected ':' before 'Main'
    7 |         public Main(){
      |               ^~~~~
      |               :
a.cc:13:15: error: expected ':' before 'static'
   13 |         public static void main(String[] args){
      |               ^~~~~~~
      |               :
a.cc:13:33: error: 'String' has not been declared
   13 |         public static void main(String[] args){
      |                                 ^~~~~~
a.cc:13:42: error: expected ',' or '...' before 'args'
   13 |         public static void main(String[] args){
      |                                          ^~~~
a.cc:16:2: error: expected ';' after class definition
   16 | }
      |  ^
      |  ;
a.cc:5:15: error: 'scan' was not declared in this scope
    5 |         int a=scan.nextInt();
      |               ^~~~
a.cc:6:15: error: 'scan' was not declared in this scope
    6 |         int b=scan.nextInt();
      |               ^~~~
a.cc: In constructor 'Main::Main()':
a.cc:11:17: error: 'System' was not declared in this scope
   11 |                 System.out.print(d+" "+r+" "+f);
      |                 ^~~~~~
a.cc:11:41: error: invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+'
   11 |                 System.out.print(d+" "+r+" "+f);
      |                                  ~~~~~~~^~~~
      |                                       |  |
      |                                       |  const char [2]
      |                                       const char*
Language: C++

s = input().split(" ")
a = int(s[0])
b = int(s[1])
d = int(a / b)
r = a % b
f = round((a / b),7)
print("{0} {1} {2}".format(d,r,f))

Compiler output:
a.cc:1:1: error: 's' does not name a type
    1 | s = input().split(" ")
      | ^
Language: C++

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

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

int main() {
  cin >> a >> b;
  d = a / b;
  r = a % b;
  f = (1.0*double(a))/double(b);
  cout << d << r << fixed << setprecision(5) << f << endl;
}

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:1: error: 'scan' was not declared in this scope; did you mean 'scanf'?
    6 | scan("%d %d",&a,&b);
      | ^~~~
      | scanf
a.cc:7:33: error: expected primary-expression before 'double'
    7 | printf("%d %d %d\n",a/b,a%b,a/b(double));
      |                                 ^~~~~~
a.cc:7:39: error: 'b' cannot be used as a function
    7 | printf("%d %d %d\n",a/b,a%b,a/b(double));
      |                                       ^
Language: C++

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:33: error: expected primary-expression before 'double'
    7 | printf("%d %d %d\n",a/b,a%b,a/b(double));
      |                                 ^~~~~~
a.cc:7:39: error: 'b' cannot be used as a function
    7 | printf("%d %d %d\n",a/b,a%b,a/b(double));
      |                                       ^
Language: C++

#include<iostream>
#include<cstdio>
using namespace std;
int main(){
	int a,b;
	cin>>a>>b;
	printf("%d %d %lf\n",a/b,a%b,(double)a/(double)y);
	return 0;
}
	

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

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

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

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

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

  return 0;
}

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

#include<cstdio>

int main(){
    double a,b;
    scanf("%f%f",&a,&b);
    printf("%d %d %f\n",(int)a/b,a%b,a/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 %f\n",(int)a/b,a%b,a/b);
      |                                  ~^~
      |                                  | |
      |                                  | double
      |                                  double
Language: C++

#include<cstdio>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:5: error: 'unsigned' specified with 'float'
    4 |     unsigned float a,b;
      |     ^~~~~~~~
a.cc:4:5: error: 'unsigned' specified with 'float'
Language: C++

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

#include<cstdio>

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

  cin >> a >> b;

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

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

  return 0;
}

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

#include<iostream>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:16: error: 'setprecision' was not declared in this scope
    7 |   std::cout << setprecision(5)<< (float)a/b << std::endl;
      |                ^~~~~~~~~~~~
Language: C++

#include<iostream>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:21: error: 'setprecision' is not a member of 'std'
    7 |   std::cout << std::setprecision(5)<< (float)a/b << std::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 a,b,d,r;
	float f;

	cin>>a>>b;
	if(a==0||b==0) 
	d=a/b;
	r=a%b;
	f=(float)a/(float)b;
	cout<<d<<" "<<r<<" "<<setprecision(5)<<f<<endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:31: error: 'setprecision' was not declared in this scope
   13 |         cout<<d<<" "<<r<<" "<<setprecision(5)<<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;
	float f;

	cin>>a>>b;
	d=a/b;
	r=a%b;
	f=(float)a/(float)b;
	cout<<d<<" "<<r<<" "<<fixed<<setprecision(5)<<f<<endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:38: error: 'setprecision' was not declared in this scope
   12 |         cout<<d<<" "<<r<<" "<<fixed<<setprecision(5)<<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<bits/stdc++.h>
using namespace std;
int main(){
int a, b, c, d, e;
cin >> a >> b;
c = a / b;
d = a % b;
double e = a / b;
cout << c << " " << d << " " << e << endl;
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:8: error: conflicting declaration 'double e'
    8 | double e = a / b;
      |        ^
a.cc:4:17: note: previous declaration as 'int e'
    4 | int a, b, c, d, e;
      |                 ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
int a, b;
cin >> a >> b;
cout << a / b << " " << a % b << " " << double a / b << endl;
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:41: error: expected primary-expression before 'double'
    6 | cout << a / b << " " << a % b << " " << double a / b << endl;
      |                                         ^~~~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:1: error: 'froat' was not declared in this scope; did you mean 'float'?
    5 | froat f;
      | ^~~~~
      | float
a.cc:6:11: error: 't' was not declared in this scope
    6 | cin>>a>>b;t
      |           ^
a.cc:9:1: error: 'f' was not declared in this scope
    9 | f=a/b;
      | ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:1: error: 'froat' was not declared in this scope; did you mean 'float'?
    5 | froat f;
      | ^~~~~
      | float
a.cc:9:1: error: 'f' was not declared in this scope
    9 | f=a/b;
      | ^
Language: C++

#include <iostream>
using namespace std;

int main() {
  double x, y;
  cin >> x >> y;

  cout << (int)(x / y) << " " << (int)(x % y)
       << x / y << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:42: error: invalid operands of types 'double' and 'double' to binary 'operator%'
    8 |   cout << (int)(x / y) << " " << (int)(x % y)
      |                                        ~ ^ ~
      |                                        |   |
      |                                        |   double
      |                                        double
Language: C++

#include <iostream>
using namespace std;

int main() {
  double x, y;
  cin >> x >> y;

  cout << (int)(x / y) << " " 
       << (int)(x % y) << " " << x / y << endl;
}#inc

Compiler output:
a.cc:10:2: error: stray '#' in program
   10 | }#inc
      |  ^
a.cc: In function 'int main()':
a.cc:9:19: error: invalid operands of types 'double' and 'double' to binary 'operator%'
    9 |        << (int)(x % y) << " " << x / y << endl;
      |                 ~ ^ ~
      |                 |   |
      |                 |   double
      |                 double
a.cc: At global scope:
a.cc:10:3: error: 'inc' does not name a type; did you mean 'int'?
   10 | }#inc
      |   ^~~
      |   int
Language: C++

#include <iostream>
using namespace std;

int main() {
  double x, y;
  cin >> x >> y;

  cout << (int)(x / y) << " " 
       << (int)(x % y) << " " << x / y << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:19: error: invalid operands of types 'double' and 'double' to binary 'operator%'
    9 |        << (int)(x % y) << " " << x / y << endl;
      |                 ~ ^ ~
      |                 |   |
      |                 |   double
      |                 double
Language: C++

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
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 <iostream>

int main(int argc, char const *argv[]) {
  double a,b;
  std::cin >> a >> b;
  std::cout << (int)(a+b) << '\n';
  std::cout << (int)(a%b) << '\n';
  std::cout << a/b << '\n';
  return 0;
}

Compiler output:
a.cc: In function 'int main(int, const char**)':
a.cc:7:23: error: invalid operands of types 'double' and 'double' to binary 'operator%'
    7 |   std::cout << (int)(a%b) << '\n';
      |                      ~^~
      |                      | |
      |                      | double
      |                      double
Language: C++

#include <iostream>
using namespace std;
int main(){
    int a,b;
    cin>>a>>b;
    cout<<a/b<<" "<<a%b<<" "<<setprecision(5)<<fixed<<double(a)/b<<endl;
    return 0;
}

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

using System;
using System.Linq;

namespace Computation
{
    class A_B_Problem
    {
        static void Main(string[] args)
        {
            var token = Console.ReadLine().Split(' ').Select(s => int.Parse(s)).ToArray();
            var d = token[0] / token[1];
            var r = token[0] % token[1];
            var f = (float)token[0] / token[1];
            Console.WriteLine(d + " " + r + " " + f);
        }
    }
}

Compiler output:
a.cc:1:7: error: expected nested-name-specifier before 'System'
    1 | using System;
      |       ^~~~~~
a.cc:2:7: error: expected nested-name-specifier before 'System'
    2 | using System.Linq;
      |       ^~~~~~
a.cc:8:26: error: 'string' has not been declared
    8 |         static void Main(string[] args)
      |                          ^~~~~~
a.cc:8:35: error: expected ',' or '...' before 'args'
    8 |         static void Main(string[] args)
      |                                   ^~~~
a.cc:16:6: error: expected ';' after class definition
   16 |     }
      |      ^
      |      ;
a.cc: In static member function 'static void Computation::A_B_Problem::Main(int*)':
a.cc:10:13: error: 'var' was not declared in this scope
   10 |             var token = Console.ReadLine().Split(' ').Select(s => int.Parse(s)).ToArray();
      |             ^~~
a.cc:11:17: error: expected ';' before 'd'
   11 |             var d = token[0] / token[1];
      |                 ^
a.cc:12:17: error: expected ';' before 'r'
   12 |             var r = token[0] % token[1];
      |                 ^
a.cc:13:17: error: expected ';' before 'f'
   13 |             var f = (float)token[0] / token[1];
      |                 ^
a.cc:14:13: error: 'Console' was not declared in this scope
   14 |             Console.WriteLine(d + " " + r + " " + f);
      |             ^~~~~~~
a.cc:14:31: error: 'd' was not declared in this scope
   14 |             Console.WriteLine(d + " " + r + " " + f);
      |                               ^
a.cc:14:41: error: 'r' was not declared in this scope
   14 |             Console.WriteLine(d + " " + r + " " + f);
      |                                         ^
a.cc:14:51: error: 'f' was not declared in this scope
   14 |             Console.WriteLine(d + " " + r + " " + f);
      |                                                   ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:12: error: expected primary-expression before ';' token
    9 |  int r = a%;
      |            ^
Language: C++

#include <iostream>
int main(){
int a,b;
std::cin>>a>>b;
std::cout<<a/b<<" "<<a%b<<" "<<a*1.0\b<<"\n";
return 0;
}

Compiler output:
a.cc:5:37: error: stray '\' in program
    5 | std::cout<<a/b<<" "<<a%b<<" "<<a*1.0\b<<"\n";
      |                                     ^
a.cc: In function 'int main()':
a.cc:5:37: error: expected ';' before 'b'
    5 | std::cout<<a/b<<" "<<a%b<<" "<<a*1.0\b<<"\n";
      |                                     ^~
      |                                     ;
Language: C++

#include <iostream>
int main(){
int a,b;
std::cin>>a>>b;

std::cout<<a/b<<" "<<a%b<<" "<<a*1.0\b<<"\n";
return 0;
}

Compiler output:
a.cc:6:37: error: stray '\' in program
    6 | std::cout<<a/b<<" "<<a%b<<" "<<a*1.0\b<<"\n";
      |                                     ^
a.cc: In function 'int main()':
a.cc:6:37: error: expected ';' before 'b'
    6 | std::cout<<a/b<<" "<<a%b<<" "<<a*1.0\b<<"\n";
      |                                     ^~
      |                                     ;
Language: C++

#include <iostream>
int main(){
int a,b;
std::cin>>a>>b;

std::cout<<a/b<<" "<<a%b<<" "<<a*1.0\\b<<"\n";
return 0;
}

Compiler output:
a.cc:6:37: error: stray '\' in program
    6 | std::cout<<a/b<<" "<<a%b<<" "<<a*1.0\\b<<"\n";
      |                                     ^
a.cc:6:38: error: stray '\' in program
    6 | std::cout<<a/b<<" "<<a%b<<" "<<a*1.0\\b<<"\n";
      |                                      ^
a.cc: In function 'int main()':
a.cc:6:37: error: expected ';' before 'b'
    6 | std::cout<<a/b<<" "<<a%b<<" "<<a*1.0\\b<<"\n";
      |                                     ^ ~
      |                                     ;
Language: C++

#include <iostream>
int main(){
int a,b;
double c;
a
std::cin>>a>>b;

std::cout<<a/b<<" "<<a%b<<" "<<float(a*1.0000000/b)<<"\n";
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:2: error: expected ';' before 'std'
    5 | a
      |  ^
      |  ;
    6 | std::cin>>a>>b;
      | ~~~
Language: C++

#include <iostream>
int main(){
int a,b;
std::cin>>a>>b;
std::cout<<a/b<<" "<<a%b<<" "<<setprecision(6)<<a*1.0/b<<"\n";
return 0;}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:32: error: 'setprecision' was not declared in this scope
    5 | std::cout<<a/b<<" "<<a%b<<" "<<setprecision(6)<<a*1.0/b<<"\n";
      |                                ^~~~~~~~~~~~