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

#include<stdio.h>

void compare(int A[]){
    int a,b,c;
    a = A[0] + A[1];
    b = A[0] - A[1];
    c = A[0] * A[1];

    if(a >= b && a >= c) {printf("%d", a);}
    else if(a <= b && b >= c) {printf("%d", b);}
else if(b <= c && a <= c)  {printf("%d", c);}
    printf(\n);
}

int main(){
    int i;
    int A[3];
    for(i=0; i<2; i++) scanf("%d", &A[i]);


    compare(A);
    return 0;
}

Compiler output:
main.c: In function 'compare':
main.c:12:12: error: stray '\' in program
   12 |     printf(\n);
      |            ^
main.c:12:13: error: 'n' undeclared (first use in this function)
   12 |     printf(\n);
      |             ^
main.c:12:13: note: each undeclared identifier is reported only once for each function it appears in
Language: Java

public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int sum1 = a + b;
        int sum2 = a - b;
        int sum3 = a * b;
        
        if(sum1 >= sum2 && sum1 >= sum3){
            System.out.print(sum1);            
        }
        else if(sum2 >= sum1 && sum2 >= sum3){
            System.out.print(sum2);
        }
        else if(sum3 >= sum1 && sum3 >= sum2){
            System.out.print(sum3);
        }
        
    }
}

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.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
       Scanner scan = new Scanner(System.in);
       int A = scan.nextInt();
       int B = scan.nextInt();
       int add = A + B ;
       int sub = A - B ;
       int mul = A * B ;
       int max
       if (add <= sub){
            max = Math.max(sub, mul);
        } else {
            max = Math.max(add, mul);
        }
       System.out.println(max);
       
    }
    
}


Compiler output:
Main.java:11: error: ';' expected
       int max
              ^
1 error
Language: Java

import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
       Scanner scan = new Scanner(System.in);
       int A = scan.nextInt();
       int B = scna.nextInt();
       int add = A + B ;
       int sub = A - B ;
       int mul = A * B ;
       if (add <= sub){
           int max = Math.max(sub, mul);
        } else {
            int max = Math.max(add, mul);
        }
       System.out.println(max);
       
    }
    
}


Compiler output:
Main.java:7: error: cannot find symbol
       int B = scna.nextInt();
               ^
  symbol:   variable scna
  location: class Main
Main.java:16: error: cannot find symbol
       System.out.println(max);
                          ^
  symbol:   variable max
  location: class Main
2 errors
Language: Java

import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
       Scanner scan = new Scanner(System.in);
       int A = scan.nextInt();
       int B = scna.nextInt();
       int add = A + B ;
       int sub = A - B ;
       int mul = A * B ;
       int if (add <= sub){
           int max = Math.max(sub, mul)
        } else {
            int max = Math.max(add, mul)
        }
       System.out.println(max);
       
    }
    
}


Compiler output:
Main.java:11: error: not a statement
       int if (add <= sub){
       ^
Main.java:11: error: ';' expected
       int if (add <= sub){
          ^
Main.java:12: error: ';' expected
           int max = Math.max(sub, mul)
                                       ^
Main.java:14: error: ';' expected
            int max = Math.max(add, mul)
                                        ^
4 errors
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() {
    int A,B;
    cin >> A >> B;
    
    cout << max(A+B,A-B,A*B) << endl;
    return 0;
}

Compiler output:
In file included from /usr/include/c++/14/algorithm:60,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:51,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_algobase.h: In instantiation of 'constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare) [with _Tp = int; _Compare = int]':
a.cc:7:16:   required from here
    7 |     cout << max(A+B,A-B,A*B) << endl;
      |             ~~~^~~~~~~~~~~~~
/usr/include/c++/14/bits/stl_algobase.h:306:17: error: '__comp' cannot be used as a function
  306 |       if (__comp(__a, __b))
      |           ~~~~~~^~~~~~~~~~
Language: C

#include<stdio.h>
#include<conio.h>
void main()
{
  int a,b,sum=0,prod=1,diff=0;
  printf("enter the value of two variables a and b");
  scanf("%d%d",&a,&b);
  sum=a+b;
  diff=a-b;
  prod=a*b;
  if((sum>diff) && (sum>prod))
  {
    printf("%d big is:",sum);
  }
  elseif((diff>sum) && (diff>prod))
  {
    printf("%d big is:",diff);
  }
  else
  {
    printf("%d big is:",prod);
  }
}

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

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

int main() {
  int A,B;
  int sum = 0;
  int suma = 0;
  int sumb = 0;
  cin >> A >> B;
  
  sum += A + B;
  suma += A - B;
  sumb += A * B;
  
  if (sum > suma && sum > sumb){
    cout << sum << endl;
  }
  if (suma > sum && suma > sumb){
    cout << suma << endl;
  }
  if (sumb > sum && sumb > suma){
    cout << sumb << endl;
  }
  if (sum == suma){
    cout << sum << endl;
  }
  if (suma == sumb){
    cout << suma << endl;
  }
  if (sumb == sum){
    cout << sum << endl;
  }


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

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

int main() {
  int A,B;
  int sum = 0;
  int suma = 0;
  int sumb = 0;
  cin >> A >> B;
  
  sum += A + B;
  suma += A - B;
  sumb += A * B;
  
  if (sum > suma && sum > sumb){
    cout << sum << endl;
  }
  if (suma > sum && suma > sumb){
    cout << suma << endl;
  }
  if (sumb > sum && sumb > suma){
    cout << sumb << endl;
  }
  if (sum == suma){
    cout << sum << endl;
  }
  if (suma == sumb){
    cout << suma << endl;
  }
  if (sumb == sum){
    cout << sum << endl;
  }
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:9:3: error: 'cin' was not declared in this scope
    9 |   cin >> A >> B;
      |   ^~~
a.cc:16:5: error: 'cout' was not declared in this scope
   16 |     cout << sum << endl;
      |     ^~~~
a.cc:16:20: error: 'endl' was not declared in this scope
   16 |     cout << sum << endl;
      |                    ^~~~
a.cc:19:5: error: 'cout' was not declared in this scope
   19 |     cout << suma << endl;
      |     ^~~~
a.cc:19:21: error: 'endl' was not declared in this scope
   19 |     cout << suma << endl;
      |                     ^~~~
a.cc:22:5: error: 'cout' was not declared in this scope
   22 |     cout << sumb << endl;
      |     ^~~~
a.cc:22:21: error: 'endl' was not declared in this scope
   22 |     cout << sumb << endl;
      |                     ^~~~
a.cc:25:5: error: 'cout' was not declared in this scope
   25 |     cout << sum << endl;
      |     ^~~~
a.cc:25:20: error: 'endl' was not declared in this scope
   25 |     cout << sum << endl;
      |                    ^~~~
a.cc:28:5: error: 'cout' was not declared in this scope
   28 |     cout << suma << endl;
      |     ^~~~
a.cc:28:21: error: 'endl' was not declared in this scope
   28 |     cout << suma << endl;
      |                     ^~~~
a.cc:31:5: error: 'cout' was not declared in this scope
   31 |     cout << sum << endl;
      |     ^~~~
a.cc:31:20: error: 'endl' was not declared in this scope
   31 |     cout << sum << endl;
      |                    ^~~~
Language: C++

#include <iostream>
using namespace std;

int main(){
  int a,b;
  int wa,sa,se;
  cin >> a >> b;
  wa = a + b;
  sa = a - b;
  se = a * b;
  if(wa > sa){
    if(wa > se){
	  cout << wa << '\n';
    }else{
      cout << se << '\n';
  }else{
    if(sa > se){
      cout << sa << '\n';
     else{
      cout << se << '\n';
     }
  }
      return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:4: error: expected '}' before 'else'
   16 |   }else{
      |    ^~~~
a.cc:11:14: note: to match this '{'
   11 |   if(wa > sa){
      |              ^
a.cc:19:6: error: expected '}' before 'else'
   19 |      else{
      |      ^~~~
a.cc:17:16: note: to match this '{'
   17 |     if(sa > se){
      |                ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
	int a,b;
	cin>>a>>b;
	int k;
	k=max(a+b,a-b,a*b);
	cout<<k<<endl;
	return 0;
 } 

Compiler output:
In file included from /usr/include/c++/14/algorithm:60,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:51,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_algobase.h: In instantiation of 'constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare) [with _Tp = int; _Compare = int]':
a.cc:8:7:   required from here
    8 |         k=max(a+b,a-b,a*b);
      |           ~~~^~~~~~~~~~~~~
/usr/include/c++/14/bits/stl_algobase.h:306:17: error: '__comp' cannot be used as a function
  306 |       if (__comp(__a, __b))
      |           ~~~~~~^~~~~~~~~~
Language: C++

#include<iostream>
#include<algorithm>
#include<vector>

int main(){
  using namespace std;
  int a,b;
  cin >> a >> b;
  cout << mac({a+b,a-b,a*b}) << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:11: error: 'mac' was not declared in this scope
    9 |   cout << mac({a+b,a-b,a*b}) << endl;
      |           ^~~
Language: C++

#include"stdafx.h"
#include<iostream>
using namespace std;
int A,B;
int main()
{
	cin>>A>>B;
	cout<<max(max(A+B,A-B),A*B)<<endl;
	return 0;
}

Compiler output:
a.cc:1:9: fatal error: stdafx.h: No such file or directory
    1 | #include"stdafx.h"
      |         ^~~~~~~~~~
compilation terminated.
Language: C

#include<stdio.h>
int main(){
  int a,b;
  int ans=0;
  scanf("%d %d", &a,&b);
  if(a+b>ans){
    ans=a+b;
  }
  else{}
  if(a-b>ans){
    ans=a-b
  }
  else{}
  if(a*b>ans){
    ans=a*b;
  }
  else{}
  printf("%d",ans);
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:12: error: expected ';' before '}' token
   11 |     ans=a-b
      |            ^
      |            ;
   12 |   }
      |   ~
Language: C

#include<stdio.h>
int main(){
  int a,b;
  int ans=0;
  scanf("%d %d", &a,&b);
  if(a+b>ans){
    ans=a+b;
  }
  else{}
  if(a-b>ans){
    ans=a-b
  }
  else{}
  if(a*b>ans){
    ans=a*b;
  }
  else{}
  printf("%d",ans);
}

Compiler output:
main.c: In function 'main':
main.c:11:12: error: expected ';' before '}' token
   11 |     ans=a-b
      |            ^
      |            ;
   12 |   }
      |   ~
Language: C

#include<stdio.h>
void main()
  { int a,b,p,q,r;
   a>=-100;b<=-100;
   scanf("%d%d",&a,&b);
   p=a+b;
   q=a-b;
   r=a*b;
   if(p>q)
     { if(p>r)
       {
       printf("%d",p);
       }
      else{
        printf("%d",r);
        }
      else{
        printf("%d",q);
        }
      }

Compiler output:
main.c: In function 'main':
main.c:17:7: error: expected '}' before 'else'
   17 |       else{
      |       ^~~~
Language: C++

#include <bits/stdc++.h>

#if MYDEBUG
#include "lib/cp_debug.hpp"
#else
#define DBG(...) ;
#endif
#if __cplusplus <= 201402L
template <typename T>
T gcd(T a, T b) { return ((a % b == 0) ? b : gcd(b, a % b)); }
template <typename T>
T lcm(T a, T b) { return a / gcd(a, b) * b; }
#endif
using LL = long long;
constexpr LL LINF = 334ll << 53;
constexpr int INF = 15 << 26;
constexpr LL MOD = 1E9 + 7;

namespace Problem {
using namespace std;

class Solver {
 public:
  void solve() {
    int a, b;
    cin >> a >> b;
    cout << max({a + b, a - b, a * b}) << endl;
  }
};#include <bits/stdc++.h>

#if MYDEBUG
#include "lib/cp_debug.hpp"
#else
#define DBG(...) ;
#endif
#if __cplusplus <= 201402L
template <typename T>
T gcd(T a, T b) { return ((a % b == 0) ? b : gcd(b, a % b)); }
template <typename T>
T lcm(T a, T b) { return a / gcd(a, b) * b; }
#endif
using LL = long long;
constexpr LL LINF = 334ll << 53;
constexpr int INF = 15 << 26;
constexpr LL MOD = 1E9 + 7;

namespace Problem {
using namespace std;

class Solver {
 public:
  void solve() {
    int a, b;
    cin >> a >> b;
    cout << max({a + b, a - b, a * b}) << endl;
  }
};

}  // namespace Problem

int main() {
  std::cin.tie(0);
  std::ios_base::sync_with_stdio(false);
  // std::cout << std::fixed << std::setprecision(12);

  Problem::Solver sol;
  sol.solve();
  return 0;
}


}  // namespace Problem

int main() {
  std::cin.tie(0);
  std::ios_base::sync_with_stdio(false);
  // std::cout << std::fixed << std::setprecision(12);

  Problem::Solver sol;
  sol.solve();
  return 0;
}


Compiler output:
a.cc:29:3: error: stray '#' in program
   29 | };#include <bits/stdc++.h>
      |   ^
a.cc:29:4: error: 'include' does not name a type
   29 | };#include <bits/stdc++.h>
      |    ^~~~~~~
Language: C++

#include<iostream>
#include<algorithm>
void main(){
int a,b;
  cin>>a>>b;
  int m=max(max(a+b,a-b),a*b);
  cout<<m;
}

Compiler output:
a.cc:3:1: error: '::main' must return 'int'
    3 | void main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin>>a>>b;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:6:13: error: 'max' was not declared in this scope; did you mean 'std::max'?
    6 |   int m=max(max(a+b,a-b),a*b);
      |             ^~~
      |             std::max
In file included from /usr/include/c++/14/algorithm:61,
                 from a.cc:2:
/usr/include/c++/14/bits/stl_algo.h:5716:5: note: 'std::max' declared here
 5716 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
a.cc:6:9: error: 'max' was not declared in this scope; did you mean 'std::max'?
    6 |   int m=max(max(a+b,a-b),a*b);
      |         ^~~
      |         std::max
/usr/include/c++/14/bits/stl_algo.h:5716:5: note: 'std::max' declared here
 5716 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
a.cc:7:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |   cout<<m;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include <iostream>
#include <vector>
using namespace std;
int main() {
  int A, B;
  cin >> A >> B;
  vector<int> v{ A + B, A - B, A * B };
  sort(v.begin(), v.end());
  cout << v[2] << endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: 'sort' was not declared in this scope; did you mean 'short'?
    8 |   sort(v.begin(), v.end());
      |   ^~~~
      |   short
Language: C

#include <stdio.h>

int main()
{
    int A,B;
    int tmp1,tmp2,tmp3;
    int max;

   
    scanf("%d", &A); 
    scanf("%d", &B);
   
    tmp1 = A+B;
    tmp2 = A-B;
    tmp3 = A*B;
    
    if(tmp1>tmp2) max = tmp1;
    else max = tmp2;
    
    if(tmp3 > max) max = tmp3;

    
  　printf("%d",max;
  
  return 0;
   
}

Compiler output:
main.c: In function 'main':
main.c:23:3: error: stray '\343' in program
   23 |   <U+3000>printf("%d",max;
      |   ^~~~~~~~
main.c:23:20: error: expected ')' before ';' token
   23 |   　printf("%d",max;
      |           ~        ^
      |                    )
main.c:25:12: error: expected ';' before '}' token
   25 |   return 0;
      |            ^
      |            ;
   26 | 
   27 | }
      | ~
Language: C

#include <stdio.h>

int main()
{
	  
   int A,B;
   int tmp1,tmp2,tmp3;

   
    scanf("%d", &A); 
    scanf("%d", &B);
   
    tmp1 = A+B;
    tmp2 = A-B;
    tmp3 = A*B;
    
    if(tmp1>tmp2) max = tmp1;
    else max = tmp2;
    
    if(tmp3 > max) max = tmp3;

    
  　printf("%d",max;
  
  return 0;
   
}

Compiler output:
main.c: In function 'main':
main.c:17:19: error: 'max' undeclared (first use in this function)
   17 |     if(tmp1>tmp2) max = tmp1;
      |                   ^~~
main.c:17:19: note: each undeclared identifier is reported only once for each function it appears in
main.c:23:3: error: stray '\343' in program
   23 |   <U+3000>printf("%d",max;
      |   ^~~~~~~~
main.c:23:20: error: expected ')' before ';' token
   23 |   　printf("%d",max;
      |           ~        ^
      |                    )
main.c:25:12: error: expected ';' before '}' token
   25 |   return 0;
      |            ^
      |            ;
   26 | 
   27 | }
      | ~
Language: C++

#include<iostream.h>
void main(){
int a,b;
  cin>>a>>b;
  int m=a+b>a-b?a+b>a*b?a+b:a*b:a-b>a*b?a-b:a*b;
  cout<<m;
}

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

import java.util.*;

class main{

    public static void main(String[] args){

	Scanner sc = new Scanner(System.in);

	int A = sc.nextInt();

	int B = sc.nextInt();

	int C = A-B;

	int D = A*B;

	int E = A+B;

	if(C>=D && C>=E){

	System.out.printlin(C);	

  }

	else if(D>=C && D>=E){

	System.out.printlin(D);	

  }	

	else if(E>=D && E>=C){

	System.out.printlin(E);	

  }

 }
}

Compiler output:
Main.java:21: error: cannot find symbol
	System.out.printlin(C);	
	          ^
  symbol:   method printlin(int)
  location: variable out of type PrintStream
Main.java:27: error: cannot find symbol
	System.out.printlin(D);	
	          ^
  symbol:   method printlin(int)
  location: variable out of type PrintStream
Main.java:33: error: cannot find symbol
	System.out.printlin(E);	
	          ^
  symbol:   method printlin(int)
  location: variable out of type PrintStream
3 errors
Language: C++

#include<stdio.h>
int mian()
{
	int a,b,s;
	scanf("%d %d",&a,&b);
	s=a+b;
	a-=b;
	b*=a;
	if(s>a&&s>b){
		printf("%d\n",s);
	}
	else if(a>s&&a>b){
		printf("%d\n",a);
	}
	else{
		printf("%d\n",b);
	}
	return 0;
}


Compiler output:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C

#include <stdio.h>
#inclde <math.h>
 
int main()
{
	  
   int A,B;
   int tmp1,tmp2,tmp3;
   int max_num;
   
    scanf("%d", &A); 
    scanf("%d", &B);
   
    tmp1 = A+B;
    tmp2 = A-B;
    tmp3 = A*B;
    
    max_num = max(tmp1,tmp2);
    max_num = max(max_num,tmp3);
    
  　printf("%d",max;
  
  return 0;
   
}

Compiler output:
main.c:2:2: error: invalid preprocessing directive #inclde; did you mean #include?
    2 | #inclde <math.h>
      |  ^~~~~~
      |  include
main.c: In function 'main':
main.c:18:15: error: implicit declaration of function 'max' [-Wimplicit-function-declaration]
   18 |     max_num = max(tmp1,tmp2);
      |               ^~~
main.c:21:3: error: stray '\343' in program
   21 |   <U+3000>printf("%d",max;
      |   ^~~~~~~~
main.c:21:20: error: expected ')' before ';' token
   21 |   　printf("%d",max;
      |           ~        ^
      |                    )
main.c:23:12: error: expected ';' before '}' token
   23 |   return 0;
      |            ^
      |            ;
   24 | 
   25 | }
      | ~
Language: C++

#include<stdio.h>
int mian()
{
	int a,b,s;
	scanf("%d %d",&a,&b);
	s=a+b;
	a-=b;
	b*-a;
	if(s>a&&s>b){
		printf("%d\n",s);
	}
	else if(a>s&&a>b){
		printf("%d\n",a);
	}
	else{
		printf("%d\n",b);
	}
	return 0;
}


Compiler output:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C

#include <stdio.h>
#inclde <math.h>
 
int main()
{
	  
   int A,B;
   int tmp1,tmp2,tmp3;
   int max;
   
    scanf("%d", &A); 
    scanf("%d", &B);
   
    tmp1 = A+B;
    tmp2 = A-B;
    tmp3 = A*B;
    
    max = max(tmp1,tmp2);
    max = max(max,tmp3);
    
  　printf("%d",max;
  
  return 0;
   
}

Compiler output:
main.c:2:2: error: invalid preprocessing directive #inclde; did you mean #include?
    2 | #inclde <math.h>
      |  ^~~~~~
      |  include
main.c: In function 'main':
main.c:18:11: error: called object 'max' is not a function or function pointer
   18 |     max = max(tmp1,tmp2);
      |           ^~~
main.c:9:8: note: declared here
    9 |    int max;
      |        ^~~
main.c:19:11: error: called object 'max' is not a function or function pointer
   19 |     max = max(max,tmp3);
      |           ^~~
main.c:9:8: note: declared here
    9 |    int max;
      |        ^~~
main.c:21:3: error: stray '\343' in program
   21 |   <U+3000>printf("%d",max;
      |   ^~~~~~~~
main.c:21:20: error: expected ')' before ';' token
   21 |   　printf("%d",max;
      |           ~        ^
      |                    )
main.c:23:12: error: expected ';' before '}' token
   23 |   return 0;
      |            ^
      |            ;
   24 | 
   25 | }
      | ~
Language: C

#include <stdio.h>
#inclde <math.h>
 
int main()
{
	  
   int A,B;
   int tmp1,tmp2,tmp3;
   
    scanf("%d", &A); 
    scanf("%d", &B);
   
    tmp1 = A+B;
    tmp2 = A-B;
    tmp3 = A*B;
    
  　printf("%d",max(max(tmp1,tmp2),tmp3));
  
  return 0;
   
}

Compiler output:
main.c:2:2: error: invalid preprocessing directive #inclde; did you mean #include?
    2 | #inclde <math.h>
      |  ^~~~~~
      |  include
main.c: In function 'main':
main.c:17:3: error: stray '\343' in program
   17 |   <U+3000>printf("%d",max(max(tmp1,tmp2),tmp3));
      |   ^~~~~~~~
main.c:17:17: error: implicit declaration of function 'max' [-Wimplicit-function-declaration]
   17 |   　printf("%d",max(max(tmp1,tmp2),tmp3));
      |                 ^~~
Language: C++

#include<bits/stdc++.h>
int main(){
    int a,b,c,d,e;
    string s;
    cin>>a>>b;
    cout<<max(a+b,max(a-b,a*b))<<endl;
    
}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:5: error: 'string' was not declared in this scope
    4 |     string s;
      |     ^~~~~~
a.cc:4:5: note: suggested alternatives:
In file included from /usr/include/c++/14/string:41,
                 from /usr/include/c++/14/bitset:52,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:52,
                 from a.cc:1:
/usr/include/c++/14/bits/stringfwd.h:77:33: note:   'std::string'
   77 |   typedef basic_string<char>    string;
      |                                 ^~~~~~
/usr/include/c++/14/string:76:11: note:   'std::pmr::string'
   76 |     using string    = basic_string<char>;
      |           ^~~~~~
a.cc:5:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |     cin>>a>>b;
      |     ^~~
      |     std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:6:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |     cout<<max(a+b,max(a-b,a*b))<<endl;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:6:19: error: 'max' was not declared in this scope; did you mean 'std::max'?
    6 |     cout<<max(a+b,max(a-b,a*b))<<endl;
      |                   ^~~
      |                   std::max
In file included from /usr/include/c++/14/algorithm:61,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:51:
/usr/include/c++/14/bits/stl_algo.h:5716:5: note: 'std::max' declared here
 5716 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
a.cc:6:11: error: 'max' was not declared in this scope; did you mean 'std::max'?
    6 |     cout<<max(a+b,max(a-b,a*b))<<endl;
      |           ^~~
      |           std::max
/usr/include/c++/14/bits/stl_algo.h:5716:5: note: 'std::max' declared here
 5716 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
a.cc:6:34: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |     cout<<max(a+b,max(a-b,a*b))<<endl;
      |                                  ^~~~
      |                                  std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C

#include <stdio.h>

int main(void)
{
	int a;
	int b;
	
	int i;
	
	int plus, minus, mul, result;
	
	scanf("%d", &a);
	scanf("%d", &b);
	
	plus = a + b;
	minus = a - b;
	mul = a * b;
	
	if (plus > minus) {
		if (plus > mul) {
			printf("%d", plus);
		}
		else {
			printf("%d", mul);
		}
	else {
		if (minus > mul) {
			printf("%d", minus);
		}
		else {
			printf("%d", mul);
		}
	}
	return (0);
}

Compiler output:
main.c: In function 'main':
main.c:26:9: error: expected '}' before 'else'
   26 |         else {
      |         ^~~~
Language: C++

#include<bits/stdc++.h>
#define reg(i,a,b) for(int i=a;i<=b;i++)
#define reh(i,a,b) for(int i=b;i>=a;i--)
#define in(x) scanf("%d",&x)
#define fro freopen("D:\\testdata.in", "r", stdin)
#define il inline
#define lson(q) q<<1
#define rson(q) q<<1|1
using namespace std;
typedef long long ll;
const int mx=1e5+10;
int main() {
	int a,b,t;
	cin>>a>>b;
	t=max(a+b,a-b)
	cout<<max(t,a*b)<<endl;
	return 0;
}




Compiler output:
a.cc: In function 'int main()':
a.cc:15:23: error: expected ';' before 'cout'
   15 |         t=max(a+b,a-b)
      |                       ^
      |                       ;
   16 |         cout<<max(t,a*b)<<endl;
      |         ~~~~
Language: C

#include<stdio.h>

int max(int x, int y){
    int a,b,c,;
    a = x+y;
    b = x-y;
    c = x*y;
    int d;
    if(a>b){
        d = a;
    }else{
        d = b;
    }
     if(d>c){
        return ;
    }else{
        d = c;
    }
    return d;
}

int main(void){
    int x,y,z;
    z = max(x,y);
    printf("%d",z);
    return 0;
}

Compiler output:
main.c: In function 'max':
main.c:4:15: error: expected identifier or '(' before ';' token
    4 |     int a,b,c,;
      |               ^
main.c:15:9: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch]
   15 |         return ;
      |         ^~~~~~
main.c:3:5: note: declared here
    3 | int max(int x, int y){
      |     ^~~
Language: Java

import java.util.* ;

public class Main{
  public static void main(String args[]){
       	Scanner sc = new Scanner(System.in);

    int A = sc.nextInt() ;
    int B = sc.nextInt() ;
    
    int plus = A+B;
    
    int minus = A-B;
    
    int kakeru = A*B;
    
    if(B>-B){
      if(plus<kakeru){
        System.out.println(kakeru);
      }else{
        System.out.println(plus);
      }
    }else{
      if(minus<kakeru){
             

Compiler output:
Main.java:23: error: reached end of file while parsing
      if(minus<kakeru){
                       ^
1 error
Language: C++

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

int main() {
int A,B,ans;
cin >> A >> B;
ans = max(A+B,A-B,A*B);
cout << ans << endl;

return 0;
}


Compiler output:
In file included from /usr/include/c++/14/algorithm:60,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:51,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_algobase.h: In instantiation of 'constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare) [with _Tp = int; _Compare = int]':
a.cc:7:10:   required from here
    7 | ans = max(A+B,A-B,A*B);
      |       ~~~^~~~~~~~~~~~~
/usr/include/c++/14/bits/stl_algobase.h:306:17: error: '__comp' cannot be used as a function
  306 |       if (__comp(__a, __b))
      |           ~~~~~~^~~~~~~~~~
Language: C++

#include <iostream>
#include<algorithm>
int main(){
  int a,x,y;
  std::cin >> x >> y;
  a=max(x+y,x-y);
  std::cout << max(a,x*y);
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: 'max' was not declared in this scope; did you mean 'std::max'?
    6 |   a=max(x+y,x-y);
      |     ^~~
      |     std::max
In file included from /usr/include/c++/14/algorithm:61,
                 from a.cc:2:
/usr/include/c++/14/bits/stl_algo.h:5716:5: note: 'std::max' declared here
 5716 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
Language: Java

import java.util.Scanner;

public class one {
    int maxCount(int a,int b){
        return Math.min(a+b,Math.min(a-b,a*b));
    }
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int a=sc.nextInt();
        int b=sc.nextInt();
        one o=new one();
        System.out.println(o.maxCount(a,b));
    }
}

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

#include<bits/stdc++.h>
using namespace std;
int main()
{
    int A,B;
    cin>>A>>B;
    int sum=A+B;
    int sub=A-B;
    int mul=A*B;
  
    if (sum>sub&&sum>mul)
    {
        cout<<high;
    }
    if(sub>sum&&sub>mul)
    {
        cout<<sub;
    }
    else
    {
        cout<<mul;
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:15: error: 'high' was not declared in this scope
   13 |         cout<<high;
      |               ^~~~
Language: C++

#include <iostream>
#include<algorithm>
int main(){
  int x,y;
  std::cin >> x >> y;
  std::cout << max{x+y,x-y,x*y};
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:16: error: 'max' was not declared in this scope; did you mean 'std::max'?
    6 |   std::cout << max{x+y,x-y,x*y};
      |                ^~~
      |                std::max
In file included from /usr/include/c++/14/algorithm:61,
                 from a.cc:2:
/usr/include/c++/14/bits/stl_algo.h:5716:5: note: 'std::max' declared here
 5716 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:14:2: error: expected '}' before 'else'
   14 | }else if(a>c){
      |  ^~~~
main.c: At top level:
main.c:19:8: error: expected declaration specifiers or '...' before string constant
   19 | printf("%d",d);
      |        ^~~~
main.c:19:13: error: unknown type name 'd'
   19 | printf("%d",d);
      |             ^
main.c:20:1: error: expected identifier or '(' before 'return'
   20 | return 0;
      | ^~~~~~
main.c:21:1: error: expected identifier or '(' before '}' token
   21 | }
      | ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {

//Define.
  //string S;
  //int N,M;
  int A,B;
  //int i;
  //string rS;
  int R;
  
//入力
  //cin >> S;
  //cin >> N >> M;
  cin >> A >> B;
  //cin >> i;

//出力  
  cout << rS << endl;
  cout << max({A + B, A-B, A*B}) << endl;
 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:21:11: error: 'rS' was not declared in this scope
   21 |   cout << rS << endl;
      |           ^~
Language: C++

#include <iostream>

using namespace std;


int main(){
  int A, B, C, a, b, c;
  cin >> A >> B;
  if(a < b){
    if(b < c){
      C = c
    }else {
      C = b
    }
  }else{
    if(a < c){
      C = c
    }else{
      C = a
    }
  }
  cout << C << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:12: error: expected ';' before '}' token
   11 |       C = c
      |            ^
      |            ;
   12 |     }else {
      |     ~       
a.cc:13:12: error: expected ';' before '}' token
   13 |       C = b
      |            ^
      |            ;
   14 |     }
      |     ~       
a.cc:17:12: error: expected ';' before '}' token
   17 |       C = c
      |            ^
      |            ;
   18 |     }else{
      |     ~       
a.cc:19:12: error: expected ';' before '}' token
   19 |       C = a
      |            ^
      |            ;
   20 |     }
      |     ~
Language: C++

#include <bits/stdc++.h>
#define REP(i, n) for(int i = 0; i < n; ++i)
#define REPP(i, n) for(int i = 1; i <= n; ++i)
#define REPR(i, n) for(int i = n-1; i >= 0; --i)
#define FOR(i, m, n) for(int i = m; i < n; ++i)
#define ALL(v) v.begin(), v.end()
#define UNIQUE(v) v.erase(unique(v.begin(), v.end()), v.end());
using namespace std;
typedef long long ll;
typedef pair<ll, ll> P;
const ll MOD = 1000000007;
const ll INF = 1000000000;

int main() {
    int a=,b=; cin >> a >> b;
    int ans = max({a+b,a-b,a+b});
    cout << ans << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:11: error: expected primary-expression before ',' token
   15 |     int a=,b=; cin >> a >> b;
      |           ^
a.cc:15:28: error: 'b' was not declared in this scope
   15 |     int a=,b=; cin >> a >> b;
      |                            ^
a.cc:16:18: error: no matching function for call to 'max(<brace-enclosed initializer list>)'
   16 |     int ans = max({a+b,a-b,a+b});
      |               ~~~^~~~~~~~~~~~~~~
In file included from /usr/include/c++/14/algorithm:60,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:51,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_algobase.h:257:5: note: candidate: 'template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)'
  257 |     max(const _Tp& __a, const _Tp& __b)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:257:5: note:   candidate expects 2 arguments, 1 provided
/usr/include/c++/14/bits/stl_algobase.h:303:5: note: candidate: 'template<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)'
  303 |     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:303:5: note:   candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/14/algorithm:61:
/usr/include/c++/14/bits/stl_algo.h:5706:5: note: candidate: 'template<class _Tp> constexpr _Tp std::max(initializer_list<_Tp>)'
 5706 |     max(initializer_list<_Tp> __l)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5706:5: note:   template argument deduction/substitution failed:
/usr/include/c++/14/bits/stl_algo.h:5716:5: note: candidate: 'template<class _Tp, class _Compare> constexpr _Tp std::max(initializer_list<_Tp>, _Compare)'
 5716 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5716:5: note:   candidate expects 2 arguments, 1 provided
Language: C++

#include <iostream>
#include <vector>

using namespace std;

int main() {
    int a,b ;

    cin >> a >> b;
    vector<int> vec;
    vec.push_back(a+b);
    vec.push_back(a-b);
    vec.push_back(a*b);

    int max = *max_element(vec.begin(), vec.end());

    cout << max << endl;

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:16: error: 'max_element' was not declared in this scope
   15 |     int max = *max_element(vec.begin(), vec.end());
      |                ^~~~~~~~~~~
Language: C++

include <iostream>
using namespase std;


int main(){
  int A, B, C, a, b, c;
  cin >> A >> B;
  if(a < b){
    if(b < c){
      C = c
    }else {
      C = b
    }
  }else{
    if(a < c){
      C = c
    }else{
      C = a
    }
  }
  cout << C << endl;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   cin >> A >> B;
      |   ^~~
a.cc:10:12: error: expected ';' before '}' token
   10 |       C = c
      |            ^
      |            ;
   11 |     }else {
      |     ~       
a.cc:12:12: error: expected ';' before '}' token
   12 |       C = b
      |            ^
      |            ;
   13 |     }
      |     ~       
a.cc:16:12: error: expected ';' before '}' token
   16 |       C = c
      |            ^
      |            ;
   17 |     }else{
      |     ~       
a.cc:18:12: error: expected ';' before '}' token
   18 |       C = a
      |            ^
      |            ;
   19 |     }
      |     ~       
a.cc:21:3: error: 'cout' was not declared in this scope
   21 |   cout << C << endl;
      |   ^~~~
a.cc:21:16: error: 'endl' was not declared in this scope
   21 |   cout << C << endl;
      |                ^~~~
Language: Java

import java.util.*;
public class Main{
  public static void main(String[] mains){
    int a = sc.nextInt();
    int b = sc.nextInt();
    System.out.println(Math.max(a+b,Math.max(a-b,a*b)));
  }
}

Compiler output:
Main.java:4: error: cannot find symbol
    int a = sc.nextInt();
            ^
  symbol:   variable sc
  location: class Main
Main.java:5: error: cannot find symbol
    int b = sc.nextInt();
            ^
  symbol:   variable sc
  location: class Main
2 errors
Language: Java

import java.util.*;
import java.io.*;

/*
        @@@@@@           @@@@@@
      @@@@@@@@@@       @@@@@@@@@@ 
    @@@@@@@@@@@@@@   @@@@@@@@@@@@@@
  @@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
   @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
      @@@@@@@@@@@@@@@@@@@@@@@@@@@
        @@@@@@@@@@@@@@@@@@@@@@@
          @@@@@@@@@@@@@@@@@@@
            @@@@@@@@@@@@@@@
              @@@@@@@@@@@
                @@@@@@@
                  @@@
                   @ 
*/
public class main {
	public static void main(String[] args) throws Exception{
		int a = i(); int b = i();
		int[] arr = new int[3];
		arr[0] = a+b;
		arr[1] = a-b;
		arr[2] = a*b;
		Arrays.sort(arr);
		System.out.println(arr[2]);
	}
	
	static BufferedReader in;
	static StringTokenizer st = new StringTokenizer("");
	static PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
	static {
		in = new BufferedReader(new InputStreamReader(System.in));
	}
	static void check() throws Exception {
		while (!st.hasMoreTokens()) st = new StringTokenizer(in.readLine());
	}
	static String s() throws Exception { check(); return st.nextToken(); }
	static int i() throws Exception { return Integer.parseInt(s()); }
	static long l() throws Exception { return Long.parseLong(s()); }
	static double d() throws Exception { return Double.parseDouble(s()); }
}


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

import java.util.*;
import java.io.*;

/*
        @@@@@@           @@@@@@
      @@@@@@@@@@       @@@@@@@@@@ 
    @@@@@@@@@@@@@@   @@@@@@@@@@@@@@
  @@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
   @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
      @@@@@@@@@@@@@@@@@@@@@@@@@@@
        @@@@@@@@@@@@@@@@@@@@@@@
          @@@@@@@@@@@@@@@@@@@
            @@@@@@@@@@@@@@@
              @@@@@@@@@@@
                @@@@@@@
                  @@@
                   @ 
*/
public class a {
	public static void main(String[] args) throws Exception{
		int a = i(); int b = i();
		int[] arr = new int[3];
		arr[0] = a+b;
		arr[1] = a-b;
		arr[2] = a*b;
		Arrays.sort(arr);
		System.out.println(arr[2]);
	}
	
	static BufferedReader in;
	static StringTokenizer st = new StringTokenizer("");
	static PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
	static {
		in = new BufferedReader(new InputStreamReader(System.in));
	}
	static void check() throws Exception {
		while (!st.hasMoreTokens()) st = new StringTokenizer(in.readLine());
	}
	static String s() throws Exception { check(); return st.nextToken(); }
	static int i() throws Exception { return Integer.parseInt(s()); }
	static long l() throws Exception { return Long.parseLong(s()); }
	static double d() throws Exception { return Double.parseDouble(s()); }
}


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

import java.util.*;
import java.io.*;
import java.nio.file.Files;
import java.nio.file.Paths;

/*
        @@@@@@           @@@@@@
      @@@@@@@@@@       @@@@@@@@@@ 
    @@@@@@@@@@@@@@   @@@@@@@@@@@@@@
  @@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
   @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
      @@@@@@@@@@@@@@@@@@@@@@@@@@@
        @@@@@@@@@@@@@@@@@@@@@@@
          @@@@@@@@@@@@@@@@@@@
            @@@@@@@@@@@@@@@
              @@@@@@@@@@@
                @@@@@@@
                  @@@
                   @ 
*/
public class a {
	public static void main(String[] args) throws Exception{
		int a = i(); int b = i();
		int[] arr = new int[3];
		arr[0] = a+b;
		arr[1] = a-b;
		arr[2] = a*b;
		Arrays.sort(arr);
		System.out.println(arr[2]);
	}
	
	static BufferedReader in;
	static StringTokenizer st = new StringTokenizer("");
	//static PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
	static PrintWriter out;
	static {
		/*try {
			in = Files.newBufferedReader(Paths.get("maxflow.in"));
			out = new PrintWriter(new BufferedWriter(new FileWriter("maxflow.out")));
		} catch (Exception e) {*/
			in = new BufferedReader(new InputStreamReader(System.in));
			out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
		//}
	}
	/*static {
		in = new BufferedReader(new InputStreamReader(System.in));
	}*/
	static void check() throws Exception {
		while (!st.hasMoreTokens()) st = new StringTokenizer(in.readLine());
	}
	static String s() throws Exception { check(); return st.nextToken(); }
	static int i() throws Exception { return Integer.parseInt(s()); }
	static long l() throws Exception { return Long.parseLong(s()); }
	static double d() throws Exception { return Double.parseDouble(s()); }
}


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

public class oo {
  public void main (int A, int B){
  	int C = A + B;
    int D = A - B;
    int E = A * B;
 	 if( C>=D && C>=E ){
 	    System.out.println(C);
	 }
	 if( D>=C && D>=E ){
	     System.out.println(D);
	 }  
 	 if( E>=D && E>=C ){
 	    System.out.println(E);
 	 }
  }
}


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

public class +- {
  public void main (int A, int B){
  	C = A + B;
    D = A - B;
    E = A * B;
 	 if( C>=D && C>=E ){
 	    System.out.println(C);
	 }
	 if( D>=C && D>=E ){
	     System.out.println(D);
	 }  
 	 if( E>=D && E>=C ){
 	    System.out.println(E);
 	 }
  }
}

Compiler output:
Main.java:1: error: <identifier> expected
public class +- {
            ^
1 error
Language: Java

import java.util.*;
import java.io.*;
import java.nio.file.Files;
import java.nio.file.Paths;

/*
        @@@@@@           @@@@@@
      @@@@@@@@@@       @@@@@@@@@@ 
    @@@@@@@@@@@@@@   @@@@@@@@@@@@@@
  @@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
   @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
      @@@@@@@@@@@@@@@@@@@@@@@@@@@
        @@@@@@@@@@@@@@@@@@@@@@@
          @@@@@@@@@@@@@@@@@@@
            @@@@@@@@@@@@@@@
              @@@@@@@@@@@
                @@@@@@@
                  @@@
                   @ 
*/
public class a {
	public static void main(String[] args) throws Exception{
		int a = i(); int b = i();
		int[] arr = new int[3];
		arr[0] = a+b;
		arr[1] = a-b;
		arr[2] = a*b;
		Arrays.sort(arr);
		System.out.println(arr[2]);
	}
	
	static BufferedReader in;
	static StringTokenizer st = new StringTokenizer("");
	//static PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
	static PrintWriter out;
	static {
		try {
			in = Files.newBufferedReader(Paths.get("maxflow.in"));
			out = new PrintWriter(new BufferedWriter(new FileWriter("maxflow.out")));
		} catch (Exception e) {
			in = new BufferedReader(new InputStreamReader(System.in));
			out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
		}
	}
	/*static {
		in = new BufferedReader(new InputStreamReader(System.in));
	}*/
	static void check() throws Exception {
		while (!st.hasMoreTokens()) st = new StringTokenizer(in.readLine());
	}
	static String s() throws Exception { check(); return st.nextToken(); }
	static int i() throws Exception { return Integer.parseInt(s()); }
	static long l() throws Exception { return Long.parseLong(s()); }
	static double d() throws Exception { return Double.parseDouble(s()); }
}


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

#include<stdio.h>

int main(void){
    long k,x,i;
    scanf("%ld %ld", &k, &x);
    for ( i = x-k+1; i < x+k; i++)
    {
        if (−1000000 <= i && i <= 1000000)
            printf("%ld ", i);
        else
            continue;
        // if (i<x-k-1)
        // {
        //     printf(" ");
        // }
        
    }
    return 0;

}

Compiler output:
a.cc:8:13: error: extended character − is not valid in an identifier
    8 |         if (−1000000 <= i && i <= 1000000)
      |             ^
a.cc: In function 'int main()':
a.cc:8:13: error: '\U000022121000000' was not declared in this scope
    8 |         if (−1000000 <= i && i <= 1000000)
      |             ^~~~~~~~
Language: C++

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

int main() {
  int A,B;
   x = A+ B;
   y = A- B;
   z = A* B;
     
 if(x>=y && x>=z)
   cout << x << endl;
  if(y>=x && x>=z)
   cout << y << endl;
  if(z>=x && z>=y)
   cout << z << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:4: error: 'x' was not declared in this scope
    6 |    x = A+ B;
      |    ^
a.cc:7:4: error: 'y' was not declared in this scope
    7 |    y = A- B;
      |    ^
a.cc:8:4: error: 'z' was not declared in this scope
    8 |    z = A* B;
      |    ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
	int a,b;
	cin >> a >> b;
	int arr[3];
	arr[0] = a + b;
	arr[1] = a - b;
	arr[2] = a * b;
	int max = arr[0]; 
	for(i=1; i<3; i++){
  		if(arr[i] > max)
          max = arr[i];}
  cout << max;}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:13: error: 'i' was not declared in this scope
   11 |         for(i=1; i<3; i++){
      |             ^