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

#include <iostream>
#include <sstream>
#include <string>
#include <algorithm>
#include <cstdlib>
#include <vector>
 
using namespace std;
 
int main(){
    int x, y;
    cin >> x >> y;
 
    while(x != 0　|| y != 0){
        if(x > y){
            swap(x, y);
        }
        cout << x << ' ' << y << endl;
        cin >> x >> y;
    }
 
 
    return 0;
}

Compiler output:
a.cc:14:16: error: extended character 　 is not valid in an identifier
   14 |     while(x != 0　|| y != 0){
      |                ^
a.cc: In function 'int main()':
a.cc:14:16: error: unable to find numeric literal operator 'operator""\U00003000'
   14 |     while(x != 0　|| y != 0){
      |                ^~~
Language: C++

#include <stdio.h>
int main(void){
int a,b;
while(1){
scanf("%d %d",&a,&b);
if(a == 0){
if(b == 0){
break;
}
}
else{
goto calc;
}
else{
goto calc;
}
calc:
if(a >= b){
printf("%d %d\n",a,b):
}
else if(a < b){
printf("%d %d\n",b,a);
}
}
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:1: error: 'else' without a previous 'if'
   14 | else{
      | ^~~~
a.cc:19:22: error: expected ';' before ':' token
   19 | printf("%d %d\n",a,b):
      |                      ^
      |                      ;
Language: C++

/* 10007 */
#include <stdio.h>
int main()
{
   int x,y;
   scanf("%d %d", &x,&y);
   while (1) {
   if (x == 0 && y == 0) {
   break;
   } else if (x <= y) {
     printf("%d %d\n", x,y);
   } else {
     printf("%d %d\n", y,x);
   return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:2: error: expected '}' at end of input
   15 | }
      |  ^
a.cc:7:14: note: to match this '{'
    7 |    while (1) {
      |              ^
a.cc:15:2: error: expected '}' at end of input
   15 | }
      |  ^
a.cc:4:1: note: to match this '{'
    4 | {
      | ^
Language: C++

#include <iostream>
using namespace std;

int x;
int y;

int main(){

if(x == 0; y == 0)
	break;
else{
cou << x << " " << y << endl;}
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:9: error: break statement not within loop or switch
   10 |         break;
      |         ^~~~~
a.cc:12:1: error: 'cou' was not declared in this scope
   12 | cou << x << " " << y << endl;}
      | ^~~
Language: C++

#include<iostream>
using namespace std;
int main()
{
	int x;
	int y;
	
	while(1){
		cin >> x >> y;
		if(x==0y==0){break;
		}else{
			if(x<=y){
				cout << x << " " << y << endl;
			}else if(x>y){
				cout << y << " " << x << endl;
	}}}
	return 0 ;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:23: error: unable to find numeric literal operator 'operator""y'
   10 |                 if(x==0y==0){break;
      |                       ^~
Language: C++

#include <iostream>
using namespace std;
int x,y;
int main(){
cin >> x;
cin >> y;
for(int i = 0,,i++){
    if(x == 0 && y == 0){
    break;
    }
    else{
        if(x<y){
        cout << x << " " << y << endl;
        }
        else{
        cout << y << " " << x << endl;
        }
    }
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:15: error: expected unqualified-id before ',' token
    7 | for(int i = 0,,i++){
      |               ^
a.cc:7:17: error: expected ';' before '++' token
    7 | for(int i = 0,,i++){
      |                 ^~
      |                 ;
a.cc:7:19: error: expected primary-expression before ')' token
    7 | for(int i = 0,,i++){
      |                   ^
a.cc:7:19: error: expected ';' before ')' token
    7 | for(int i = 0,,i++){
      |                   ^
      |                   ;
Language: C++

#include <iostream>
using namespace std;
int x,y;
int main(){
cin >> x;
cin >> y;
for(int i = 0,,i++){
    if(x == 0 && y == 0){
    break;
    }
    else{
        if(x<y){
        cout << x << " " << y << endl;
        }
        else{
        cout << y << " " << x << endl;
        }
    }
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:15: error: expected unqualified-id before ',' token
    7 | for(int i = 0,,i++){
      |               ^
a.cc:7:17: error: expected ';' before '++' token
    7 | for(int i = 0,,i++){
      |                 ^~
      |                 ;
a.cc:7:19: error: expected primary-expression before ')' token
    7 | for(int i = 0,,i++){
      |                   ^
a.cc:7:19: error: expected ';' before ')' token
    7 | for(int i = 0,,i++){
      |                   ^
      |                   ;
a.cc:20:2: error: expected '}' at end of input
   20 | }
      |  ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

#include<iostream>
using namespace std;

int main(){

int x,y;

while(1){
cin>>x>>y;
if(x<y){
cout<<x<<" "<<y<<endl;
}
if(x>y){
cout<<y<<" "<<x<<endl;
}
if(x==y){
cout<<x<<" "<<y<<endl;
if(x==0&&y==0){
break;
}
}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:22:2: error: expected '}' at end of input
   22 | }
      |  ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

#include<stdio.h>
int main(void)
{
	int x,y;
	
	scanf("%d",&x);
	scanf("%d",&y);
	
	if(x<y)
	{
	printf("%d %d\n",x,y);
	}
	
	if(y<x)
	{
	printf("%d %d\n",x,y);
	}
	

Compiler output:
a.cc: In function 'int main()':
a.cc:17:10: error: expected '}' at end of input
   17 |         }
      |          ^
a.cc:3:1: note: to match this '{'
    3 | {
      | ^
Language: C++

#include<stdio.h>
int main(void)
{
	int x,y;
	
	scanf("%d",&x);
	scanf("%d",&y);
	
	if(x<y)
	{
	printf("%d %d\n",x,y);
	}
	
	eise if(y<x)
	{
	printf("%d %d\n",x,y);
	}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:9: error: 'eise' was not declared in this scope
   14 |         eise if(y<x)
      |         ^~~~
a.cc:17:10: error: expected '}' at end of input
   17 |         }
      |          ^
a.cc:3:1: note: to match this '{'
    3 | {
      | ^
Language: C++

#include<stdio.h>
int main(void)
{
	int x,y;
	
	scanf("%d",&x);
	scanf("%d",&y);
	
	if(x<y)
	{
	printf("%d %d\n",x,y);
	}
	
	eise if(y<x)
	{
	printf("%d %d\n",x,y);
	}
	}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:9: error: 'eise' was not declared in this scope
   14 |         eise if(y<x)
      |         ^~~~
Language: C++

#include<stdio.h>
int main(void)
{
	int x,y;
	
	while(1)
	{
		scanf("%d %d",&x,&y);
		if(
	
		if(x<y)
		{
		printf("%d %d\n",x,y);
		}
		
		else if(x>y)
		{
		printf("%d %d\n",y,x);
		}
		
		else if(x==y)
		{
			break;
		}
	}
			
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:17: error: expected primary-expression before 'if'
   11 |                 if(x<y)
      |                 ^~
a.cc:9:20: error: expected ')' before 'if'
    9 |                 if(
      |                   ~^
      |                    )
   10 | 
   11 |                 if(x<y)
      |                 ~~  
a.cc:25:9: error: expected primary-expression before '}' token
   25 |         }
      |         ^
Language: C++

#include<iostream>

using namespace std;

int main()
{
	int a,b;
	while(cin >> a >> b)
		if(a && b){
			a>b?swap(a,b):a;
			cout <<a<<" "<<b<<endl;
		}else
			break;

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:39: error: second operand to the conditional operator is of type 'void', but the third operand is neither a throw-expression nor of type 'void'
   10 |                         a>b?swap(a,b):a;
      |                                       ^
Language: C++

#include<iostream>
#include<algorithm>

using namespace std;

int main()
{
	int a,b;
	while(cin >> a >> b)
		if(a && b){
			a>b?swap(a,b):a;
			cout <<a<<" "<<b<<endl;
		}else
			break;

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:39: error: second operand to the conditional operator is of type 'void', but the third operand is neither a throw-expression nor of type 'void'
   11 |                         a>b?swap(a,b):a;
      |                                       ^
Language: C++

#include<iostream>
using namespace std;
int main(){
int x,y;
cin>>x;
xin>>y;
while(x!=0&&y!=0){
if(x>y)cout<<"%d %d"y,x<<endl;
else cout<<"%d %d",x,y<<endl;
}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:1: error: 'xin' was not declared in this scope
    6 | xin>>y;
      | ^~~
a.cc:8:14: error: unable to find string literal operator 'operator""y' with 'const char [6]', 'long unsigned int' arguments
    8 | if(x>y)cout<<"%d %d"y,x<<endl;
      |              ^~~~~~~~
a.cc:8:24: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
    8 | if(x>y)cout<<"%d %d"y,x<<endl;
      |                       ~^~~~~~
a.cc:9:23: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
    9 | else cout<<"%d %d",x,y<<endl;
      |                      ~^~~~~~
Language: C++

#include<iostream>
using namespace std;
int main(){
int x,y;
cin>>x;
cin>>y;
while(x!=0&&y!=0){
if(x>y)cout<<"%d %d"y,x<<endl;
else cout<<"%d %d",x,y<<endl;
}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:14: error: unable to find string literal operator 'operator""y' with 'const char [6]', 'long unsigned int' arguments
    8 | if(x>y)cout<<"%d %d"y,x<<endl;
      |              ^~~~~~~~
a.cc:8:24: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
    8 | if(x>y)cout<<"%d %d"y,x<<endl;
      |                       ~^~~~~~
a.cc:9:23: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
    9 | else cout<<"%d %d",x,y<<endl;
      |                      ~^~~~~~
Language: C++

#include<iostream>
using namespace std;
int main(){
int x,y;
cin>>x;
cin>>y;
while(x!=0&&y!=0){
if(x>y)cout<<y<< <<x<<endl;
else cout<<x<< <<y<<endl;
}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:18: error: expected primary-expression before '<<' token
    8 | if(x>y)cout<<y<< <<x<<endl;
      |                  ^~
a.cc:9:16: error: expected primary-expression before '<<' token
    9 | else cout<<x<< <<y<<endl;
      |                ^~
Language: C++

#include<iostream>
using namespace std;
int main(){
int x,y;
cin>>x;
cin>>y;
while(x!=0&&y!=0){
if(x>y)cout<<y<<' '<<x<<endl;
else cout<<x<<' '<<y<<endl;
cin>>x;
cin>>Y;
}
}

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

#include<iostream>
using namezpace std;
int main(){
int x,y;
cin>>x;
cin>>y;
while(x!=0 || y!=0){
if(x>y)cout<<y<<' '<<x<<endl;
else cout<<x<<' '<<y<<endl;
cin>>x;xin>>y;
}
return 0;
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namezpace'
    2 | using namezpace std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:5:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 | cin>>x;
      | ^~~
      | 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:8:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 | if(x>y)cout<<y<<' '<<x<<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:8:25: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 | if(x>y)cout<<y<<' '<<x<<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)
      |     ^~~~
a.cc:9:6: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 | else cout<<x<<' '<<y<<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:9:23: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 | else cout<<x<<' '<<y<<endl;
      |                       ^~~~
      |                       std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:10:8: error: 'xin' was not declared in this scope
   10 | cin>>x;xin>>y;
      |        ^~~
Language: C++

#include<iostream>
using namezpace std;
int main(){
int x,y;
cin>>x;
cin>>y;
while(x!=0 || y!=0){
  if(x>y)cout<<y<<' '<<x<<endl;
  else cout<<x<<' '<<y<<endl;
  cin>>x;
  cin>>y;
}
return 0;
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namezpace'
    2 | using namezpace std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:5:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 | cin>>x;
      | ^~~
      | 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:8:10: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |   if(x>y)cout<<y<<' '<<x<<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:8:27: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |   if(x>y)cout<<y<<' '<<x<<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)
      |     ^~~~
a.cc:9:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |   else cout<<x<<' '<<y<<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:9:25: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |   else cout<<x<<' '<<y<<endl;
      |                         ^~~~
      |                         std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <iostream>
using namespace std;

int main()
{
	int x, y;

	while( cin >> x >> y && ( x || y ) ){
		if( x > y ){
			int tmp = x;
			x = y;
			y = t;
		}
		cout << x << " " << y << endl;
	}

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:29: error: 't' was not declared in this scope
   12 |                         y = t;
      |                             ^
Language: C++

#include <iostream>
using namespace std;

int main()
{
	int k;
	int a[2][10000];
	for(int i = 0; i < 10000; i++)
	{
		cin >> a[0][i] >> a[1][i]:
		if(p == 0 && q == 0){
			k = i;
			break;
		}
	}
	for(int i = 0; i < k; i++){
		cout << ((a[0][i] >= a[1][i]) ? a[0][i] : a[1][i]) << " "
		<< ((a[0][i] >= a[1][i]) ? a[1][i] : a[0][i]) << endl;
	}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:42: error: expected ';' before ':' token
   10 |                 cin >> a[0][i] >> a[1][i]:
      |                                          ^
      |                                          ;
Language: C++

#include <iostream>
using namespace std;

int main() {
	int x,y,z;
x=1;


while(1){

cin >> x >> y;

if(x=0 && y=0) break;

if( x > y ){

z=x;
x=y;
y=z;
}


cout << x << " " << y ;


	
}
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:8: error: lvalue required as left operand of assignment
   13 | if(x=0 && y=0) break;
      |      ~~^~~~
Language: C++

int main(){
	int input[2], i = 0;
	while (true){
		std::cin >> input[0] >> input[1];
		if (input[0] == 0 && input[1] == 0)break;
		std::sort(input, input + 2);
		std::cout << input[0] << " " << input[1] << std::endl;
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:22: error: 'cin' is not a member of 'std'
    4 |                 std::cin >> input[0] >> input[1];
      |                      ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | int main(){
a.cc:6:22: error: 'sort' is not a member of 'std'
    6 |                 std::sort(input, input + 2);
      |                      ^~~~
a.cc:7:22: error: 'cout' is not a member of 'std'
    7 |                 std::cout << input[0] << " " << input[1] << std::endl;
      |                      ^~~~
a.cc:7:22: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:66: error: 'endl' is not a member of 'std'
    7 |                 std::cout << input[0] << " " << input[1] << std::endl;
      |                                                                  ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | int main(){
Language: C++

#include<iostream>

int main(){
	int input[2], i = 0;
	while (true){
		std::cin >> input[0] >> input[1];
		if (input[0] == 0 && input[1] == 0)break;
		std::sort(input, input + 2);
		std::cout << input[0] << " " << input[1] << std::endl;
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:22: error: 'sort' is not a member of 'std'; did you mean 'qsort'?
    8 |                 std::sort(input, input + 2);
      |                      ^~~~
      |                      qsort
Language: C++

#include<iostream>
#include<vector>

int main(){
	int input[2], i = 0;
	while (true){
		std::cin >> input[0] >> input[1];
		if (input[0] == 0 && input[1] == 0)break;
		std::sort(input, input + 2);
		std::cout << input[0] << " " << input[1] << std::endl;
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:22: error: 'sort' is not a member of 'std'; did you mean 'qsort'?
    9 |                 std::sort(input, input + 2);
      |                      ^~~~
      |                      qsort
Language: C++

#include<stdio.h>

int main(void){

  boolean flg = false;

  int inpx = 0;
  int inpy = 0;

  do{
    
    scanf("%d %d", &inpx, &inpy);
    if( inpx == 0 && inpy == 0){
      flg = true;
    }else  if( inpx < inpy){
      printf("%d %d", inpx, inpy);
    }else{
      printf("%d %d", inpx, inpy);
    }

  }while(!flg);

}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'boolean' was not declared in this scope; did you mean 'bool'?
    5 |   boolean flg = false;
      |   ^~~~~~~
      |   bool
a.cc:14:7: error: 'flg' was not declared in this scope
   14 |       flg = true;
      |       ^~~
a.cc:21:11: error: 'flg' was not declared in this scope
   21 |   }while(!flg);
      |           ^~~
Language: C++

#include<stdio.h>

int main(void)
{  int x , y;
    while( x == 0 && y == 0){
    scanf("%d %d", &x, &y);
    if( y > x ){
        printf(" %d %d \n", y, x);
    else{
        printf(" %d %d \n", x, y);
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:5: error: expected '}' before 'else'
    9 |     else{
      |     ^~~~
a.cc:7:16: note: to match this '{'
    7 |     if( y > x ){
      |                ^
a.cc:13:2: error: expected '}' at end of input
   13 | }
      |  ^
a.cc:4:1: note: to match this '{'
    4 | {  int x , y;
      | ^
Language: C++

#include<stdio.h>
 
int main(void)
{  int x , y;
    while( !( x == 0 && y == 0) ){
    scanf("%d %d", &x, &y);
    if( y > x ){
        printf(" %d %d \n", y, x);
    else{
        printf(" %d %d \n", x, y);
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:5: error: expected '}' before 'else'
    9 |     else{
      |     ^~~~
a.cc:7:16: note: to match this '{'
    7 |     if( y > x ){
      |                ^
a.cc:13:2: error: expected '}' at end of input
   13 | }
      |  ^
a.cc:4:1: note: to match this '{'
    4 | {  int x , y;
      | ^
Language: C++

#include <stdio.h>

int main(void)
{

	int x、ｙ；
	int c;

	while(1)
	{
		scanf("%d %d",&x,&y]);
		if(x==0 && y==0)
		{
			break;
		}
		
		if(x>y)
		{
			c=x;
			x=y;
			y=c;
		}

　　　　　　　　　　　　　　printf("%d %d\n",x,y);


	}
	return 0;

}

Compiler output:
a.cc:6:13: error: extended character 、 is not valid in an identifier
    6 |         int x、ｙ；
      |             ^
a.cc:24:1: error: extended character 　 is not valid in an identifier
   24 | 　　　　　　　　　　　　　　printf("%d %d\n",x,y);
      | ^
a.cc:24:1: error: extended character 　 is not valid in an identifier
a.cc:24:1: error: extended character 　 is not valid in an identifier
a.cc:24:1: error: extended character 　 is not valid in an identifier
a.cc:24:1: error: extended character 　 is not valid in an identifier
a.cc:24:1: error: extended character 　 is not valid in an identifier
a.cc:24:1: error: extended character 　 is not valid in an identifier
a.cc:24:1: error: extended character 　 is not valid in an identifier
a.cc:24:1: error: extended character 　 is not valid in an identifier
a.cc:24:1: error: extended character 　 is not valid in an identifier
a.cc:24:1: error: extended character 　 is not valid in an identifier
a.cc:24:1: error: extended character 　 is not valid in an identifier
a.cc:24:1: error: extended character 　 is not valid in an identifier
a.cc:24:1: error: extended character 　 is not valid in an identifier
a.cc: In function 'int main()':
a.cc:7:9: error: expected initializer before 'int'
    7 |         int c;
      |         ^~~
a.cc:11:32: error: 'x' was not declared in this scope
   11 |                 scanf("%d %d",&x,&y]);
      |                                ^
a.cc:11:35: error: 'y' was not declared in this scope
   11 |                 scanf("%d %d",&x,&y]);
      |                                   ^
a.cc:19:25: error: 'c' was not declared in this scope
   19 |                         c=x;
      |                         ^
a.cc:24:1: error: '\U00003000\U00003000\U00003000\U00003000\U00003000\U00003000\U00003000\U00003000\U00003000\U00003000\U00003000\U00003000\U00003000\U00003000printf' was not declared in this scope
   24 | 　　　　　　　　　　　　　　printf("%d %d\n",x,y);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Language: C++

#include<stdio.h>
/*２つの数の大小を判断*/
int main(void)
{
     int x , y;
     int a , b;
    while(1){   
        scanf("%d %d", &x ,&y);
      if(x==0 && y==0){
         break;
       }else if(!(x == 0 && y == 0) && (x <= y)){
            a=x ,b=y;
           
        }else{
            a=y , b=x;     
        }
       printf("%d %d\n", a , b );/* a<=b*/
    }
    return 0;
}#include<stdio.h>
/*２つの数の大小を判断*/
int main(void)
{
     int x , y;
     int a , b;
    while(1){   
        scanf("%d %d", &x ,&y);
      if(x==0 && y==0){
         break;
       }else if(!(x == 0 && y == 0) && (x <= y)){
            a=x ,b=y;
           
        }else{
            a=y , b=x;     
        }
    }
    printf("%d %d\n", a , b );/* a<=b*/
    return 0;
}

Compiler output:
a.cc:20:2: error: stray '#' in program
   20 | }#include<stdio.h>
      |  ^
a.cc:20:3: error: 'include' does not name a type
   20 | }#include<stdio.h>
      |   ^~~~~~~
Language: C++

#include <stdio.h>
int main(void)
{
    int x;
    int y;
    scanf("%d %d", &x, &y);
    while (x != 0 || y != 0)) {
        if (x <= y) {
            printf("%d %d\n", x, y);
        } else {
            printf("%d %d\n", y, x);
        }
        scanf("%d %d", &x, &y);
    }
    return 0;
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:7:29: error: expected primary-expression before ')' token
    7 |     while (x != 0 || y != 0)) {
      |                             ^
Language: C++

include <stdio.h>

int main(void)
{
  int x;
  int y;
  scanf("%d %d", &x, &y);
  if(x > y ){
    printf("%d %d\n", y , x);
  }
  else if(x < y){
    printf("%d %d\n", x , y);
  }
  else if(x == 0 && y == 0){//例外処理って面倒だな                              
  }
  else {
    printf("%d %d\n", x, y);
  }
  return 0;
}//綱野雄太                                                                     

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <stdio.h>
      | ^~~~~~~
Language: Java

import java.util.Scanner;
public class V10008 {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		System.out.println(x/y+" "+x%y+" "+(double)x/(double)y);
	}
}

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

import java.io.*;
import java.util.*;
class Main{
	public static void print(Object o){
		System.out.print(o);
	}
	public static void main(String[] args){
		Scanner in = new Scanner(System.in);
		int i1 = in.nextInt();
		int i2 = in.nextInt();
		print(i1/i2 + " " + i1%i2 + " ");
		System.out.printf("%5f\n"(double)i1/(double)i2);
	}
}

Compiler output:
Main.java:12: error: ')' or ',' expected
		System.out.printf("%5f\n"(double)i1/(double)i2);
		                         ^
Main.java:12: error: not a statement
		System.out.printf("%5f\n"(double)i1/(double)i2);
		                          ^
Main.java:12: error: ';' expected
		System.out.printf("%5f\n"(double)i1/(double)i2);
		                                ^
Main.java:12: error: not a statement
		System.out.printf("%5f\n"(double)i1/(double)i2);
		                                   ^
Main.java:12: error: ';' expected
		System.out.printf("%5f\n"(double)i1/(double)i2);
		                                              ^
5 errors
Language: Java


import java.util.Arrays;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long[] ary = new long[]{sc.nextLong(), sc.nextLong(), sc.nextLong()};
		Arrays3 8 1.sort(ary);
		System.out.println(ary[0] + " " + ary[1] + " " + ary[2]);
	}
}

Compiler output:
Main.java:10: error: not a statement
		Arrays3 8 1.sort(ary);
		^
Main.java:10: error: ';' expected
		Arrays3 8 1.sort(ary);
		       ^
2 errors
Language: Java

import java.util.*;
class Main{
 public static void main(String[] args){
  Scanner ·«áÈ = new Scanner(System.in);
  int a = 0, b = 0, resultint = 0, resultflt = 0;
  a = Integer.valueOf(·«áÈ.next());
  b = Integer.valueOf(·«áÈ.next());
  resultint = a / b;
  System.out.print(resultint + " ");
  resultint = a % b;
  System.out.print(resultint + " ");
  resultflt = a / b * 1.0
  System.out.print(resultflt + "\n");
 }
}

Compiler output:
Main.java:4: error: illegal character: '\u0082'
  Scanner ???????? = new Scanner(System.in);
          ^
Main.java:4: error: not a statement
  Scanner ???????? = new Scanner(System.in);
  ^
Main.java:4: error: illegal character: '\u00b7'
  Scanner ???????? = new Scanner(System.in);
           ^
Main.java:4: error: illegal character: '\u0082'
  Scanner ???????? = new Scanner(System.in);
            ^
Main.java:4: error: illegal character: '\u00ab'
  Scanner ???????? = new Scanner(System.in);
             ^
Main.java:4: error: illegal character: '\u0082'
  Scanner ???????? = new Scanner(System.in);
              ^
Main.java:6: error: illegal character: '\u0082'
  a = Integer.valueOf(????????.next());
                      ^
Main.java:6: error: illegal character: '\u00b7'
  a = Integer.valueOf(????????.next());
                       ^
Main.java:6: error: illegal character: '\u0082'
  a = Integer.valueOf(????????.next());
                        ^
Main.java:6: error: illegal character: '\u00ab'
  a = Integer.valueOf(????????.next());
                         ^
Main.java:6: error: illegal character: '\u0082'
  a = Integer.valueOf(????????.next());
                          ^
Main.java:6: error: ';' expected
  a = Integer.valueOf(????????.next());
                                     ^
Main.java:7: error: illegal character: '\u0082'
  b = Integer.valueOf(????????.next());
                      ^
Main.java:7: error: illegal character: '\u00b7'
  b = Integer.valueOf(????????.next());
                       ^
Main.java:7: error: illegal character: '\u0082'
  b = Integer.valueOf(????????.next());
                        ^
Main.java:7: error: illegal character: '\u00ab'
  b = Integer.valueOf(????????.next());
                         ^
Main.java:7: error: illegal character: '\u0082'
  b = Integer.valueOf(????????.next());
                          ^
Main.java:7: error: ';' expected
  b = Integer.valueOf(????????.next());
                                     ^
Main.java:12: error: ';' expected
  resultflt = a / b * 1.0
                         ^
19 errors
Language: Java

import java.util.*;
class Main{
 public static void main(String[] args){
  Scanner sukyana = new Scanner(System.in);
  int a = 0, b = 0, resultint = 0, resultflt = 0;
  a = Integer.valueOf(sukyana.next());
  b = Integer.valueOf(sukyana.next());
  resultint = a / b;
  System.out.print(resultint + " ");
  resultint = a % b;
  System.out.print(resultint + " ");
  resultflt = a / b * 1.0
  System.out.print(resultflt + "\n");
 }
}

Compiler output:
Main.java:12: error: ';' expected
  resultflt = a / b * 1.0
                         ^
1 error
Language: Java

import java.util.*;
class Main{
 public static void main(String[] args){
  Scanner ·«áÈ = new Scanner(System.in);
  int a = 0, b = 0, resultint = 0;
  double resultflt = 0;
  a = Integer.valueOf(·«áÈ.next());
  b = Integer.valueOf(·«áÈ.next());
  resultint = a / b;
  System.out.print(resultint + " ");
  resultint = a % b;
  System.out.print(resultint + " ");
  resultflt = a / b * 1.0
  System.out.print(resultflt + "\n");
 }
}

Compiler output:
Main.java:4: error: illegal character: '\u0082'
  Scanner ???????? = new Scanner(System.in);
          ^
Main.java:4: error: not a statement
  Scanner ???????? = new Scanner(System.in);
  ^
Main.java:4: error: illegal character: '\u00b7'
  Scanner ???????? = new Scanner(System.in);
           ^
Main.java:4: error: illegal character: '\u0082'
  Scanner ???????? = new Scanner(System.in);
            ^
Main.java:4: error: illegal character: '\u00ab'
  Scanner ???????? = new Scanner(System.in);
             ^
Main.java:4: error: illegal character: '\u0082'
  Scanner ???????? = new Scanner(System.in);
              ^
Main.java:7: error: illegal character: '\u0082'
  a = Integer.valueOf(????????.next());
                      ^
Main.java:7: error: illegal character: '\u00b7'
  a = Integer.valueOf(????????.next());
                       ^
Main.java:7: error: illegal character: '\u0082'
  a = Integer.valueOf(????????.next());
                        ^
Main.java:7: error: illegal character: '\u00ab'
  a = Integer.valueOf(????????.next());
                         ^
Main.java:7: error: illegal character: '\u0082'
  a = Integer.valueOf(????????.next());
                          ^
Main.java:7: error: ';' expected
  a = Integer.valueOf(????????.next());
                                     ^
Main.java:8: error: illegal character: '\u0082'
  b = Integer.valueOf(????????.next());
                      ^
Main.java:8: error: illegal character: '\u00b7'
  b = Integer.valueOf(????????.next());
                       ^
Main.java:8: error: illegal character: '\u0082'
  b = Integer.valueOf(????????.next());
                        ^
Main.java:8: error: illegal character: '\u00ab'
  b = Integer.valueOf(????????.next());
                         ^
Main.java:8: error: illegal character: '\u0082'
  b = Integer.valueOf(????????.next());
                          ^
Main.java:8: error: ';' expected
  b = Integer.valueOf(????????.next());
                                     ^
Main.java:13: error: ';' expected
  resultflt = a / b * 1.0
                         ^
19 errors
Language: Java

import java.util.*;
class Main{
 public static void main(String[] args){
  Scanner ·«áÈ = new Scanner(System.in);
  int a = 0, b = 0, resultint = 0;
  double resultflt = 0;
  a = Integer.valueOf(·«áÈ.next());
  b = Integer.valueOf(·«áÈ.next());
  resultint = a / b;
  System.out.print(resultint + " ");
  resultint = a % b;
  System.out.print(resultint + " ");
  resultflt = a / b * 1.0;
  System.out.print(resultflt + "\n");
 }
}

Compiler output:
Main.java:4: error: illegal character: '\u0082'
  Scanner ???????? = new Scanner(System.in);
          ^
Main.java:4: error: not a statement
  Scanner ???????? = new Scanner(System.in);
  ^
Main.java:4: error: illegal character: '\u00b7'
  Scanner ???????? = new Scanner(System.in);
           ^
Main.java:4: error: illegal character: '\u0082'
  Scanner ???????? = new Scanner(System.in);
            ^
Main.java:4: error: illegal character: '\u00ab'
  Scanner ???????? = new Scanner(System.in);
             ^
Main.java:4: error: illegal character: '\u0082'
  Scanner ???????? = new Scanner(System.in);
              ^
Main.java:7: error: illegal character: '\u0082'
  a = Integer.valueOf(????????.next());
                      ^
Main.java:7: error: illegal character: '\u00b7'
  a = Integer.valueOf(????????.next());
                       ^
Main.java:7: error: illegal character: '\u0082'
  a = Integer.valueOf(????????.next());
                        ^
Main.java:7: error: illegal character: '\u00ab'
  a = Integer.valueOf(????????.next());
                         ^
Main.java:7: error: illegal character: '\u0082'
  a = Integer.valueOf(????????.next());
                          ^
Main.java:7: error: ';' expected
  a = Integer.valueOf(????????.next());
                                     ^
Main.java:8: error: illegal character: '\u0082'
  b = Integer.valueOf(????????.next());
                      ^
Main.java:8: error: illegal character: '\u00b7'
  b = Integer.valueOf(????????.next());
                       ^
Main.java:8: error: illegal character: '\u0082'
  b = Integer.valueOf(????????.next());
                        ^
Main.java:8: error: illegal character: '\u00ab'
  b = Integer.valueOf(????????.next());
                         ^
Main.java:8: error: illegal character: '\u0082'
  b = Integer.valueOf(????????.next());
                          ^
Main.java:8: error: ';' expected
  b = Integer.valueOf(????????.next());
                                     ^
18 errors
Language: Java

import java.util.*;
class Main{
 public static void main(String[] args){
  Scanner ·«áÈ = new Scanner(System.in);
  int a = 0, b = 0, d = 0;
  double f = 0;
  try{
   a = Integer.valueOf(·«áÈ.next());
   b = Integer.valueOf(·«áÈ.next());
  }catch(Exception e){
   System.out.println("    ");
  }
  d = a / b;
  System.out.print(d + " ");
  d = a % b;
  System.out.print(d + " ");
  f = a / b * 1.0;
  System.out.print(f + "\n");
 }
}

Compiler output:
Main.java:4: error: illegal character: '\u0082'
  Scanner ???????? = new Scanner(System.in);
          ^
Main.java:4: error: not a statement
  Scanner ???????? = new Scanner(System.in);
  ^
Main.java:4: error: illegal character: '\u00b7'
  Scanner ???????? = new Scanner(System.in);
           ^
Main.java:4: error: illegal character: '\u0082'
  Scanner ???????? = new Scanner(System.in);
            ^
Main.java:4: error: illegal character: '\u00ab'
  Scanner ???????? = new Scanner(System.in);
             ^
Main.java:4: error: illegal character: '\u0082'
  Scanner ???????? = new Scanner(System.in);
              ^
Main.java:8: error: illegal character: '\u0082'
   a = Integer.valueOf(????????.next());
                       ^
Main.java:8: error: illegal character: '\u00b7'
   a = Integer.valueOf(????????.next());
                        ^
Main.java:8: error: illegal character: '\u0082'
   a = Integer.valueOf(????????.next());
                         ^
Main.java:8: error: illegal character: '\u00ab'
   a = Integer.valueOf(????????.next());
                          ^
Main.java:8: error: illegal character: '\u0082'
   a = Integer.valueOf(????????.next());
                           ^
Main.java:8: error: ';' expected
   a = Integer.valueOf(????????.next());
                                      ^
Main.java:9: error: illegal character: '\u0082'
   b = Integer.valueOf(????????.next());
                       ^
Main.java:9: error: illegal character: '\u00b7'
   b = Integer.valueOf(????????.next());
                        ^
Main.java:9: error: illegal character: '\u0082'
   b = Integer.valueOf(????????.next());
                         ^
Main.java:9: error: illegal character: '\u00ab'
   b = Integer.valueOf(????????.next());
                          ^
Main.java:9: error: illegal character: '\u0082'
   b = Integer.valueOf(????????.next());
                           ^
Main.java:9: error: ';' expected
   b = Integer.valueOf(????????.next());
                                      ^
18 errors
Language: Java

import java.util.*;

class Main{
    private static Scanner s = new Scanner(System.in);
    public static void main(String[] args){
	int a,b;
	double da,db;
	a = s.nextInt();
	b = s.nextInt();
	da = a;
	db = b;
	Sysytem.out.println(a/b+" "+a%b+" "+da/db);
    }
}

Compiler output:
Main.java:12: error: package Sysytem does not exist
	Sysytem.out.println(a/b+" "+a%b+" "+da/db);
	       ^
1 error
Language: Java

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


public class　Main{

	public static void main(String[] args) {
		int a=0;
		int b=0;
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		try {
			String s=br.readLine();
			a=Integer.parseInt(s.substring(0,s.indexOf(" ")));
			b=Integer.parseInt(s.substring(s.indexOf(" ")+1,s.length()));
		} catch (NumberFormatException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}
		System.out.print((int)a/b+" "+a%b+" "+(float)a/b);
	}
}

Compiler output:
Main.java:6: error: illegal character: '\u3000'
public class?Main{
            ^
1 error
Language: Java

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

Compiler output:
Main.java:8: error: ';' expected
    int d = a/b
               ^
Main.java:12: error: class, interface, enum, or record expected
}
^
2 errors
Language: Java

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

Compiler output:
Main.java:9: error: ';' expected
    d = a/b
           ^
Main.java:10: error: ';' expected
    r = a%b
           ^
Main.java:11: error: ';' expected
    f = (double)a/b
                   ^
3 errors
Language: Java

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

Compiler output:
Main.java:9: error: ';' expected
      b = 1
           ^
1 error
Language: Java

import java.math.BigDecimal;
import java.util.Scanner;
class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int a, b;
    a = sc.nextInt();
    b = sc.nextInt();
    BigDecimal ba = new BigDecimal(a);
    BigDecimal bb = new BigDecimal(b);
    BigDecimal bres = ba.divide(bb,ROUND_HALF_DOWN);
    System.out.println(a/b + " " + a%b + " " + bres);
  }
}

Compiler output:
Main.java:11: error: cannot find symbol
    BigDecimal bres = ba.divide(bb,ROUND_HALF_DOWN);
                                   ^
  symbol:   variable ROUND_HALF_DOWN
  location: class Main
1 error
Language: Java

import java.math.BigDecimal;
import java.util.Scanner;
class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int a, b;
    a = sc.nextInt();
    b = sc.nextInt();
    BigDecimal ba = new BigDecimal(a);
    BigDecimal bb = new BigDecimal(b);
    BigDecimal bres = ba.divide(bb,int ROUND_HALF_DOWN);
    System.out.println(a/b + " " + a%b + " " + bres);
  }
}

Compiler output:
Main.java:11: error: '.class' expected
    BigDecimal bres = ba.divide(bb,int ROUND_HALF_DOWN);
                                       ^
Main.java:11: error: ';' expected
    BigDecimal bres = ba.divide(bb,int ROUND_HALF_DOWN);
                                                      ^
2 errors
Language: Java

import java.math.BigDecimal;
import java.util.Scanner;
class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int a, b;
    a = sc.nextInt();
    b = sc.nextInt();
    BigDecimal ba = new BigDecimal(a);
    BigDecimal bb = new BigDecimal(b);
    BigDecimal bres = ba.divide(bb,6,int ROUND_HALF_DOWN);
    System.out.println(a/b + " " + a%b + " " + bres);
  }
}

Compiler output:
Main.java:11: error: '.class' expected
    BigDecimal bres = ba.divide(bb,6,int ROUND_HALF_DOWN);
                                         ^
Main.java:11: error: ';' expected
    BigDecimal bres = ba.divide(bb,6,int ROUND_HALF_DOWN);
                                                        ^
2 errors
Language: Java

class Main
{
	public static void main(String[] args)
	{
		Scanner sc = new Scanner(System.in);
		String[] str = sc.nextLine().split(" ");
		int a = Integer.parseInt(str[0]);
		int b = Integer.parseInt(str[1]);
		double a1 = (double)a;
		double b1 = (double)b;
		int d = a / b;
		int r = a % b;
		double f = 1.0D * a1 / b1;
		String s = " ";
		System.out.println(d + s + r + s + f);
	}
}

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

import java.util.Scanner;

class Main
{
	public static void main(String[] args)
	{
		Scanner sc = new Scanner(System.in);
		String str = sc.nextLine().split(" ");
		int a = Integer.parseInt(str[0]);
		int b = Integer.parseInt(str[1]);
		double a1 = (double)a;
		double b1 = (double)b;
		int d = a / b;
		int r = a % b;
		double f = a1 / b1;
		String s = " ";
		System.out.println(d+s+r+s+f);
	}
}

Compiler output:
Main.java:8: error: incompatible types: String[] cannot be converted to String
		String str = sc.nextLine().split(" ");
		                                ^
Main.java:9: error: array required, but String found
		int a = Integer.parseInt(str[0]);
		                            ^
Main.java:10: error: array required, but String found
		int b = Integer.parseInt(str[1]);
		                            ^
3 errors
Language: Java

import java.util.Scanner;

class Main
{
	public static void main(String[] args)
	{
		Scanner sc = new Scanner(System.in);
		String[] str = sc.nextLine().split(" ");
		int a = Integer.parseInt(str[0]);
		int b = Integer.parseInt(str[1]);
		int d = a / b;
		int r = a % b;
		double f = 1.0D * a / b;
		String s = " ";
		System.out.printf(%d, %d, %f, d, r, f);
	}
}

Compiler output:
Main.java:15: error: illegal start of expression
		System.out.printf(%d, %d, %f, d, r, f);
		                  ^
Main.java:15: error: illegal start of expression
		System.out.printf(%d, %d, %f, d, r, f);
		                      ^
Main.java:15: error: illegal start of expression
		System.out.printf(%d, %d, %f, d, r, f);
		                          ^
3 errors
Language: Java

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

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

import java.io.*;
public class Q10008 {
	public static void main(String[] args) throws IOException {
		int a,b,d,r;
		double f;
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String s = br.readLine();
		String[] st = s.split(" ");
		a = Integer.parseInt(st[0]);
		b = Integer.parseInt(st[1]);

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

		System.out.println(d+" "+r+" "+f);

	}

}

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

import java.io.*;
public class Q10008 {
	public static void main(String[] args) throws IOException {
		int a,b,d,r;
		double f;
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String s = br.readLine();
		String[] st = s.split(" ");
		a = Integer.parseInt(st[0]);
		b = Integer.parseInt(st[1]);

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

		System.out.println(d+" "+r+" %f"+f);

	}

}

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

import java.util.*;

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

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

import java.util.Scanner;
public class aoj10008 {
   public static void main(String[]  args){
	   Scanner buf = new Scanner(System.in);
	   long a,b;
	   a = buf.nextInt();
	   b = buf.nextInt();
	   System.out.print(a/b + " " + a%b + " ");
	   System.out.printf("%.5f\n",(double)a/b);
   }
}

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

import java.util;

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

Compiler output:
Main.java:1: error: cannot find symbol
import java.util;
           ^
  symbol:   class util
  location: package java
Main.java:4: error: cannot find symbol
	Scanner scan = null;
	^
  symbol:   class Scanner
  location: class Main
Main.java:6: error: non-static variable scan cannot be referenced from a static context
		scan = new Scanner(System.in);
		^
Main.java:6: error: cannot find symbol
		scan = new Scanner(System.in);
		           ^
  symbol:   class Scanner
  location: class Main
Main.java:7: error: non-static variable scan cannot be referenced from a static context
		int a = scan.nextInt();
		        ^
Main.java:8: error: non-static variable scan cannot be referenced from a static context
		int b = scan.nextInt();
		        ^
6 errors
Language: Java

import java.util.*;

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

Compiler output:
Main.java:6: error: not a statement
		float = new Scanner(System.in);
		^
Main.java:6: error: ';' expected
		float = new Scanner(System.in);
		     ^
2 errors
Language: Java

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

Compiler output:
Main.java:7: error: ')' or ',' expected
		System.out.println(a/b+" "+a%b+" "+(double)((double)a/(double)b);
		                                                                ^
1 error